Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update Jenkinsfile
chubing committed Feb 16, 2022
1 parent 60dd7a7 commit 9d478f2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Jenkinsfile
@@ -13,17 +13,17 @@ def grouper_src_branch = "GROUPER_RELEASE_${git_tag}"
node('docker') {

if (git_tag ==~ tag_pattern ) {
environment {
JAVA_HOME='/home/centos/agent/tools/hudson.model.JDK/Corretto-JDK8/amazon-corretto-8.322.06.2-linux-x64'
}
stage("PgpImport") {
withCredentials([file(credentialsId: gpg_cred_id, variable: 'GPG_KEYS')]) {
sh 'gpg --version'
sh 'gpg --keyring=pubring.gpg --no-default-keyring --import $GPG_KEYS || true'
sh 'echo $JAVA_HOME'
sh 'java --version'
sh 'ls /tmp'
}
}
environment {
JAVA_HOME='/home/centos/agent/tools/hudson.model.JDK/Corretto-JDK8/amazon-corretto-8.322.06.2-linux-x64'
}
stage("Checkout") {
checkout_result = checkout([
$class: 'GitSCM',

0 comments on commit 9d478f2

Please sign in to comment.