-
Notifications
You must be signed in to change notification settings - Fork 0
/
Jenkinsfile
39 lines (35 loc) · 1.2 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
// SPDX-FileCopyrightText: Copyright contributors to the Software Quality Assurance as a Service (SQAaaS) project <sqaaas@ibergrid.eu>
// SPDX-FileContributor: Pablo Orviz <orviz@ifca.unican.es>
//
// SPDX-License-Identifier: GPL-3.0-only
@Library(['github.com/indigo-dc/jenkins-pipeline-library@2.1.1']) _
def projectConfig
pipeline {
agent any
stages {
stage('SQA baseline criterion: QC.Acc & QC.Doc & QC.Lic & QC.Sec & QC.Sty & QC.Uni & QC.Ver') {
when {
anyOf {
expression { currentBuild.previousCompletedBuild == null }
changeset ".sqa/*"
changeset "Jenkinsfile"
}
}
steps {
script {
projectConfig = pipelineConfig(
configFile: '.sqa/config.yml',
scmConfigs: [ localBranch: true ],
validatorDockerImage: 'eoscsynergy/jpl-validator:2.4.0'
)
buildStages(projectConfig)
}
}
post {
cleanup {
cleanWs()
}
}
}
}
}