You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+32-1Lines changed: 32 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,21 +52,52 @@ Create a virtualenv if required and install required packages using "pip install
52
52
4. The CI_DailyBuildUpdates.py script when invoked with command line arguments info_type as "detailed" and zone, it will display the builds details in the provided zone.
5. The CI_DailyBuildUpdates.py script when invoked with command line arguments info_type as "detailed" and --job_type as "pa", it will display the builds details in the given job type.
2.**CI_JobHistory.py:** The CI_JobHistory.py is a script which allows user to query a specific information from all builds that ran on the CI system within a given date range.
59
71
60
72
```python3 CI_JobHistory.py```
61
73
74
+
```python3 CI_Jobhistory.py --zone ``` This command line allows user to fetch query based on zone type.
75
+
76
+
```python3 CI_Jobhistory.py --job_type ``` This command line allows user to fetch query based on job type.
77
+
78
+
```python3 CI_Jobhistory.py --filter ``` This command line allows user to fetch query based on search filter.
79
+
Specify the filter string to fetch jobs (Example 'heavy build' / libvirt / powervs / upgrade /multi / 4.14 / 4.15 / 4.16 / 4.17/ 4.18 )'
80
+
81
+
82
+
62
83
1. Interactive Execution: The CI_JobHistory.py can be executed in a interactive mode by setting JENKINS variable as False in config.ini file.
63
84
64
85
2. Non-Interactive Execution: The CI_JobHistory.py can be executed in a non-interactive mode by setting JENKINS variable as True in config.ini file, along with the JENKINS variable user needs to provide values for the following variables:
65
86
```
66
87
selected_ci: CI's from where to fetch the jobs.
88
+
query_option: Query code to fetch information from builds.
89
+
• Check Node Crash: Detects if a node crashed during execution.
90
+
• Brief Job Information: Provides a summary of job execution.
91
+
• Detailed Job Information: Fetches in-depth details of jobs.
92
+
• Failed Test Cases: Lists test cases that failed in the CI run.
93
+
• Get Builds with Test Case Failures: Identifies builds where given test cases failed.
94
+
• Test Case Failure Frequency: Analyzes how often test cases fail.
95
+
• Get Build Based on Release: Retrieves builds corresponding to a specific release
96
+
release: Provide initial release
97
+
next release: provide latest release
98
+
67
99
before_date: End date.
68
100
after_date: Start date.
69
-
query_option: Query code to fetch information from builds.
70
101
tc_name: Testcase name which will be used in quering the failure frequency.
0 commit comments