Skip to content

Commit c8f6bc9

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

File tree

1 file changed

+29
-1
lines changed

1 file changed

+29
-1
lines changed

README.md

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,21 +52,49 @@ 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+
pa - ppc64le architecture auxilliary jobs
60+
p - ppc64le architecture periodic jobs
61+
z - s390x architecture periodic jobs
62+
63+
```python3 CI_DailyBuildUpdates.py --info_type detailed --job_type pa```
5564

5665

5766

5867
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.
5968

6069
```python3 CI_JobHistory.py```
6170

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

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

0 commit comments

Comments
 (0)