Simplify Jenkins build again
All checks were successful
timw4mail/HummingBirdAnimeClient/pipeline/head This commit looks good
All checks were successful
timw4mail/HummingBirdAnimeClient/pipeline/head This commit looks good
This commit is contained in:
parent
e550a096bc
commit
61ca4300d4
12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
@ -5,6 +5,9 @@ pipeline {
|
||||
agent any
|
||||
steps {
|
||||
sh 'curl -sS https://getcomposer.org/installer | php'
|
||||
sh 'rm -rf ./vendor'
|
||||
sh 'rm -f composer.lock'
|
||||
sh 'php composer.phar install --ignore-platform-reqs'
|
||||
}
|
||||
}
|
||||
stage('PHP 7.3') {
|
||||
@ -16,9 +19,6 @@ pipeline {
|
||||
}
|
||||
steps {
|
||||
sh 'apk add --no-cache git'
|
||||
sh 'rm -rf ./vendor'
|
||||
sh 'rm -f composer.lock'
|
||||
sh 'php composer.phar install --ignore-platform-reqs'
|
||||
sh 'php ./vendor/bin/phpunit --colors=never'
|
||||
}
|
||||
}
|
||||
@ -31,9 +31,6 @@ pipeline {
|
||||
}
|
||||
steps {
|
||||
sh 'apk add --no-cache git'
|
||||
sh 'rm -rf ./vendor'
|
||||
sh 'rm -f composer.lock'
|
||||
sh 'php composer.phar install --ignore-platform-reqs'
|
||||
sh 'php ./vendor/bin/phpunit --colors=never'
|
||||
}
|
||||
}
|
||||
@ -46,9 +43,6 @@ pipeline {
|
||||
}
|
||||
steps {
|
||||
sh 'apk add --no-cache git'
|
||||
sh 'rm -rf ./vendor'
|
||||
sh 'rm -f composer.lock'
|
||||
sh 'php composer.phar install --ignore-platform-reqs'
|
||||
sh 'php ./vendor/bin/phpunit --colors=never'
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user