diff --git a/Jenkinsfile.nightly_fastlane b/Jenkinsfile.nightly_fastlane index 885b051a82..b5a9a1bc97 100644 --- a/Jenkinsfile.nightly_fastlane +++ b/Jenkinsfile.nightly_fastlane @@ -22,7 +22,8 @@ timeout(90) { def apkUrl = '' def ipaUrl = '' def testPassed = true - def version; + def version + def build_no load "$HOME/env.groovy" @@ -53,7 +54,7 @@ timeout(90) { usernameVariable: 'GIT_USER', passwordVariable: 'GIT_PASS' ]]) { - def build_no = sh( + build_no = sh( returnStdout: true, script: './scripts/build_no.sh --increment' ).trim() diff --git a/Jenkinsfile.release b/Jenkinsfile.release index f861ab1fb3..2757a84f7f 100644 --- a/Jenkinsfile.release +++ b/Jenkinsfile.release @@ -23,6 +23,7 @@ timeout(90) { def ipaUrl = '' def testPassed = true def version + def build_no load "$HOME/env.groovy" @@ -53,7 +54,7 @@ timeout(90) { usernameVariable: 'GIT_USER', passwordVariable: 'GIT_PASS' ]]) { - def build_no = sh( + build_no = sh( returnStdout: true, script: './scripts/build_no.sh --increment' ).trim() diff --git a/Jenkinsfile.upload_release_android b/Jenkinsfile.upload_release_android index 13763d1bfb..ddcfde9bc6 100644 --- a/Jenkinsfile.upload_release_android +++ b/Jenkinsfile.upload_release_android @@ -23,6 +23,7 @@ timeout(90) { def ipaUrl = '' def testPassed = true def version + def build_no load "$HOME/env.groovy" @@ -57,7 +58,7 @@ timeout(90) { usernameVariable: 'GIT_USER', passwordVariable: 'GIT_PASS' ]]) { - def build_no = sh( + build_no = sh( returnStdout: true, script: './scripts/build_no.sh --increment' ).trim() diff --git a/Jenkinsfile.upload_release_ios b/Jenkinsfile.upload_release_ios index 0257eba530..dcd9ea2525 100644 --- a/Jenkinsfile.upload_release_ios +++ b/Jenkinsfile.upload_release_ios @@ -23,6 +23,7 @@ timeout(90) { def ipaUrl = '' def testPassed = true def version + def build_no load "$HOME/env.groovy" @@ -56,7 +57,7 @@ timeout(90) { usernameVariable: 'GIT_USER', passwordVariable: 'GIT_PASS' ]]) { - def build_no = sh( + build_no = sh( returnStdout: true, script: './scripts/build_no.sh --increment' ).trim()