-
New Feature
-
Resolution: Unresolved
-
Minor
-
None
Show "Run build steps in a container" from Kubernetes plugin
stage('Run maven') { steps { sh 'set' sh 'test -f /usr/bin/mvn' // checking backwards compatibility sh "echo OUTSIDE_CONTAINER_ENV_VAR = ${CONTAINER_ENV_VAR}" container('maven') { sh 'echo INSIDE_CONTAINER_ENV_VAR = ${CONTAINER_ENV_VAR}' sh 'mvn -version' } } }
[JENKINS-58558] Show "Run build steps in a container" from Kubernetes plugin
Attachment | New: Screenshot from 2019-07-18 12-12-31.png [ 48028 ] | |
Attachment | New: Screenshot from 2019-07-18 12-12-16.png [ 48029 ] |
PR https://github.com/jenkinsci/blueocean-plugin/pull/2009