summaryrefslogtreecommitdiffstats
path: root/pharos-dashboard/jenkins/models.py
diff options
context:
space:
mode:
authormaxbr <maxbr@mi.fu-berlin.de>2016-08-22 18:59:47 +0200
committermaxbr <maxbr@mi.fu-berlin.de>2016-08-22 19:04:19 +0200
commitf4e8248d126921603280dffab0e907366391bb72 (patch)
tree35b94e14b2e024bafbc8946b2fe50d8aa34e8357 /pharos-dashboard/jenkins/models.py
parentb426489bafaa4d6d09d1b6cefbbd9a17509090d9 (diff)
Create Jira issue for new booking
JIRA: RELENG-12 The issue is assigned to the lab owner and to the POD Access Request Component. The pgp and ssh keys are uploaded to jira as an attachement. Signed-off-by: maxbr <maxbr@mi.fu-berlin.de>
Diffstat (limited to 'pharos-dashboard/jenkins/models.py')
-rw-r--r--pharos-dashboard/jenkins/models.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/pharos-dashboard/jenkins/models.py b/pharos-dashboard/jenkins/models.py
index f7d54c9..438a882 100644
--- a/pharos-dashboard/jenkins/models.py
+++ b/pharos-dashboard/jenkins/models.py
@@ -21,6 +21,9 @@ class JenkinsSlave(models.Model):
class Meta:
db_table = 'jenkins_slave'
+ def __str__(self):
+ return self.name
+
class JenkinsStatistic(models.Model):
id = models.AutoField(primary_key=True)