Skip to content

Commit

Permalink
Switch to explicit chown after ci:build
Browse files Browse the repository at this point in the history
  • Loading branch information
lidel committed Feb 12, 2018
1 parent bc6d574 commit 3357f14
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ci/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ node(label: 'linux') {
catchError {
stage('ci:build') {
sh 'docker run -i --name ipfs-companion-build-${JOB_BASE_NAME}-${BUILD_NUMBER} ipfs-companion:${JOB_BASE_NAME}-${BUILD_NUMBER} npm run ci:build'
sh 'docker cp ipfs-companion-build-${JOB_BASE_NAME}-${BUILD_NUMBER}:/usr/src/app/build/. build/' // copy package
sh 'docker cp ipfs-companion-build-${JOB_BASE_NAME}-${BUILD_NUMBER}:/usr/src/app/build .' // copy package
archiveArtifacts artifacts: 'build/*.zip', fingerprint: true
}
stage('lint:web-ext') {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"ci": "run-s ci:*",
"ci:install": "npx yarn@1.3.2 install --frozen-lockfile || npx yarn@1.3.2 install --frozen-lockfile",
"ci:test": "npx yarn@1.3.2 test",
"ci:build": "npx yarn@1.3.2 build && shx chmod -R g=u,o=u build/ add-on/",
"ci:build": "npx yarn@1.3.2 build ; chmod -R ugo+rwX build/ add-on/",
"yarn-build": "npx yarn@1.3.2 && npx yarn@1.3.2 build"
},
"private": true,
Expand Down

0 comments on commit 3357f14

Please sign in to comment.