Skip to content

Commit

Permalink
Update auto_build_deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
G33tha authored Apr 15, 2020
1 parent ba0e83a commit 825e79e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions auto_build_deploy
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,7 @@ node('build-slave') {
ansiColor('xterm') {
stage('Checkout') {
tag_name = env.JOB_NAME.split("/")[-1]
if (!tag_name.contains(env.public_repo_branch)) {
println("Error.. Tag does not contain " + env.public_repo_branch)
error("Oh ho! Tag is not a release candidate.. Skipping build")
}
pre_checks()
if (!env.hub_org) {
println(ANSI_BOLD + ANSI_RED + "Uh Oh! Please set a Jenkins environment variable named hub_org with value as registery/sunbidrded" + ANSI_NORMAL)
error 'Please resolve the errors and rerun..'
Expand Down

0 comments on commit 825e79e

Please sign in to comment.