forked from EOSC-synergy/jpl-validator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Jenkinsfile
48 lines (45 loc) · 1.24 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
@Library(['github.com/indigo-dc/jenkins-pipeline-library@release/2.1.0']) _
def projectConfig
pipeline {
agent any
stages {
stage('SQA baseline dynamic stages: qc-style') {
steps {
script {
projectConfig = pipelineConfig(
configFile: './.sqa/config_qc_style.yml'
)
buildStages(projectConfig)
}
}
post {
cleanup {
cleanWs()
}
}
}
stage('SQA baseline dynamic stages: qc-doc') {
when {
anyOf {
branch 'refs/heads/*'
buildingTag()
not { changeRequest() }
}
}
steps {
script {
projectConfig = pipelineConfig(
configFile: './.sqa/config_qc_doc.yml',
scmConfigs: [ localBranch: true ]
)
buildStages(projectConfig)
}
}
post {
cleanup {
cleanWs()
}
}
}
}
}