diff options
-rw-r--r-- | resources/tools/presentation/input_data_parser.py | 7 | ||||
-rw-r--r-- | resources/tools/presentation/specification_CPTA.yaml | 2 |
2 files changed, 5 insertions, 4 deletions
diff --git a/resources/tools/presentation/input_data_parser.py b/resources/tools/presentation/input_data_parser.py index 835609178c..762afc4180 100644 --- a/resources/tools/presentation/input_data_parser.py +++ b/resources/tools/presentation/input_data_parser.py @@ -1307,6 +1307,7 @@ class InputData(object): for build in builds: result = self._download_and_parse_build(job, build, repeat) + build_nr = result["build"]["build"] if result["data"]: data = result["data"] @@ -1321,12 +1322,12 @@ class InputData(object): if self._input_data.get(job, None) is None: self._input_data[job] = pd.Series() - self._input_data[job][str(build)] = build_data + self._input_data[job][str(build_nr)] = build_data self._cfg.set_input_file_name( - job, build, result["build"]["file-name"]) + job, build_nr, result["build"]["file-name"]) - self._cfg.set_input_state(job, build, result["state"]) + self._cfg.set_input_state(job, build_nr, result["state"]) logging.info("Done.") diff --git a/resources/tools/presentation/specification_CPTA.yaml b/resources/tools/presentation/specification_CPTA.yaml index f09f1b39a7..f4b647b87c 100644 --- a/resources/tools/presentation/specification_CPTA.yaml +++ b/resources/tools/presentation/specification_CPTA.yaml @@ -578,7 +578,7 @@ extract: "output.xml" # Number of days from now to the past. Only files generated in this # time period are used. - time-period: 90 + time-period: 60 builds: |