Skip to content

Commit

Permalink
upload artifacts on release
Browse files Browse the repository at this point in the history
  • Loading branch information
demarey committed Apr 13, 2022
1 parent 84e238e commit 5523caf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,10 @@ def fileNameArchSuffix(architecture) {
}

def shouldNotUpload() {
if (isRelease) {
return false
}

if (isPullRequest()) {
//Only upload files if not in a PR (i.e., CHANGE_ID not empty)
echo "[DO NO UPLOAD] In PR " + (env.CHANGE_ID?.trim())
Expand Down

0 comments on commit 5523caf

Please sign in to comment.