Skip to content

Commit 108e2fe

Browse files
committed
fix: sonarqube branch error
1 parent 11d9d5e commit 108e2fe

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Jenkinsfile-on-prem

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ pipeline {
6565

6666
stage('push latest'){
6767
when{
68-
branch 'master'
68+
branch 'sonarqube'
6969
}
7070
steps{
7171
container ('maven') {
@@ -77,7 +77,7 @@ pipeline {
7777

7878
stage('deploy to dev') {
7979
when{
80-
branch 'master'
80+
branch 'sonarqube'
8181
}
8282
steps {
8383
input(id: 'deploy-to-dev', message: 'deploy to dev?')

Jenkinsfile-online

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ pipeline {
6565

6666
stage('push latest'){
6767
when{
68-
branch 'master'
68+
branch 'sonarqube'
6969
}
7070
steps{
7171
container ('maven') {
@@ -77,7 +77,7 @@ pipeline {
7777

7878
stage('deploy to dev') {
7979
when{
80-
branch 'master'
80+
branch 'sonarqube'
8181
}
8282
steps {
8383
input(id: 'deploy-to-dev', message: 'deploy to dev?')

0 commit comments

Comments
 (0)