mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 15:25:49 +00:00
revert
This commit is contained in:
parent
be900dd732
commit
904b42efb9
1 changed files with 13 additions and 8 deletions
21
Jenkinsfile
vendored
21
Jenkinsfile
vendored
|
@ -34,15 +34,20 @@ pipeline {
|
||||||
sh "mvn validate compile test package"
|
sh "mvn validate compile test package"
|
||||||
sh "ls -la target"
|
sh "ls -la target"
|
||||||
sh "chmod 400 ./target/spring-petclinic-2.4.0.BUILD-SNAPSHOT.jar"
|
sh "chmod 400 ./target/spring-petclinic-2.4.0.BUILD-SNAPSHOT.jar"
|
||||||
sh 'curl -X PUT -u jfroguser:AdminPassword1 ./target/spring-petclinic-2.4.0.BUILD-SNAPSHOT.jar "https://petclinic.jfrog.io/artifactory/spring-petclinic/spring-petclinic-2.4.0.BUILD-${BUILD_NUMBER}.jar"'
|
//sh 'curl -X PUT -u jfroguser:AdminPassword1 ./target/spring-petclinic-2.4.0.BUILD-SNAPSHOT.jar "https://petclinic.jfrog.io/artifactory/spring-petclinic/spring-petclinic-2.4.0.BUILD-${BUILD_NUMBER}.jar"'
|
||||||
rtServer (
|
rtServer (
|
||||||
id: 'Artifactory-1',
|
id: 'Artifactory-1',
|
||||||
url: 'https://petclinic.jfrog.io/artifactory',
|
url: 'https://petclinic.jfrog.io/artifactory',
|
||||||
username: 'jfroguser',
|
username: 'jfroguser',
|
||||||
password: 'AdminPassword1',
|
password: 'AdminPassword1',
|
||||||
bypassProxy: true,
|
bypassProxy: true,
|
||||||
timeout: 300
|
timeout: 300
|
||||||
)
|
)
|
||||||
|
rtUpload (
|
||||||
|
serverId: 'Artifactory-1',
|
||||||
|
specPath: './target/spring-petclinic-2.4.0.BUILD-SNAPSHOT.jar',
|
||||||
|
failNoOp: true
|
||||||
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('build docker image') {
|
stage('build docker image') {
|
||||||
|
|
Loading…
Reference in a new issue