Skip to content

Commit

Permalink
Docker doesn't like the --rm flag to remove the container upon run wh…
Browse files Browse the repository at this point in the history
…en not running it from a terminval, it'll already get removed in the buildsuccess script so just taking it out
  • Loading branch information
jredbeard committed Jan 2, 2017
1 parent 1ba0556 commit d273dde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ciscripts/buildscript.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ fi
sudo docker build -t=$IMAGE_NAME .
sudo docker login --username=$DOCKER_USER --password=$DOCKER_PASS
sudo docker push $IMAGE_NAME
sudo docker run --rm -v /var/jenkins_home:/var/jenkins $IMAGE_NAME cp -r /var/cobertura /var/jenkins
sudo docker run -v /var/jenkins_home:/var/jenkins $IMAGE_NAME cp -r /var/cobertura /var/jenkins

0 comments on commit d273dde

Please sign in to comment.