-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathJenkinsfile
67 lines (63 loc) · 1.67 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
@Library(['github.com/indigo-dc/jenkins-pipeline-library@release/2.1.1']) _
def projectConfigPlain
def projectConfigS0
def projectConfigS1
pipeline {
agent any
stages {
stage('SQA : plain code checks') {
steps {
catchError {
script {
projectConfigPlain = pipelineConfig(
configFile: '.sqa/config_plain.yml')
buildStages(projectConfigPlain)
}
}
}
post {
cleanup {
cleanWs()
}
}
}
stage('SQA : build checks for S0') {
when {
anyOf {
branch 'build-S0'
}
}
steps {
script {
projectConfigS0 = pipelineConfig(
configFile: '.sqa/config_build_S0.yml')
buildStages(projectConfigS0)
}
}
post {
cleanup {
cleanWs()
}
}
}
stage('SQA : build checks for S1') {
when {
anyOf {
branch 'build-S1'
}
}
steps {
script {
projectConfigS1 = pipelineConfig(
configFile: '.sqa/config_build_S1.yml')
buildStages(projectConfigS1)
}
}
post {
cleanup {
cleanWs()
}
}
}
}
}