jenkinsci / jenkinsci/github-autostatus-plugin
Issues with catchError and NOT_BUILT
Open
- Dominant language
- Java
- Stars
- 58
- Forks
- 38
- PR merge metrics
- No merged PRs in 30d
Description
After #87 things are working much better but I do have some code that will do something like this:
```
catchError(buildResult: null, stageResult: 'NOT_BUILT') {
echo 'Skipping static analysis'
sh 'exit 1'
}
```
This results in the stage being stuck in a `Pending` state in GitHub. Personally, I think these should get considered as successful or I guess just not considered at all when determining stage state.
Contributor guide
Assessment
This issue has not been assessed yet.