X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Ftools%2Fpresentation_new%2Fgenerator_CPTA.py;h=24dc28c2f729c1000802979f71c7f9f5ce7b1589;hp=f230a64c2f5e0c82713dd8c705465b0f839404ef;hb=42fe666a56bb77efec0dd08268ee57e6482962d3;hpb=ff8ba5fd5fd066332b4b109caad09e5dbb86b853 diff --git a/resources/tools/presentation_new/generator_CPTA.py b/resources/tools/presentation_new/generator_CPTA.py index f230a64c2f..24dc28c2f7 100644 --- a/resources/tools/presentation_new/generator_CPTA.py +++ b/resources/tools/presentation_new/generator_CPTA.py @@ -1,4 +1,4 @@ -# Copyright (c) 2018 Cisco and/or its affiliates. +# Copyright (c) 2019 Cisco and/or its affiliates. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: @@ -427,7 +427,8 @@ def _generate_all_charts(spec, input_data): builds_dict[job] = list() for build in spec.input["builds"][job]: status = build["status"] - if status != "failed" and status != "not found": + if status != "failed" and status != "not found" and \ + status != "removed": builds_dict[job].append(str(build["build"])) # Create "build ID": "date" dict: