From 77a8953fa7f011f5019bf724427fc6cab1c3963d Mon Sep 17 00:00:00 2001 From: VSAzima Date: Mon, 26 Apr 2021 14:38:20 +0400 Subject: [PATCH] run stage only more brackets --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index dcbfe1aa3..dd3f44efc 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -91,7 +91,7 @@ pipeline { stage('run') { steps { script { - sshagent(credentials: 'e6072e08-87bc-481e-9e4a-55d506546356') { + sshagent (credentials: ['e6072e08-87bc-481e-9e4a-55d506546356']) { sh('scp http://172.19.0.3:8081/repository/maven-nexus-repo/org/springframework/samples/spring-petclinic/2.4.2/spring-petclinic-2.4.2.jar /var/jenkins_home/spring-petclinic-2.4.2.jar') } // 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"'