3 # Copyright 2017 Huawei Technologies Co., Ltd.
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
9 # http://www.apache.org/licenses/LICENSE-2.0
14 git commit -m 'Installed plugins, restarted Jenkins' > /dev/null
17 mkdir -p ~/.config/jenkins_jobs
18 cp /vagrant/jenkins_jobs.ini ~/.config/jenkins_jobs
20 pip -v install --user jenkins-job-builder
23 jenkins-jobs update -r /vagrant/jjb
25 cat > .gitignore <<EOF
34 git commit -m 'Set up initial jobs' > /dev/null