Skip to content
This repository has been archived by the owner on Nov 29, 2024. It is now read-only.

Commit

Permalink
debug jenkins
Browse files Browse the repository at this point in the history
  • Loading branch information
jackjii79 committed Jan 24, 2024
1 parent 36dd7ad commit 95dba9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ pipeline {
steps {
timeout(time: 60, unit: 'MINUTES') {
script {
sh "rm -rf build;./gradlew --init-script init.gradle distributionZip"
sh "./gradlew --init-script init.gradle distributionZip"
if (isReleaseVersion(versionText)) {
utilsLib.appendBuildDescription("Release ${versionText}")
}
Expand Down Expand Up @@ -265,7 +265,7 @@ pipeline {
def getVersion() {
def version = sh(
script: "./gradlew --init-script init.gradle -q -Dorg.gradle.internal.launcher.welcomeMessageEnabled=false printVersion",
returnStdout: true).trim()
returnStdout: true).trim().tokenize("\n").last()
if (!version) {
error "Version must be set"
}
Expand Down

0 comments on commit 95dba9f

Please sign in to comment.