diff options
author | Gary Wu <gary.i.wu@huawei.com> | 2017-06-22 12:40:23 -0700 |
---|---|---|
committer | Gary Wu <gary.i.wu@huawei.com> | 2017-06-22 12:40:23 -0700 |
commit | 3824c756a23e784469ffceeb80c048c3afab0d95 (patch) | |
tree | 76c30d071a87a62ca0c381a0284b4919af9be806 /bootstrap | |
parent | e275c160f6171951366190274e0bbe4b84fd0395 (diff) |
Fix bug in paths
Change-Id: I5f2ee3169c036496ca5bc9b7c6b64b002b7616de
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
Diffstat (limited to 'bootstrap')
-rwxr-xr-x | bootstrap/jenkins/vagrant/jenkins-init-1.sh | 2 | ||||
-rwxr-xr-x | bootstrap/jenkins/vagrant/jjb-init.sh | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/bootstrap/jenkins/vagrant/jenkins-init-1.sh b/bootstrap/jenkins/vagrant/jenkins-init-1.sh index a5599a7e8..776f2db73 100755 --- a/bootstrap/jenkins/vagrant/jenkins-init-1.sh +++ b/bootstrap/jenkins/vagrant/jenkins-init-1.sh @@ -3,7 +3,7 @@ git config --global user.email "jenkins@localhost" git config --global user.name "jenkins" -cd ~/jenkins +cd ~jenkins cp /etc/skel/.profile . cat > .bashrc <<EOF diff --git a/bootstrap/jenkins/vagrant/jjb-init.sh b/bootstrap/jenkins/vagrant/jjb-init.sh index 8842ed0ad..a37168d84 100755 --- a/bootstrap/jenkins/vagrant/jjb-init.sh +++ b/bootstrap/jenkins/vagrant/jjb-init.sh @@ -1,5 +1,6 @@ #!/bin/bash +cd ~jenkins git add -A git commit -m 'Installed plugins, restarted Jenkins' |