Fix bug in paths 01/5201/1
authorGary Wu <gary.i.wu@huawei.com>
Thu, 22 Jun 2017 19:40:23 +0000 (12:40 -0700)
committerGary Wu <gary.i.wu@huawei.com>
Thu, 22 Jun 2017 19:40:23 +0000 (12:40 -0700)
Change-Id: I5f2ee3169c036496ca5bc9b7c6b64b002b7616de
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
bootstrap/jenkins/vagrant/jenkins-init-1.sh
bootstrap/jenkins/vagrant/jjb-init.sh

index a5599a7..776f2db 100755 (executable)
@@ -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
index 8842ed0..a37168d 100755 (executable)
@@ -1,5 +1,6 @@
 #!/bin/bash
 
+cd ~jenkins
 git add -A
 git commit -m 'Installed plugins, restarted Jenkins'