The correct syntax helps for working CI

This commit is contained in:
Timothy Warren 2020-03-12 10:26:00 -04:00
parent db68f983bf
commit acd507d7f2

12
Jenkinsfile vendored
View File

@ -7,12 +7,12 @@ pipeline {
image 'php-alpine' image 'php-alpine'
args '-u root --privileged' args '-u root --privileged'
} }
steps { }
sh 'apk add --no-cache git' steps {
sh 'curl -sS https://getcomposer.org/installer | php' sh 'apk add --no-cache git'
sh 'rm -f composer.lock' sh 'curl -sS https://getcomposer.org/installer | php'
sh 'php composer.phar install --ignore-platform-reqs' sh 'rm -f composer.lock'
} sh 'php composer.phar install --ignore-platform-reqs'
} }
} }
stage('PHP 7.3') { stage('PHP 7.3') {