mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-26 17:05:49 +00:00
curl variables
This commit is contained in:
parent
bbd3a3d6c2
commit
985890245a
1 changed files with 1 additions and 1 deletions
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
|
@ -93,7 +93,7 @@ pipeline {
|
||||||
script {
|
script {
|
||||||
withCredentials([usernameColonPassword(credentialsId: 'nexus-deployment-user', variable: 'DEPLOYMENT')]) {
|
withCredentials([usernameColonPassword(credentialsId: 'nexus-deployment-user', variable: 'DEPLOYMENT')]) {
|
||||||
sh '''
|
sh '''
|
||||||
curl -u "$DEPLOYMENT" http://172.19.0.3:8081/repository/maven-nexus-repo/org/springframework/samples/spring-petclinic/2.4.2/spring-petclinic-2.4.2.jar >output
|
curl -u "$DEPLOYMENT" http://${NEXUS_URL}/repository/${NEXUS_REPOSITORY}/org/springframework/samples/spring-petclinic/2.4.2/spring-petclinic-2.4.2.jar >output
|
||||||
nohup java -jar spring-petclinic-2.4.2.jar --server.port=8083>> server.log 2>&1&
|
nohup java -jar spring-petclinic-2.4.2.jar --server.port=8083>> server.log 2>&1&
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue