forked from NOAA-EPIC/ufs-htf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Jenkinsfile
35 lines (29 loc) · 1.3 KB
/
Jenkinsfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
pipeline {
agent any
stages {
stage('build hpc-stack htf image') {
steps {
echo "build hpc-stack htf image"
sh 'docker build -t "clouden90/ubuntu20.04-gnu9.3-hpc-stack-htf-jenkins:test" -f "${WORKSPACE}/docker/recipe/Dockerfile.ubuntu20.04-gnu9.3-hpc-stack-htf-jenkins" "${WORKSPACE}"'
}
}
stage('build spack-stack htf image') {
steps {
echo "build spack-stack htf image"
sh 'docker build -t "clouden90/ubuntu20.04-gnu9.3-spack-stack-htf-jenkins:test" -f "${WORKSPACE}/docker/recipe/Dockerfile.ubuntu20.04-gnu9.3-spack-stack-htf-jenkins" "${WORKSPACE}"'
}
}
stage('test hpc-stack ufs-wm build') {
steps {
echo "test hpc-stack ufs-wm build"
sh 'docker run --user root --rm clouden90/ubuntu20.04-gnu9.3-hpc-stack-htf-jenkins:test /bin/bash -c "bash ./docker/recipe/run_toy.sh"'
}
}
stage('test spack-stack ufs-wm build') {
steps {
echo "test spack-stack ufs-wm build"
//sh 'docker run --user root --rm clouden90/ubuntu20.04-gnu9.3-spack-stack-htf-jenkins:test /bin/bash -c "bash ./docker/recipe/run_toy.sh"'
}
}
}
}