Skip to content

Commit

Permalink
OB-525 feat: Jenkins file changes - reading the cloud storage sdk as …
Browse files Browse the repository at this point in the history
…jenkins params
  • Loading branch information
manjudr committed Aug 9, 2023
1 parent a6af6ec commit 6666f2b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ node('build-slave') {
}

stage('Build') {
sh '''
export JAVA_HOME=/usr/lib/jvm/jdk-11.0.2
export PATH=$JAVA_HOME/bin:$PATH
echo $(java -version)
mvn clean install -DskipTests
'''
sh """
export JAVA_HOME=/usr/lib/jvm/jdk-11.0.2
export PATH=${JAVA_HOME}/bin:${PATH}
echo \$(java -version)
mvn clean install -DskipTests -DCLOUD_STORE_GROUP_ID=${params.CLOUD_STORE_GROUP_ID} -DCLOUD_STORE_ARTIFACT_ID=${params.CLOUD_STORE_ARTIFACT_ID} -DCLOUD_STORE_VERSION=${params.CLOUD_STORE_VERSION}
"""
}
stage('Archive artifacts'){
sh """
Expand Down

0 comments on commit 6666f2b

Please sign in to comment.