Skip to content
Snippets Groups Projects
Commit 7adff8d4 authored by Bastian's avatar Bastian
Browse files

OZG-7324 jenkinsfile change branch master to main

parent f1651c30
No related branches found
No related tags found
No related merge requests found
...@@ -29,7 +29,7 @@ pipeline { ...@@ -29,7 +29,7 @@ pipeline {
} }
environment { environment {
BLUE_OCEAN_URL = "https://jenkins.infra.ozg-cloud.systems/job/ozgcloud-processor-manager/job/${env.BRANCH_NAME}/${env.BUILD_NUMBER}/" JENKINS_URL = "https://jenkins.infra.ozg-cloud.systems/job/codeSH_processor-manager/job/${env.BRANCH_NAME}/${env.BUILD_NUMBER}/"
RELEASE_REGEX = /\d+.\d+.\d+/ RELEASE_REGEX = /\d+.\d+.\d+/
SNAPSHOT_REGEX = /\d+.\d+.\d+-SNAPSHOT/ SNAPSHOT_REGEX = /\d+.\d+.\d+-SNAPSHOT/
FAILED_STAGE = "" FAILED_STAGE = ""
...@@ -65,7 +65,7 @@ pipeline { ...@@ -65,7 +65,7 @@ pipeline {
when { when {
not { not {
anyOf { anyOf {
branch 'master' branch 'main'
branch 'release' branch 'release'
} }
} }
...@@ -105,7 +105,7 @@ pipeline { ...@@ -105,7 +105,7 @@ pipeline {
stage('Sonar Checks') { stage('Sonar Checks') {
when { when {
branch 'master' branch 'main'
} }
steps { steps {
script { script {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment