forked from D-Net/dnet-hadoop
Jenkinsfile updated
This commit is contained in:
parent
8f27f5e8e3
commit
111b8f37ad
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue