This is an automated email from the ASF dual-hosted git repository.

abaker pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/develop by this push:
     new 8444bd0  [GEODE-4891] Fixes for concourse API changes.
8444bd0 is described below

commit 8444bd072e0c379baa9ce2ef7b40d7b0ada61ba5
Author: Sean Goller <sgol...@pivotal.io>
AuthorDate: Mon Mar 19 11:25:40 2018 -0700

    [GEODE-4891] Fixes for concourse API changes.
    
    * Generate concourse job URL because the url field was removed in
      Concourse 3.9.2.
---
 ci/bin/concourse_job_performance.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ci/bin/concourse_job_performance.py 
b/ci/bin/concourse_job_performance.py
index 6b530bf..66bfc89 100755
--- a/ci/bin/concourse_job_performance.py
+++ b/ci/bin/concourse_job_performance.py
@@ -115,6 +115,6 @@ if failed_build_count > 0:
                   color("{} failures".format(count), fg='red'),
                   color("({}% success rate)".format(((completed_build_count - 
count)/completed_build_count) * 100), fg='blue'))
             for build in failures[failure]:
-                print(color("  Failed build {} ".format(build['name']), 
fg='red'), color("at {}{}".format(url, build['url']), fg='magenta', 
style='bold'))
+                print(color("  Failed build {} ".format(build['name']), 
fg='red'), color("at {}/teams/{}/pipelines/{}/jobs/{}/builds/{}".format(url, 
build['team_name'],build['pipeline_name'], build['job_name'], build['name']), 
fg='magenta', style='bold'))
 else:
     print(color("No failures! 100% success rate", fg='green',style='bold'))

-- 
To stop receiving notification emails like this one, please contact
aba...@apache.org.

Reply via email to