added the new change in jenkinsfile

This commit is contained in:
n 2023-03-10 15:33:58 +05:30
parent bc5161a6c2
commit 0a5a095da1

3
Jenkinsfile vendored
View file

@ -22,8 +22,9 @@ pipeline {
steps {
withSonarQubeEnv('SONAR_TOKEN') {
sh 'mvn verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=qtsonarqube_qtsonarqube-token -Dsonar.organization=qtsonarqube'
}
}
}
}
stage('postbuild') {
steps {
archiveArtifacts artifacts: '**/target/spring-petclinic-3.0.0-SNAPSHOT.jar',