File tree 1 file changed +4
-2
lines changed 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,8 @@ lockIf(isIntegration(), 'integration-lock') {
67
67
deleteDir()
68
68
docker. image(' drbosse/gradle-git:4.5.0-jre8-alpine' ). inside(" --entrypoint=''" ) {
69
69
unstash ' merge-result'
70
- sh ' gradle build --stacktrace'
70
+ sh ' ./gradlew clean build assembleDist --stacktrace'
71
+ stash name : ' merge-result' , includes : ' **' , useDefaultExcludes : false
71
72
}
72
73
}
73
74
@@ -98,6 +99,7 @@ PROMOTE = false
98
99
stage(' promotion' ){
99
100
try {
100
101
timeout(time : 1 , unit : ' HOURS' ) {
102
+ // TODO: Automate tagging?
101
103
input ' Promote? (Remember to tag!)'
102
104
}
103
105
PROMOTE = true
@@ -113,7 +115,7 @@ if (PROMOTE) {
113
115
deleteDir()
114
116
docker. image(' drbosse/gradle-git:4.5.0-jre8-alpine' ). inside(" --entrypoint=''" ) {
115
117
unstash ' merge-result'
116
- withCredentials([string(credentialsId : ' 2git-token ' , variable : ' GITHUB_TOKEN' )]) {
118
+ withCredentials([string(credentialsId : ' praqmarelease ' , variable : ' GITHUB_TOKEN' )]) {
117
119
sh " ./gradlew githubRelease --stacktrace -PGITHUB_TOKEN=\$ GITHUB_TOKEN"
118
120
}
119
121
}
You can’t perform that action at this time.
0 commit comments