Skip to content

Commit

Permalink
Add quality gate
Browse files Browse the repository at this point in the history
  • Loading branch information
FouadALLAOUI committed Feb 8, 2024
1 parent 876ab97 commit 3b435e3
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,17 @@ pipeline {
}
}

stage('Quality Gate Test') {
when{ expression{ params.action == 'create' }}
steps {
script{
def SonarQubecredentialsId = 'sonar-api'
QualityGateStatus(SonarQubecredentialsId)
}
}
}



}
}

0 comments on commit 3b435e3

Please sign in to comment.