Skip to content

Commit 3867ae1

Browse files
update readme file.
Signed-off-by: alokgoswami-ag <[email protected]>
1 parent 25b5cf4 commit 3867ae1

File tree

1 file changed

+32
-1
lines changed

1 file changed

+32
-1
lines changed

README.md

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,21 +52,52 @@ Create a virtualenv if required and install required packages using "pip install
5252
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.
5353

5454
```python3 CI_DailyBuildUpdates.py --info_type detailed --zone syd04```
55+
56+
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.
57+
58+
Supported value [p','z','pa']
59+
60+
pa - ppc64le architecture auxilliary jobs
61+
62+
p - ppc64le architecture periodic jobs
63+
64+
z - s390x architecture periodic jobs
65+
66+
```python3 CI_DailyBuildUpdates.py --info_type detailed --job_type pa```
5567

5668

5769

5870
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.
5971

6072
```python3 CI_JobHistory.py```
6173

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+
6283
1. Interactive Execution: The CI_JobHistory.py can be executed in a interactive mode by setting JENKINS variable as False in config.ini file.
6384

6485
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:
6586
```
6687
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+
6799
before_date: End date.
68100
after_date: Start date.
69-
query_option: Query code to fetch information from builds.
70101
tc_name: Testcase name which will be used in quering the failure frequency.
71102
```
72103

0 commit comments

Comments
 (0)