From 9044ab498cee98c07f53824cbb04a8d88ecbb996 Mon Sep 17 00:00:00 2001 From: Jesse Houldsworth Date: Thu, 27 Mar 2025 12:37:08 -0700 Subject: [PATCH] jenmkinsfile --- Jenkinsfile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index ae530ae61..7119d5cfe 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -25,13 +25,13 @@ pipeline { stage('Configure JFrog CLI') { steps { withCredentials([usernamePassword(credentialsId: "${JFROG_CREDENTIALS_ID}", usernameVariable: 'JFROG_USER', passwordVariable: 'JFROG_API_KEY')]) { - sh ''' - "$JF" config add jenkins-config \ - --artifactory-url="${JFROG_URL}" \ - --user="$JFROG_USER" \ - --apikey="$JFROG_API_KEY" \ + sh """ + ${JF} config add jenkins-config \ + --artifactory-url=${JFROG_URL}/artifactory \ + --user=${JFROG_USER} \ + --apikey=${JFROG_API_KEY} \ --interactive=false - ''' + """ } } }