Skip to content

Commit e4b9971

Browse files
author
Thierry Lacour
committed
Update publishing token
1 parent c2d89f0 commit e4b9971

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Jenkinsfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ lockIf(isIntegration(), 'integration-lock') {
6767
deleteDir()
6868
docker.image('drbosse/gradle-git:4.5.0-jre8-alpine').inside("--entrypoint=''") {
6969
unstash 'merge-result'
70-
sh 'gradle build --stacktrace'
70+
sh './gradlew clean build assembleDist --stacktrace'
71+
stash name: 'merge-result', includes: '**', useDefaultExcludes: false
7172
}
7273
}
7374

@@ -98,6 +99,7 @@ PROMOTE = false
9899
stage('promotion'){
99100
try {
100101
timeout(time: 1, unit: 'HOURS') {
102+
// TODO: Automate tagging?
101103
input 'Promote? (Remember to tag!)'
102104
}
103105
PROMOTE = true
@@ -113,7 +115,7 @@ if (PROMOTE) {
113115
deleteDir()
114116
docker.image('drbosse/gradle-git:4.5.0-jre8-alpine').inside("--entrypoint=''") {
115117
unstash 'merge-result'
116-
withCredentials([string(credentialsId: '2git-token', variable: 'GITHUB_TOKEN')]) {
118+
withCredentials([string(credentialsId: 'praqmarelease', variable: 'GITHUB_TOKEN')]) {
117119
sh "./gradlew githubRelease --stacktrace -PGITHUB_TOKEN=\$GITHUB_TOKEN"
118120
}
119121
}

0 commit comments

Comments
 (0)