aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/jenkins/vagrant/jjb-init.sh
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2017-11-10 13:38:28 -0800
committerGary Wu <gary.i.wu@huawei.com>2017-11-10 13:56:25 -0800
commit39a2f2f7910a0d86163ad23fe91c2a11e98ece07 (patch)
tree4caec39e04afddefc50bb1bfe3f0dc4a270ce883 /bootstrap/jenkins/vagrant/jjb-init.sh
parent8d99912e879d6deebd0e60763b679aab43b59274 (diff)
Clean up install of JJB and add instrumentation
Change-Id: I73fcfe0335a7d95beef1570919929e05226adfa6 Issue-ID: INT-146 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
Diffstat (limited to 'bootstrap/jenkins/vagrant/jjb-init.sh')
-rwxr-xr-xbootstrap/jenkins/vagrant/jjb-init.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/bootstrap/jenkins/vagrant/jjb-init.sh b/bootstrap/jenkins/vagrant/jjb-init.sh
index e9adeb63b..10b96b4fa 100755
--- a/bootstrap/jenkins/vagrant/jjb-init.sh
+++ b/bootstrap/jenkins/vagrant/jjb-init.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -x
#
# Copyright 2017 Huawei Technologies Co., Ltd.
#
@@ -17,9 +17,10 @@ git commit -m 'Installed plugins, restarted Jenkins' > /dev/null
mkdir -p ~/.config/jenkins_jobs
cp /vagrant/jenkins_jobs.ini ~/.config/jenkins_jobs
-pip install --user jenkins-job-builder
+pip -v install --user jenkins-job-builder
+pip list
-jenkins-job-builder update -r /vagrant/jjb
+jenkins-jobs update -r /vagrant/jjb
cat > .gitignore <<EOF
jobs/*/builds