forked from Reuf12/apm-pipeline-library
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master' into feature/reuse-pr-…
…automation * upstream/master: Add searchIssuesWithFilters action for the lookForGitHubIssues (#1082) docs: update CHANGELOG.md [maven-release-plugin] prepare for next development iteration [maven-release-plugin] prepare release v1.1.211 Fix build status and adjust Vault (#1074) Remove super-linter since it takes 20 minutes (#1083)
- Loading branch information
Showing
10 changed files
with
145 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,20 @@ | ||
Look for all the open issues that were reported as flaky tests. It returns | ||
Look for all the open issues given some filters. | ||
|
||
For backward compatibilities the default behaviour uses the flaky tests. It returns | ||
a dictionary with the test-name as primary key and the github issue if any or empty otherwise. | ||
|
||
``` | ||
// Look for all the GitHub issues with label 'flaky-test' and test failures either test-foo or test-bar | ||
lookForGitHubIssues( flakyList: [ 'test-foo', 'test-bar'], labelsFilter: [ 'flaky-test']) | ||
lookForGitHubIssues(flakyList: [ 'test-foo', 'test-bar'], labelsFilter: [ 'flaky-test']) | ||
|
||
// Look for all the GitHub issues with label 'automation' and the title contains 'bump: stack' | ||
lookForGitHubIssues(flakySearch: false, labelsFilter: ['automation'], titleContains: 'bump: stack') | ||
``` | ||
|
||
* *flakyList*: list of test-failures. Mandatory | ||
* *flakySearch*: whether to run the default behaviour to look for flaky reported github issues. Optional. Default `true` | ||
* *flakyList*: list of test-failures. Optional. Default `[]` | ||
* *labelsFilter*: list of labels to be filtered when listing the GitHub issues. Optional | ||
* credentialsId: The credentials to access the repo (repo permissions). Optional. Default: 2a9602aa-ab9f-4e52-baf3-b71ca88469c7-UserAndToken | ||
* *titleContains*: title to be filtered when listing the GitHub issues. Optional | ||
* *credentialsId*: The credentials to access the repo (repo permissions). Optional. Default: 2a9602aa-ab9f-4e52-baf3-b71ca88469c7-UserAndToken | ||
|
||
_NOTE_: Windows is not supported yet. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters