Skip to content
This repository was archived by the owner on Nov 23, 2021. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: sonarqube branch error
  • Loading branch information
shaowenchen committed Oct 29, 2020
commit 108e2fe63fc653e2b54e43d345aa7aa3e8cdfee7
4 changes: 2 additions & 2 deletions Jenkinsfile-on-prem
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ pipeline {

stage('push latest'){
when{
branch 'master'
branch 'sonarqube'
}
steps{
container ('maven') {
Expand All @@ -77,7 +77,7 @@ pipeline {

stage('deploy to dev') {
when{
branch 'master'
branch 'sonarqube'
}
steps {
input(id: 'deploy-to-dev', message: 'deploy to dev?')
Expand Down
4 changes: 2 additions & 2 deletions Jenkinsfile-online
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ pipeline {

stage('push latest'){
when{
branch 'master'
branch 'sonarqube'
}
steps{
container ('maven') {
Expand All @@ -77,7 +77,7 @@ pipeline {

stage('deploy to dev') {
when{
branch 'master'
branch 'sonarqube'
}
steps {
input(id: 'deploy-to-dev', message: 'deploy to dev?')
Expand Down