Skip to content

Commit 7c522f6

Browse files
committed
Add missing script attribute to the Jenkins command
1 parent 214d6c1 commit 7c522f6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ci/release/Jenkinsfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,8 +223,7 @@ pipeline {
223223
withEnv([
224224
"DISABLE_REMOTE_GRADLE_CACHE=true"
225225
]) {
226-
sh "pwd"
227-
def ghReleaseNote = sh('realpath -e release_notes.md 2>/dev/null', returnStdout: true).trim()
226+
def ghReleaseNote = sh(script: 'realpath -e release_notes.md 2>/dev/null', returnStdout: true).trim()
228227

229228
sh ".release/scripts/publish.sh -j ${ghReleaseNote != '' ? '--notes=' + ghReleaseNote : ''} ${env.SCRIPT_OPTIONS} ${env.PROJECT} ${env.RELEASE_VERSION} ${env.DEVELOPMENT_VERSION} ${env.GIT_BRANCH} "
230229
}

0 commit comments

Comments
 (0)