Skip to content

Commit

Permalink
squashme: debug ci
Browse files Browse the repository at this point in the history
  • Loading branch information
hrb-hub committed Nov 25, 2024
1 parent a5a6c50 commit 78d29a2
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions ci/Publish-WebappArtifacts.Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pipeline {
environment {
PATH="${env.NODE_PATH}:${env.PATH}:/home/jenkins/emsdk/upstream/bin/:/home/jenkins/emsdk/:/home/jenkins/emsdk/upstream/emscripten"
VERSION = sh(returnStdout: true, script: "node -p -e \"require('./package.json').version\" | tr -d \"\n\"")
VERSION=sh(returnStdout: true, script: "node -p -e \"require('./package.json').version\" | tr -d \"\n\"")
}
options {
preserveStashes()
Expand Down Expand Up @@ -52,10 +52,12 @@ pipeline {
def filePath = "webapp_built.tar.gz"
def util = load "ci/jenkins-lib/util.groovy"

echo ">>>>>>>>>>>>>> ${env.VERSION}"

util.downloadFromNexus(
groupId: "app",
artifactId: "webapp",
version: "${VERSION}",
version: "${env.VERSION}",
outFile: "${WORKSPACE}/${filePath}",
fileExtension: "tar.gz"
)
Expand Down Expand Up @@ -83,7 +85,7 @@ pipeline {

writeFile file: "notes.txt", text: params.releaseNotes
withCredentials([string(credentialsId: 'github-access-token', variable: 'GITHUB_TOKEN')]) {
sh '''node buildSrc/createReleaseDraft.js --name ${VERSION} --tag tutanota-release-${VERSION} --notes notes.txt'''
sh '''node buildSrc/createReleaseDraft.js --name ${env.VERSION} --tag tutanota-release-${env.VERSION} --notes notes.txt'''
}
}
}
Expand Down

0 comments on commit 78d29a2

Please sign in to comment.