Skip to content

Commit

Permalink
Remove failsafe for docker cp
Browse files Browse the repository at this point in the history
  • Loading branch information
lidel committed Feb 11, 2018
1 parent 72c56da commit 0d43891
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM node:9.5.0
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
ENV PATH="/usr/src/app/node_modules/.bin:${PATH}"
COPY package.json /usr/src/app/package.json
COPY yarn.lock /usr/src/app/yarn.lock
RUN npm run ci:install
ENV PATH="/usr/src/app/node_modules/.bin:${PATH}"
COPY . /usr/src/app
1 change: 0 additions & 1 deletion ci/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ 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 wait ipfs-companion-build-${JOB_BASE_NAME}-${BUILD_NUMBER}' // fix random 'docker cp' errors that copy nothing
sh 'docker cp ipfs-companion-build-${JOB_BASE_NAME}-${BUILD_NUMBER}:/usr/src/app/build/. build/' // copy package
archiveArtifacts artifacts: 'build/*.zip', fingerprint: true
}
Expand Down

0 comments on commit 0d43891

Please sign in to comment.