Skip to content

Commit 9f3757b

Browse files
authored
Merge pull request kubesphere#46 from shaowenchen/sonarqube
fix: sonarqube branch error
2 parents ea83677 + 108e2fe commit 9f3757b

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)