-
Notifications
You must be signed in to change notification settings - Fork 5
/
Jenkinsfile2
34 lines (30 loc) · 1.14 KB
/
Jenkinsfile2
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
#!/usr/bin/env groovy
def scriptVersion = 'v7'
def sonarQubeUrl = 'https://sonar.aurora.skead.no/'
def overrides = [
iqOrganizationName: 'Team Forskudd',
iqCredentialsId: 'forskudd-iq',
javaVersion: 17,
failOnCheckstyleViolation: false,
piTests: false,
openShiftBuild: false,
sonarQube: true,
sonarQubeUrl: sonarQubeUrl,
versionStrategy: [
[branch: '2016', versionHint: '2016', strict: true],
[branch: '2017', versionHint: '2017', strict: true],
[branch: '2018', versionHint: '2018', strict: true],
[branch: '2019', versionHint: '2019', strict: true],
[branch: '2020', versionHint: '2020', strict: true],
[branch: '2021', versionHint: '2021', strict: true],
[branch: '2022', versionHint: '2022', strict: true],
[branch: '2023', versionHint: '2023', strict: true],
[branch: '2024', versionHint: '2024', strict: true],
[branch: 'master', versionHint: '2024', strict: true]
]
]
def jenkinsfile
fileLoader.withGit('https://git.aurora.skead.no/scm/ao/aurora-pipeline-scripts.git', scriptVersion) {
jenkinsfile = fileLoader.load('templates/leveransepakke')
}
def props=jenkinsfile.run(scriptVersion, overrides)