missed references

This commit is contained in:
Aaron Kimbre 2022-01-18 23:23:13 -06:00
parent 1b5f002d6d
commit aede0f4f1a

4
Jenkinsfile vendored
View File

@ -35,10 +35,10 @@ node('worker'){
} }
def tag = '' def tag = ''
stage('Build Container'){ stage('Build Container'){
if (params.BRANCH.contains('main')){ if (params.GIT_BRANCH.contains('main')){
tag = 'latest' tag = 'latest'
} else { } else {
tag = params.BRANCH.replace('\\', '-') tag = params.GIT_BRANCH.replace('\\', '-')
} }
sh "docker build -t aronwk/nexus-dashboard:$tag ." sh "docker build -t aronwk/nexus-dashboard:$tag ."
} }