Use pip with sudo 99/8099/2
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>
Fri, 6 Jan 2017 20:07:15 +0000 (21:07 +0100)
committerJan-Simon Möller <jsmoeller@linuxfoundation.org>
Fri, 6 Jan 2017 20:11:46 +0000 (21:11 +0100)
Change-Id: Id36f63feaebe1bc2ac84a0754872d4ed164c9c6b
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
packer/provision/agl_dependencies.sh

index 8311fcd..a8b0483 100644 (file)
@@ -39,7 +39,7 @@ cat <<EOFHOSTS >> /etc/hosts
 EOFHOSTS
 
 # install newer version of jjb ... fixes issues with rendering
-pip install --upgrade jenkins-job-builder 
+sudo pip install --upgrade --force-reinstall -v jenkins-job-builder 
 
 cat <<EOFSYSCTL >> /etc/sysctl.conf
 # we have a lot of make jobs, this helps a lot