CI updates

This commit is contained in:
Jamie Curnow 2018-06-20 10:03:29 +10:00
parent 3970d2891f
commit 57be155bb6

2
Jenkinsfile vendored
View File

@ -20,7 +20,7 @@ pipeline {
stage('Build') {
steps {
sh 'docker run --rm -v $(pwd):/srv/app -w /srv/app jc21/node yarn --registry=$NPM_REGISTRY install'
sh 'docker run --rm -v $(pwd):/srv/app -w /srv/app jc21/node bin/build'
sh 'docker run --rm -v $(pwd):/srv/app -w /srv/app jc21/node npm run-script build'
sh 'rm -rf node_modules'
sh 'docker run --rm -v $(pwd):/srv/app -w /srv/app jc21/node yarn --registry=$NPM_REGISTRY install --prod'
sh 'docker run --rm -v $(pwd):/data $DOCKER_CI_TOOLS node-prune'