summaryrefslogtreecommitdiffstats
path: root/jjb/ci-management
diff options
context:
space:
mode:
authorThanh Ha <thanh.ha@linuxfoundation.org>2016-10-14 00:52:48 -0400
committerThanh Ha <thanh.ha@linuxfoundation.org>2016-10-14 00:52:51 -0400
commit58aca6074fe151ddf713a2ccfd107157bb2b6509 (patch)
tree74ddd70f8532f7e9a31cc39d93423727a5684fb1 /jjb/ci-management
parent21316a6aa857071e89e4d512613a785eddac2ae5 (diff)
Remove jjb-update.sh script
The jjb-update.sh script was used by ODL when they had a custom abstraction layer ontop of JJB for further customizing job templates. This is no longer used in ODL and FD.io never had any custom JJB scripting layer to begin with so this script is actually an unnecessary additional process being run, remove it. Also improve the merge job to print out python library versions and jenkins-jobs version for troubleshooting. Change-Id: I2e174747601c3ea31b1f5912ac56815bd73b3ae2 Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
Diffstat (limited to 'jjb/ci-management')
-rw-r--r--jjb/ci-management/ci-management-jobs.yaml6
-rw-r--r--jjb/ci-management/include-raw-jjb-update.sh10
2 files changed, 4 insertions, 12 deletions
diff --git a/jjb/ci-management/ci-management-jobs.yaml b/jjb/ci-management/ci-management-jobs.yaml
index ddef5ee9d..226d77f91 100644
--- a/jjb/ci-management/ci-management-jobs.yaml
+++ b/jjb/ci-management/ci-management-jobs.yaml
@@ -80,8 +80,10 @@
branch: '{branch}'
builders:
- - shell:
- !include-raw-escape: include-raw-jjb-update.sh
+ - shell: |
+ pip freeze
+ jenkins-jobs --version
+ jenkins-jobs update --recursive --delete-old --workers 4 jjb/
- job-template:
name: ci-management-verify-zuul
diff --git a/jjb/ci-management/include-raw-jjb-update.sh b/jjb/ci-management/include-raw-jjb-update.sh
deleted file mode 100644
index 1a06ecef9..000000000
--- a/jjb/ci-management/include-raw-jjb-update.sh
+++ /dev/null
@@ -1,10 +0,0 @@
-jenkins-jobs update --recursive --delete-old --workers 4 jjb/
-
-# Submit patches for any jobs that can be auto updated
-function submitJJB {
- git commit -asm "Update automated project templates"
- git push origin HEAD:refs/for/master
-}
-
-gitdir=$(git rev-parse --git-dir); scp -p -P 29418 rotterdam-jobbuilder@gerrit.fd.io:hooks/commit-msg ${gitdir}/hooks/
-git diff --exit-code || submitJJB