summaryrefslogtreecommitdiffstats
path: root/bootstrap/jenkins/vagrant
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap/jenkins/vagrant')
-rwxr-xr-xbootstrap/jenkins/vagrant/bootstrap.sh9
-rwxr-xr-xbootstrap/jenkins/vagrant/build-all-docker.sh9
-rwxr-xr-xbootstrap/jenkins/vagrant/build-all-java.sh9
-rwxr-xr-xbootstrap/jenkins/vagrant/jenkins-init-1.sh9
-rwxr-xr-xbootstrap/jenkins/vagrant/jenkins-init-2.sh9
-rwxr-xr-xbootstrap/jenkins/vagrant/jjb-init.sh9
6 files changed, 54 insertions, 0 deletions
diff --git a/bootstrap/jenkins/vagrant/bootstrap.sh b/bootstrap/jenkins/vagrant/bootstrap.sh
index 7c7fe5eb2..fd0caf5c6 100755
--- a/bootstrap/jenkins/vagrant/bootstrap.sh
+++ b/bootstrap/jenkins/vagrant/bootstrap.sh
@@ -1,4 +1,13 @@
#!/bin/bash
+#
+# Copyright 2017 Huawei Technologies Co., Ltd.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
function restart_jenkins() {
sudo systemctl restart jenkins
diff --git a/bootstrap/jenkins/vagrant/build-all-docker.sh b/bootstrap/jenkins/vagrant/build-all-docker.sh
index 081bb1246..b55b0fa80 100755
--- a/bootstrap/jenkins/vagrant/build-all-docker.sh
+++ b/bootstrap/jenkins/vagrant/build-all-docker.sh
@@ -1,4 +1,13 @@
#!/bin/bash
+#
+# Copyright 2017 Huawei Technologies Co., Ltd.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
# build all jobs
cd ~jenkins
diff --git a/bootstrap/jenkins/vagrant/build-all-java.sh b/bootstrap/jenkins/vagrant/build-all-java.sh
index 67333b76f..158e6dd85 100755
--- a/bootstrap/jenkins/vagrant/build-all-java.sh
+++ b/bootstrap/jenkins/vagrant/build-all-java.sh
@@ -1,4 +1,13 @@
#!/bin/bash
+#
+# Copyright 2017 Huawei Technologies Co., Ltd.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
# build all jobs
cd ~jenkins
diff --git a/bootstrap/jenkins/vagrant/jenkins-init-1.sh b/bootstrap/jenkins/vagrant/jenkins-init-1.sh
index 104f040c2..1f0a80859 100755
--- a/bootstrap/jenkins/vagrant/jenkins-init-1.sh
+++ b/bootstrap/jenkins/vagrant/jenkins-init-1.sh
@@ -1,4 +1,13 @@
#!/bin/bash
+#
+# Copyright 2017 Huawei Technologies Co., Ltd.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
git config --global user.email "jenkins@localhost"
git config --global user.name "jenkins"
diff --git a/bootstrap/jenkins/vagrant/jenkins-init-2.sh b/bootstrap/jenkins/vagrant/jenkins-init-2.sh
index 0c5dd9950..a6cddbb10 100755
--- a/bootstrap/jenkins/vagrant/jenkins-init-2.sh
+++ b/bootstrap/jenkins/vagrant/jenkins-init-2.sh
@@ -1,4 +1,13 @@
#!/bin/bash
+#
+# Copyright 2017 Huawei Technologies Co., Ltd.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
cd ~jenkins
ln -s /var/cache/jenkins/war/WEB-INF/jenkins-cli.jar
diff --git a/bootstrap/jenkins/vagrant/jjb-init.sh b/bootstrap/jenkins/vagrant/jjb-init.sh
index 5f32dbb85..e9adeb63b 100755
--- a/bootstrap/jenkins/vagrant/jjb-init.sh
+++ b/bootstrap/jenkins/vagrant/jjb-init.sh
@@ -1,4 +1,13 @@
#!/bin/bash
+#
+# Copyright 2017 Huawei Technologies Co., Ltd.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
cd ~jenkins
git add -A