File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
9899stage(' 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 }
You can’t perform that action at this time.
0 commit comments