Skip to content

Commit

Permalink
Fix PR's failing on Jenkins (#1107)
Browse files Browse the repository at this point in the history
Update to #1094 

* Use when condition to not package/publish packages for a PR
  • Loading branch information
JasonRivers authored Aug 24, 2023
1 parent e39c525 commit 6018c16
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ pipeline {
}
stage ('Mac Build and Packaging') {
agent {
label 'Mac && Build'
label 'Mac && x86 && Build'
}
steps {
sh 'rm -Rf _ ship'
Expand Down Expand Up @@ -74,6 +74,11 @@ pipeline {
}
}
}
when {
not {
branch 'PR-*'
}
}
}
stage ('Copy install images') {
agent {
Expand All @@ -95,6 +100,11 @@ pipeline {
sh './CI/copyinstallers.sh'
sh 'rm -Rf _ ship'
}
when {
not {
branch 'PR-*'
}
}
}
stage ('Publish to Github') {
agent {
Expand All @@ -116,6 +126,11 @@ pipeline {
sh './CI/GH-Release.sh'
sh 'rm -Rf _ ship'
}
when {
not {
branch 'PR-*'
}
}
}
}
}

0 comments on commit 6018c16

Please sign in to comment.