jenmkinsfile

This commit is contained in:
Jesse Houldsworth 2025-03-27 12:37:08 -07:00
parent 0eae0a510c
commit 9044ab498c

12
Jenkinsfile vendored
View file

@ -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
'''
"""
}
}
}