jenmkinsfile

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

2
Jenkinsfile vendored
View file

@ -11,6 +11,7 @@ pipeline {
JFROG_CLI_BUILD_NUMBER = "${BUILD_ID}" JFROG_CLI_BUILD_NUMBER = "${BUILD_ID}"
} }
stages {
stage('Configure JFrog CLI') { 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')]) {
@ -27,7 +28,6 @@ stage('Configure JFrog CLI') {
} }
} }
stage('Validate Connection') { stage('Validate Connection') {
steps { steps {
sh 'jf c use petclinic' sh 'jf c use petclinic'