mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-17 13:05:49 +00:00
added changes
This commit is contained in:
parent
3ebad46477
commit
f357c78e5f
1 changed files with 6 additions and 17 deletions
21
Jenkinsfile
vendored
21
Jenkinsfile
vendored
|
@ -7,7 +7,7 @@ pipeline {
|
|||
pollSCM('* * * * *')
|
||||
}
|
||||
tools {
|
||||
maven 'MAVEN_3.8'
|
||||
maven 'Maven_3.8'
|
||||
jdk 'JDK_17'
|
||||
}
|
||||
stages {
|
||||
|
@ -19,21 +19,10 @@ pipeline {
|
|||
}
|
||||
stage('build and package') {
|
||||
steps {
|
||||
rtMavenDeployer (
|
||||
id: 'SPC_DEPLOYER',
|
||||
serverId: 'JFROG_CLOUD',
|
||||
releaseRepo: 'atdevops-libs-snapshot',
|
||||
snapshotRepo: 'atdevops-libs-snapshot'
|
||||
)
|
||||
rtMavenRun (
|
||||
tool: 'MAVEN_3.8',
|
||||
deployerId: 'SPC_DEPLOYER',
|
||||
pom: 'pom.xml',
|
||||
goals: 'clean install'
|
||||
)
|
||||
rtPublishBuildInfo (
|
||||
serverId: 'JFROG_CLOUD'
|
||||
)
|
||||
withSonarQubeEnv('SONAR_CLOUD') {
|
||||
sh 'mvn clean package:sonar -Dsonar.organization=Akhil-Tejas225 -Dsonar.token=65fa1d49335531273f064cf5bd21d6c43c30bbc9 -Dsonar.projectKey=spring-petclinic'
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('reporting'){
|
||||
|
|
Loading…
Reference in a new issue