Skip to content

Commit

Permalink
Merge pull request #252 from jenkins-infra/revert-248-stable-2.332
Browse files Browse the repository at this point in the history
Revert Ubuntu 22.04/ JDK8-removal changes for stable 2.332
  • Loading branch information
dduportal authored Jun 14, 2022
2 parents 950ff21 + c6d1ad4 commit 1d298bb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
2 changes: 1 addition & 1 deletion PodTemplates.d/package-linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
spec:
containers:
- name: jnlp
image: jenkinsciinfra/packaging:2.1.41
image: jenkinsciinfra/packaging:2.1.32
imagePullPolicy: "IfNotPresent"
env:
- name: "HOME"
Expand Down
4 changes: 3 additions & 1 deletion PodTemplates.d/release-linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@ metadata:
spec:
containers:
- name: jnlp
image: jenkinsciinfra/packaging:2.1.41
image: jenkinsciinfra/packaging:2.1.32
imagePullPolicy: "IfNotPresent"
env:
- name: "HOME"
value: "/home/jenkins/agent/workspace"
- name: "MAVEN_OPTS"
value: "-Xmx8g -Xms8g"
- name: "JENKINS_JAVA_BIN"
value: "/opt/jdk-11/bin/java"
resources:
limits:
memory: "16Gi"
Expand Down
9 changes: 1 addition & 8 deletions utils/release.bash
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ function configureKeystore(){
case "$SIGN_CERTIFICATE" in
*.pem )
openssl pkcs12 -export \
-legacy `# https://github.com/openssl/openssl/issues/11672` \
-out "$SIGN_KEYSTORE" \
-in "${SIGN_CERTIFICATE}" \
-password "pass:$SIGN_STOREPASS" \
Expand All @@ -86,14 +85,8 @@ function configureKeystore(){
*.pfx )
# pfx file download from azure key vault are not password protected, which is required for maven release plugin
# so we need to add a new password
openssl pkcs12 \
-in "${SIGN_CERTIFICATE}" \
-legacy `# https://github.com/openssl/openssl/issues/11672` \
-out tmpjenkins.pem \
-nodes \
-passin pass:""
openssl pkcs12 -in "${SIGN_CERTIFICATE}" -out tmpjenkins.pem -nodes -passin pass:""
openssl pkcs12 -export \
-legacy `# https://github.com/openssl/openssl/issues/11672` \
-out "$SIGN_KEYSTORE" \
-in tmpjenkins.pem \
-password "pass:$SIGN_STOREPASS" \
Expand Down

0 comments on commit 1d298bb

Please sign in to comment.