commit 4a8d40ab337c448837df6c5ed6b72a38e402a504
parent 23d7f6a348769ea53f98a05384082eb8235ea0cd
Author: parazyd <parazyd@dyne.org>
Date: Mon, 24 Jul 2017 18:23:43 +0200
remove all mentions of groups, they are not necessary
Diffstat:
2 files changed, 2 insertions(+), 8 deletions(-)
diff --git a/buildadd.py b/buildadd.py
@@ -35,12 +35,11 @@ def main():
# the -4 cuts off '.git' from the path
pkgname = basename(env['SCORSH_REPO'])[:-4]
- group = basename(dirname(env['SCORSH_REPO']))
for jobt in jobtypes:
jobname = '-'.join([pkgname, jobt])
- print('* Trying to create %s job for %s/%s' % (jobt, group, pkgname))
+ print('* Trying to create %s job for %s' % (jobt, pkgname))
if jenk.job_exists(jobname) and progname == 'buildadd.py':
print('* %s already exists')
diff --git a/builddel.py b/builddel.py
@@ -31,15 +31,10 @@ def main():
# the -4 cuts off '.git' from the path
pkgname = basename(env['SCORSH_REPO'])[:-4]
- group = basename(dirname(env['SCORSH_REPO']))
-
for jobt in jobtypes:
jobname = '-'.join([pkgname, jobt])
- # TODO: here maybe correlate to config.buildgroups
- # i.e.: if not group in buildgroups: exit
-
- print('* Trying to delete %s job for %s/%s' % (jobt, group, pkgname))
+ print('* Trying to delete %s job for %s' % (jobt, pkgname))
if not jenk.job_exists(jobname):
print('* %s does not exist in Jenkins' % jobname)