Skip to content

Commit f391f70

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

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

README.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,21 +52,42 @@ 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+
```python3 CI_DailyBuildUpdates.py --info_type detailed --job_type pa```
5559

5660

5761

5862
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.
5963

6064
```python3 CI_JobHistory.py```
6165

66+
```python3 CI_Jobhistory.py --zone ``` This command line allows user to fetch querry based on zone type.
67+
68+
```python3 CI_Jobhistory.py --job_type ``` This command line allows user to fetch querry based on job type.
69+
70+
```python3 CI_Jobhistory.py --filter ``` This command line allows user to fetch querry based on search filter.
71+
72+
6273
1. Interactive Execution: The CI_JobHistory.py can be executed in a interactive mode by setting JENKINS variable as False in config.ini file.
6374

6475
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:
6576
```
6677
selected_ci: CI's from where to fetch the jobs.
78+
query_option: Query code to fetch information from builds.
79+
• Check Node Crash: Detects if a node crashed during execution.
80+
• Brief Job Information: Provides a summary of job execution.
81+
• Detailed Job Information: Fetches in-depth details of jobs.
82+
• Failed Test Cases: Lists test cases that failed in the CI run.
83+
• Get Builds with Test Case Failures: Identifies builds where given test cases failed.
84+
• Test Case Failure Frequency: Analyzes how often test cases fail.
85+
• Get Build Based on Release: Retrieves builds corresponding to a specific release
86+
release: Provide initial release
87+
next release: provide latest release
88+
6789
before_date: End date.
6890
after_date: Start date.
69-
query_option: Query code to fetch information from builds.
7091
tc_name: Testcase name which will be used in quering the failure frequency.
7192
```
7293

0 commit comments

Comments
 (0)