From 643e83d598e63c91960f46551f00ebb7aa751ba0 Mon Sep 17 00:00:00 2001 From: Ed Bartosh Date: Tue, 15 Oct 2013 13:41:19 +0300 Subject: [PATCH] Deleted delete-tag job The reason is that we don't need to delete any tags. We may need another job to delete old tags, but we don't need to delete them just because the change was rejected like delete-tag does. Moreover job_deletetag.py has bugs. It may end up in infinite loop if it can't force push to git repo. Removing the job automatically fixes this issue. Fixes: #1379 Change-Id: Ifa3e607bb3175851e250a17d1a5568674bfc09ca Signed-off-by: Ed Bartosh --- jobs/delete-tag/config.xml | 93 --------------------------------------------- packaging/jenkins-jobs.spec | 2 - 2 files changed, 95 deletions(-) delete mode 100644 jobs/delete-tag/config.xml diff --git a/jobs/delete-tag/config.xml b/jobs/delete-tag/config.xml deleted file mode 100644 index fc6b506..0000000 --- a/jobs/delete-tag/config.xml +++ /dev/null @@ -1,93 +0,0 @@ - - - - This job will delete all tags attach to commit, which is abandoned or overwritten in gerrit. - - 7 - 500 - -1 - -1 - - false - - - 100 - - - - master - false - false - false - false - - - - - - REG_EXP - .* - - - REG_EXP - .* - - - - - - false - false - false - false - - true - true - false - - - - - - - - - - - - false - - - - - true - - - #!/bin/bash -set -x - -python jenkins-scripts/job_deletetag.py - - - - - - false - - - - configuration, jenkins-scripts/job_deletetag.py, jenkins-scripts/common/*, jenkins-scripts/testprojects/*, jenkins-scripts/gitbuildsys/* - - false - false - false - userContent - - - - ${WORKSPACE}/configuration - false - - - - \ No newline at end of file diff --git a/packaging/jenkins-jobs.spec b/packaging/jenkins-jobs.spec index ed44958..80ae335 100644 --- a/packaging/jenkins-jobs.spec +++ b/packaging/jenkins-jobs.spec @@ -63,8 +63,6 @@ cp -rf jobs/* %{buildroot}%{destdir}/ %dir %{destdir} %dir %{destdir}/pre-release-gerrit/ %{destdir}/pre-release-gerrit/config.xml -%dir %{destdir}/delete-tag/ -%{destdir}/delete-tag/config.xml %dir %{destdir}/image-creator/ %{destdir}/image-creator/config.xml %dir %{destdir}/post-image-creation/ -- 2.7.4