forked from equinor/libres
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Jenkinsfile
42 lines (40 loc) · 1010 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
40
pipeline {
agent { label 'scout-ci7' }
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 libres') {
steps {
sh 'sh testjenkins.sh build_libecl'
sh 'sh testjenkins.sh build_libres'
}
}
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'
}
}
}
}