Skip to content

Commit

Permalink
Update Jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
michelu89 committed May 2, 2024
1 parent a3afb41 commit 8309db9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .jenkins/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ pipeline {
stage('Download and unpack artifact') {
steps {
script {
sh "curl -L -H Accept: application/vnd.github+json \
-H 'Authorization: Bearer \$GITHUB_BOT_TOKEN' \
-H 'X-GitHub-Api-Version: 2022-11-28' \
'https://api.github.com/repos/eclipse-esmf/esmf-aspect-model-editor-backend/actions/artifacts/1460699620/zip'"
sh "curl -L -H Accept: \"application/vnd.github+json\" \
-H \"Authorization: Bearer \$GITHUB_BOT_TOKEN\" \
-H \"X-GitHub-Api-Version: 2022-11-28'\" \
\"https://api.github.com/repos/eclipse-esmf/esmf-aspect-model-editor-backend/actions/artifacts/1460699620/zip\""
sh "ls -a"
sh "mkdir -p unpack_dir"
sh "unzip -o aspect-model-editor-v${env.version}-win.zip -d unpack_dir"
Expand Down

0 comments on commit 8309db9

Please sign in to comment.