projects
/
osm
/
devops.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70cd657
)
cleanup deb pre-existing builds
48/1948/1
author
Mike Marchetti
<mmarchetti@sandvine.com>
Mon, 19 Jun 2017 21:20:42 +0000
(17:20 -0400)
committer
Mike Marchetti
<mmarchetti@sandvine.com>
Mon, 19 Jun 2017 21:20:42 +0000
(17:20 -0400)
Change-Id: Ic91ef2d5fd65b3a45e449c84afe9d5877d065720
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
jenkins/osmclient/start_build
patch
|
blob
|
history
diff --git
a/jenkins/osmclient/start_build
b/jenkins/osmclient/start_build
index
df4fc27
..
2206a1a
100755
(executable)
--- a/
jenkins/osmclient/start_build
+++ b/
jenkins/osmclient/start_build
@@
-37,6
+37,10
@@
OSM_git_checkout "$@"
apt update
apt install -y docker.io
+# cleanup all pre-existing builds.
+# deb pkg build fails if previous build image is present
+rm -rf deb_dist dist
+
docker build -t $OSM_MDG .
DOCKER_ARGS="-v $(pwd):$(pwd) -w $(pwd) -u $(id -u):$(id -g) $OSM_MDG"