moves variable set to script block
This commit is contained in:
parent
8fe6aa5e96
commit
58df2c1150
@ -32,9 +32,9 @@ pipeline {
|
||||
stages {
|
||||
stage ('Initalize Jenkins') {
|
||||
steps {
|
||||
workspace = pwd()
|
||||
container ('alpine') {
|
||||
script {
|
||||
script {
|
||||
workspace = pwd()
|
||||
container ('alpine') {
|
||||
sh """
|
||||
if [ ! -f "/usr/bin/curl" ] || [ ! -x "/usr/bin/curl" ]; then
|
||||
apk add --no-cache curl
|
||||
|
Reference in New Issue
Block a user