Update shell script for Jenkins
All checks were successful
aviat/HummingBirdAnimeClient/develop This commit looks good
All checks were successful
aviat/HummingBirdAnimeClient/develop This commit looks good
This commit is contained in:
parent
592e9d2c86
commit
762bdba724
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@ -6,8 +6,8 @@ pipeline {
|
|||||||
docker { image 'php:7.1-alpine' }
|
docker { image 'php:7.1-alpine' }
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
sh 'chmod +x build/docker_install.sh'
|
sh 'chmod +x ./build/docker_install.sh'
|
||||||
sh 'build/docker_install.sh'
|
sh 'sh build/docker_install.sh'
|
||||||
sh 'apk add --no-cache php7-phpdbg'
|
sh 'apk add --no-cache php7-phpdbg'
|
||||||
sh 'curl -sS https://getcomposer.org/installer | php'
|
sh 'curl -sS https://getcomposer.org/installer | php'
|
||||||
sh 'php composer.phar install --ignore-platform-reqs'
|
sh 'php composer.phar install --ignore-platform-reqs'
|
||||||
@ -19,8 +19,8 @@ pipeline {
|
|||||||
docker { image 'php:7.2-alpine' }
|
docker { image 'php:7.2-alpine' }
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
sh 'chmod +x build/docker_install.sh'
|
sh 'chmod +x ./build/docker_install.sh'
|
||||||
sh 'build/docker_install.sh'
|
sh 'sh build/docker_install.sh'
|
||||||
sh 'apk add --no-cache php7-phpdbg'
|
sh 'apk add --no-cache php7-phpdbg'
|
||||||
sh 'curl -sS https://getcomposer.org/installer | php'
|
sh 'curl -sS https://getcomposer.org/installer | php'
|
||||||
sh 'php composer.phar install --ignore-platform-reqs'
|
sh 'php composer.phar install --ignore-platform-reqs'
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
set -xe
|
set -xe
|
||||||
|
|
||||||
# Install git (the php image doesn't have it) which is required by composer
|
# Install git (the php image doesn't have it) which is required by composer
|
||||||
echo -e 'http://dl-cdn.alpinelinux.org/alpine/edge/main\nhttp://dl-cdn.alpinelinux.org/alpine/edge/community\nhttp://dl-cdn.alpinelinux.org/alpine/edge/testing' > /etc/apk/repositories
|
# echo -e 'http://dl-cdn.alpinelinux.org/alpine/edge/main\nhttp://dl-cdn.alpinelinux.org/alpine/edge/community\nhttp://dl-cdn.alpinelinux.org/alpine/edge/testing' > /etc/apk/repositories
|
||||||
apk add --no-cache \
|
apk --update add --no-cache \
|
||||||
curl \
|
curl \
|
||||||
git
|
git
|
||||||
|
Loading…
Reference in New Issue
Block a user