forked from d2iq-archive/marathon
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Jenkinsfile
22 lines (21 loc) · 878 Bytes
/
Jenkinsfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/env groovy
ansiColor('gnome-terminal') {
node('JenkinsMarathonCI-Debian8-2017-07-18') {
stage("Run Pipeline") {
try {
checkout scm
withCredentials([
usernamePassword(credentialsId: 'a7ac7f84-64ea-4483-8e66-bb204484e58f', passwordVariable: 'GIT_PASSWORD', usernameVariable: 'GIT_USER'),
string(credentialsId: '3f0dbb48-de33-431f-b91c-2366d2f0e1cf',variable: 'AWS_ACCESS_KEY_ID'),
string(credentialsId: 'f585ec9a-3c38-4f67-8bdb-79e5d4761937',variable: 'AWS_SECRET_ACCESS_KEY')
]) {
sh """sudo -E ci/pipeline jenkins"""
}
} finally {
junit(allowEmptyResults: true, testResults: 'target/test-reports/*.xml')
junit allowEmptyResults: true, testResults: 'target/test-reports/*integration/*.xml'
archive includes: 'sandboxes.tar.gz'
}
}
}
}