Skip to content

Commit

Permalink
Fix jenkins build for 18.2-beta
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonRivers committed Dec 16, 2021
1 parent a029fd2 commit 7bc1a3c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
def jarvis
def BRANCH = env.BRANCH_NAME.toLowerCase()

node ('Docker') {
stage ('Checkout') {
checkout scm
}
withDockerRegistry(credentialsId: '0435817a-5f0f-47e1-9dcc-800d85e5c335') {
stage ('Build Jarvis Container') {
if (Branch == 'master') {
if (BRANCH == 'master') {
jarvis=docker.build('dyalog/jarvis', '--no-cache .')
} else {
jarvis=docker.build("dyalog/jarvis:${BRANCH}", '--no-cache .')
Expand Down

0 comments on commit 7bc1a3c

Please sign in to comment.