From 5c0b166d949eddc312de70c493f0d26834f7ed90 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Feb 20 2017 15:48:10 +0000 Subject: Include the namespace in the callback URL to give to jenkins Otherwise, we end up not finding the project when jenkins calls us back that the build is finished. --- diff --git a/pagure/hooks/pagure_ci.py b/pagure/hooks/pagure_ci.py index 5ff4612..bd29740 100644 --- a/pagure/hooks/pagure_ci.py +++ b/pagure/hooks/pagure_ci.py @@ -74,7 +74,7 @@ The URL to be used to POST the results of your build is: {{ (config['APP_URL'][:-1] if config['APP_URL'].endswith('/') else config['APP_URL']) + url_for('api_ns.%s_ci_notification' % repo.ci_hook.ci_type, - repo=repo.name, username=username, + repo=repo.name, username=username, namespace=repo.namespace, pagure_ci_token=repo.ci_hook.pagure_ci_token) }}