Skip to content

Commit

Permalink
remove rc build
Browse files Browse the repository at this point in the history
Signed-off-by: James Struga <[email protected]>
  • Loading branch information
James Struga committed May 16, 2021
1 parent fefacea commit db46720
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,9 @@ node(JENKINS_NODE) {
zluxbuildpr = env.BRANCH_NAME
if (zluxbuildpr.startsWith("PR-")){
pullRequests['zlux-build'] = getPullRequest(GITHUB_TOKEN, 'zlux-build', zluxbuildpr.drop(3))
} else if (params.'BUILD_DEFAULT'){
}else if (env.BRANCH_NAME.toLowerCase() == 'rc') {
currentBuild.result = 'ABORTED'
} else if (params.'BUILD_DEFAULT'){
DEFAULT_BRANCH = params.'REPO_NAME'
echo "building ${DEFAULT_BRANCH}"
} else {
Expand Down

0 comments on commit db46720

Please sign in to comment.