Define 'ARTIFACTORY' environment variable in all Jenkin CI build pipeline stages (build, deploy docs, deploy artifacts).

This commit is contained in:
John Blum
2023-06-01 15:13:42 -07:00
parent 8ff6f9f4d3
commit c45eeefb89

9
Jenkinsfile vendored
View File

@@ -21,6 +21,9 @@ pipeline {
stages {
stage('Build') {
environment {
ARTIFACTORY = credentials("${p['artifactory.credentials']}")
}
options {
timeout(time: 30, unit: "MINUTES")
}
@@ -57,6 +60,9 @@ pipeline {
}
stage ('Deploy Docs') {
environment {
ARTIFACTORY = credentials("${p['artifactory.credentials']}")
}
options {
timeout(time: 15, unit: "MINUTES")
}
@@ -80,6 +86,9 @@ pipeline {
}
stage ('Deploy Artifacts') {
environment {
ARTIFACTORY = credentials("${p['artifactory.credentials']}")
}
options {
timeout(time: 15, unit: "MINUTES")
}