jenmkinsfile

This commit is contained in:
Jesse Houldsworth 2025-03-25 16:55:05 -07:00
parent 21b66a8715
commit b22394b0ba

6
Jenkinsfile vendored
View file

@ -11,7 +11,8 @@ pipeline {
JFROG_CLI_BUILD_NUMBER = "${BUILD_ID}" JFROG_CLI_BUILD_NUMBER = "${BUILD_ID}"
} }
stage('Configure JFrog CLI') { stages {
stage('Configure JFrog CLI') {
steps { steps {
withCredentials([usernamePassword(credentialsId: 'jfrog-platform-creds', usernameVariable: 'ARTIFACTORY_USER', passwordVariable: 'ARTIFACTORY_PASSWORD')]) { withCredentials([usernamePassword(credentialsId: 'jfrog-platform-creds', usernameVariable: 'ARTIFACTORY_USER', passwordVariable: 'ARTIFACTORY_PASSWORD')]) {
sh ''' sh '''
@ -25,8 +26,7 @@ stage('Configure JFrog CLI') {
''' '''
} }
} }
} }
stage('Validate Connection') { stage('Validate Connection') {
steps { steps {