run stage only samples

This commit is contained in:
VSAzima 2021-04-26 13:42:53 +04:00
parent c764125836
commit 0d2ced37b6

2
Jenkinsfile vendored
View file

@ -91,7 +91,7 @@ pipeline {
stage('run') {
steps {
script {
sh 'curl -L -X GET "http://172.19.0.3:8081/service/rest/v1/search/assets/download?sort=version&repository=maven-nexus-repo&maven.groupId=org.springframework.boot&maven.artifactId=spring-petclinic&maven.extension=jar" -H "accept: application/json"'
sh 'curl -L -X GET "http://172.19.0.3:8081/service/rest/v1/search/assets/download?sort=version&repository=maven-nexus-repo&maven.groupId=org.springframework.samples&maven.artifactId=spring-petclinic&maven.extension=jar" -H "accept: application/json"'
sh 'java -jar spring-petclinic-2.4.2.jar'
}
}