Skip to content
Open
Changes from all commits
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
9 changes: 7 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ pipeline{
}

stages{

stage ('Pushing Jfrog File'){

stage('Git Checkout'){
when { expression { params.action == 'create' } }
steps{
Expand Down Expand Up @@ -56,12 +57,16 @@ pipeline{
}
stage('Quality Gate Status Check : Sonarqube'){
when { expression { params.action == 'create' } }
steps{
steps{
script{
sh 'curl -X PUT -u admin:Password1 -T /var/lib/jenkins/workspace/Java_app_3.0/target/kubernetes-configmap-reload-0.0.1-SNAPSHOT.jar "http://18.144.83.52:8082/artifactory/example-repo-local/kubernetes-configmap-reload-0.0.1-SNAPSHOT.jar"'
steps{
script{

def SonarQubecredentialsId = 'sonarqube-api'
QualityGateStatus(SonarQubecredentialsId)
}
}
}
}
stage('Maven Build : maven'){
Expand Down