forked from laukus/openshift-reference-springboot-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Jenkinsfile-systemtest
executable file
·35 lines (34 loc) · 1.67 KB
/
Jenkinsfile-systemtest
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
#!/usr/bin/env groovy
def config = [
scriptVersion : 'v7',
pipelineScript : 'https://git.aurora.skead.no/scm/ao/aurora-pipeline-scripts.git',
affiliation : 'aurora',
segment : 'aup',
credentialsId : "github",
javaVersion : 11,
openShiftSleepAfterSetup: 90,
openShiftNamespaceSetupWaitTimeout: 240000,
nodeVersion : '10',
testStages : [[
auroraConfigEnvironment: 'st-refapp',
applicationUnderTest : "referanse",
testSequence : [
[
stageType : 'postman',
stageName : 'postman',
appDir : "src/systemtest/postman",
npmCommand: 'test'
], [
stageType: 'gatling',
stageName: 'gatling',
appDir : 'gatling'
]
]
]],
notifyBitbucket : "none", //We are on github
routeFormat : "@NAME@.@SEGMENT@.@[email protected]" //we use the new route format in the st-refapp test environment
]
fileLoader.withGit(config.pipelineScript, config.scriptVersion) {
jenkinsfile = fileLoader.load('templates/systemtest')
}
jenkinsfile.run(config.scriptVersion, config)