forked from equinor/libres
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Jenkinsfile
41 lines (39 loc) · 951 Bytes
/
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
36
37
38
39
pipeline {
agent { label 'si-build' }
environment {
WORKING_DIR = sh(script: 'mktemp -d', , returnStdout: true).trim()
}
stages {
stage('setup') {
steps {
echo "Started with WORKING_DIR: ${WORKING_DIR}"
sh 'sh testjenkins.sh setup'
}
}
stage('build ecl') {
steps {
sh 'sh testjenkins.sh build_ecl'
}
}
stage('build res') {
steps {
sh 'sh testjenkins.sh build_res'
}
}
stage('run ctest') {
steps {
sh 'sh testjenkins.sh run_ctest'
}
}
stage('run pytest_equinor') {
steps {
sh 'sh testjenkins.sh run_pytest_equinor'
}
}
stage('run pytest_normal') {
steps {
sh 'sh testjenkins.sh run_pytest_normal'
}
}
}
}