From 005f5d4d6e4ec01ec6b9eb6239fc8b4b586ae20a Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Aug 08 2016 17:30:39 +0000 Subject: Display separately the jenkins token and the result URL --- diff --git a/pagure/hooks/pagure_ci.py b/pagure/hooks/pagure_ci.py index 689a0cb..37fbb6e 100644 --- a/pagure/hooks/pagure_ci.py +++ b/pagure/hooks/pagure_ci.py @@ -61,8 +61,13 @@ class PagureCITable(BASE): tmpl = """ {% if repo | hasattr('ci_hook') and repo.ci_hook and repo.ci_hook[0].pagure_ci_token %} -The URL to be used to POST the results of your build -is: + +The token to be used by jenkins to trigger the build is: +
+{{ repo.ci_hook[0].pagure_ci_token}}
+
+ +The URL to be used to POST the results of your build is:
 {{ (config['APP_URL'][:-1] if config['APP_URL'].endswith('/')