From a91dcc6b7c3f52295939228f7a775979ee026859 Mon Sep 17 00:00:00 2001 From: Aaron Kimbre Date: Sun, 16 Jan 2022 12:28:21 -0600 Subject: [PATCH] update jenkinsfile --- Jenkinsfile | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 9382731..4626be3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,14 +3,14 @@ properties([ gitParameter( branch: '', branchFilter: 'origin/(.*)', - defaultValue: 'origin/refactor', + defaultValue: 'origin/main', description: '', name: 'BRANCH', quickFilterEnabled: false, - selectedValue: 'NONE', + selectedValue: 'DEFAULT', sortMode: 'NONE', tagFilter: '*', - useRepository: 'git@github.com:aronwk-aaron/AccountManager.git', + useRepository: 'git@github.com:DarkflameUniverse/NexusDashboard.git', type: 'PT_BRANCH' ) ]) @@ -25,15 +25,14 @@ node('worker'){ userRemoteConfigs: [ [ credentialsId: 'aronwk', - url: 'git@github.com:aronwk-aaron/AccountManager.git' + url: 'git@github.com:DarkflameUniverse/NexusDashboard.git' ] ] ]) } def tag = '' stage("Build Container"){ - - if (params.BRANCH.contains('master')){ + if (params.BRANCH.contains('main')){ tag = 'latest' } else { tag = params.BRANCH.replace('\\', '-')