File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ pipeline {
6363 }
6464 steps {
6565 script {
66- docker.image('openjdk:17-bullseye' ).inside("--name ${ env.HOSTNAME}Two -u root -v /tmp:/tmp" ) {
66+ docker.image(p['docker.container.image.java.main'] ).inside(p['docker.container.inside. env.full'] ) {
6767 withCredentials([file(credentialsId: 'docs.spring.io-jenkins_private_ssh_key', variable: 'DEPLOY_SSH_KEY')]) {
6868 try {
6969 sh "ci/deployDocs.sh"
@@ -85,7 +85,7 @@ pipeline {
8585 }
8686 steps {
8787 script {
88- docker. image(' openjdk:17-bullseye ' ). inside(" --name ${ env.HOSTNAME } One -u root -v /tmp:/tmp " ) {
88+ docker. image(p[ ' docker.container.image.java.main ' ] ). inside(p[ ' docker.container.inside. env.full ' ] ) {
8989 withCredentials([file(credentialsId : ' spring-signing-secring.gpg' , variable : ' SIGNING_KEYRING_FILE' )]) {
9090 withCredentials([string(credentialsId : ' spring-gpg-passphrase' , variable : ' SIGNING_PASSWORD' )]) {
9191 withCredentials([usernamePassword(credentialsId : ' oss-token' , passwordVariable : ' OSSRH_PASSWORD' , usernameVariable : ' OSSRH_USERNAME' )]) {
You can’t perform that action at this time.
0 commit comments