Jenkinsfile updated

This commit is contained in:
Przemysław Jacewicz 2020-07-29 15:45:47 +02:00 committed by przemek
parent 8f27f5e8e3
commit 111b8f37ad
1 changed files with 18 additions and 18 deletions

View File

@ -21,24 +21,24 @@ pipeline {
}
}
// stage("Upload") {
// steps {
// configFileProvider([configFile(fileId: "iis-build-properties", variable: 'BUILD_PROPERTIES')]) {
// load "${BUILD_PROPERTIES}"
// withEnv(["JAVA_HOME=${ tool type: 'jdk', name: "${JDK_VERSION}" }",
// "PATH+MAVEN=${tool type: 'maven', name: "${MAVEN_VERSION}"}/bin:${env.JAVA_HOME}/bin"]) {
// sshagent(['iis-deployment-credentials']) {
// sh """
// cd iis-wf/iis-wf-primary && \
// mvn clean package -Poozie-package,deploy \
// -Dworkflow.source.dir=eu/dnetlib/iis/wf/primary/main \
// -DiisConnectionProperties=${WORKSPACE}/connection-properties/iis-cdh5-test-gw.properties
// """
// }
// }
// }
// }
// }
stage("00-Upload-aggregatorGraph") {
steps {
configFileProvider([configFile(fileId: "dnet-hadoop-build.properties", variable: 'BUILD_PROPERTIES')]) {
load "${BUILD_PROPERTIES}"
withEnv(["JAVA_HOME=${ tool type: 'jdk', name: "${JDK_VERSION}" }",
"PATH+MAVEN=${tool type: 'maven', name: "${MAVEN_VERSION}"}/bin:${env.JAVA_HOME}/bin"]) {
sshagent(['dnet-hadoop-deployment-credentials']) {
sh """
cd dhp-workflows/dhp-graph-mapper && \
mvn clean package -Poozie-package,deploy \
-Dworkflow.source.dir=eu/dnetlib/dhp/oa/graph/raw_all \
-DdhpConnectionProperties=${WORKSPACE}/connection-properties/iis-cdh5-test-gw.properties
"""
}
}
}
}
}
// stage("Deploy") {
// steps {