moves variable set to script block

This commit is contained in:
Hyatt 2022-03-29 18:28:25 -05:00
parent 8fe6aa5e96
commit 58df2c1150
Signed by: nhyatt
GPG Key ID: C50D0BBB5BC40BEA

View File

@ -32,9 +32,9 @@ pipeline {
stages {
stage ('Initalize Jenkins') {
steps {
script {
workspace = pwd()
container ('alpine') {
script {
sh """
if [ ! -f "/usr/bin/curl" ] || [ ! -x "/usr/bin/curl" ]; then
apk add --no-cache curl