Skip to content

Commit 647fd28

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

File tree

1 file changed

+28
-1
lines changed

1 file changed

+28
-1
lines changed

README.md

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,21 +52,48 @@ 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+
Supported value [p','z','pa']
58+
pa - ppc64le architecture auxilliary jobs
59+
p - ppc64le architecture periodic jobs
60+
z - s390x architecture periodic jobs
61+
62+
```python3 CI_DailyBuildUpdates.py --info_type detailed --job_type pa```
5563

5664

5765

5866
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.
5967

6068
```python3 CI_JobHistory.py```
6169

70+
```python3 CI_Jobhistory.py --zone ``` This command line allows user to fetch query based on zone type.
71+
72+
```python3 CI_Jobhistory.py --job_type ``` This command line allows user to fetch query based on job type.
73+
74+
```python3 CI_Jobhistory.py --filter ``` This command line allows user to fetch query based on search filter.
75+
Specify the filter string to fetch jobs (Example 'heavy build' / libvirt / powervs / upgrade /multi / 4.14 / 4.15 / 4.16 / 4.17/ 4.18 )'
76+
77+
78+
6279
1. Interactive Execution: The CI_JobHistory.py can be executed in a interactive mode by setting JENKINS variable as False in config.ini file.
6380

6481
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:
6582
```
6683
selected_ci: CI's from where to fetch the jobs.
84+
query_option: Query code to fetch information from builds.
85+
• Check Node Crash: Detects if a node crashed during execution.
86+
• Brief Job Information: Provides a summary of job execution.
87+
• Detailed Job Information: Fetches in-depth details of jobs.
88+
• Failed Test Cases: Lists test cases that failed in the CI run.
89+
• Get Builds with Test Case Failures: Identifies builds where given test cases failed.
90+
• Test Case Failure Frequency: Analyzes how often test cases fail.
91+
• Get Build Based on Release: Retrieves builds corresponding to a specific release
92+
release: Provide initial release
93+
next release: provide latest release
94+
6795
before_date: End date.
6896
after_date: Start date.
69-
query_option: Query code to fetch information from builds.
7097
tc_name: Testcase name which will be used in quering the failure frequency.
7198
```
7299

0 commit comments

Comments
 (0)