-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathJenkinsfile
34 lines (32 loc) · 1.15 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
#!/usr/bin/env groovy
def jenkinsfile
def config = [
scriptVersion : 'v7',
pipelineScript : 'https://git.aurora.skead.no/scm/ao/aurora-pipeline-scripts.git',
versionStrategy : [
[ branch : 'master', versionHint:'1' ]
],
iqOrganizationName : "Team Sirius IO",
iqCredentialsId : "ioteam-iq",
iqBreakOnUnstable : false,
publishToNpm : false,
deployToNexus : false,
openShiftBuild : false,
disableAllReports : true,
checkstyle : true,
jacoco : false,
checkstyle : false,
compileProperties : "-U",
mavenDeploy : false,
deployTo: false,
cleanWs : true,
github : [
enabled : true,
push : env.BRANCH_NAME == "master",
repoUrl : "https://github.com/Skatteetaten/skattemeldingen",
]
]
fileLoader.withGit(config.pipelineScript, config.scriptVersion) {
jenkinsfile = fileLoader.load('templates/leveransepakke')
}
jenkinsfile.run(config.scriptVersion, config)