Skip to content
This repository has been archived by the owner on May 22, 2024. It is now read-only.

Commit

Permalink
Fix ci perms
Browse files Browse the repository at this point in the history
  • Loading branch information
jc21 committed May 21, 2020
1 parent 199ec85 commit 2643028
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ pipeline {
stage('Build') {
steps {
// Codebase
sh 'docker run --rm -v $(pwd):/app -w /app "${BASE_IMAGE_NAME}" chown -R "$(id -u):$(id -g)" *'
sh 'docker run --rm -v $(pwd):/app -w /app "${BASE_IMAGE_NAME}" yarn install'
sh 'docker run --rm -v $(pwd):/app -w /app "${BASE_IMAGE_NAME}" yarn build'
sh 'docker run --rm -v $(pwd):/app -w /app "${BASE_IMAGE_NAME}" chown -R "$(id -u):$(id -g)" *'
sh 'rm -rf node_modules'
sh 'docker run --rm -v $(pwd):/app -w /app "${BASE_IMAGE_NAME}" yarn install --prod'
sh 'docker run --rm -v $(pwd):/data "${DOCKER_CI_TOOLS}" node-prune'
Expand Down

0 comments on commit 2643028

Please sign in to comment.