You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by ra...@apache.org on 2020/10/20 04:21:34 UTC
[openwhisk] branch master updated: adapt to change in JDK naming
scheme in Apache Jenkins (#5004)
This is an automated email from the ASF dual-hosted git repository.
rabbah pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk.git
The following commit(s) were added to refs/heads/master by this push:
new 65cb7e3 adapt to change in JDK naming scheme in Apache Jenkins (#5004)
65cb7e3 is described below
commit 65cb7e373ed6bae8b65f3edac2433026fb7b373f
Author: David Grove <dg...@users.noreply.github.com>
AuthorDate: Tue Oct 20 00:21:14 2020 -0400
adapt to change in JDK naming scheme in Apache Jenkins (#5004)
Infra changed the way JDKs are named in Jenkins on Oct 18.
---
tools/jenkins/apache/dockerhub.groovy | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/jenkins/apache/dockerhub.groovy b/tools/jenkins/apache/dockerhub.groovy
index 13d2226..c1b7c25 100644
--- a/tools/jenkins/apache/dockerhub.groovy
+++ b/tools/jenkins/apache/dockerhub.groovy
@@ -24,7 +24,7 @@ node('ubuntu') {
checkout scm
stage("Build and Deploy to DockerHub") {
- def JAVA_JDK_8=tool name: 'JDK 1.8 (latest)', type: 'hudson.model.JDK'
+ def JAVA_JDK_8=tool name: 'jdk_1.8_latest', type: 'hudson.model.JDK'
withEnv(["Path+JDK=$JAVA_JDK_8/bin","JAVA_HOME=$JAVA_JDK_8"]) {
withCredentials([usernamePassword(credentialsId: 'openwhisk_dockerhub', passwordVariable: 'DOCKER_PASSWORD', usernameVariable: 'DOCKER_USER')]) {
sh 'docker login -u ${DOCKER_USER} -p ${DOCKER_PASSWORD}'