Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from oleg-nenashev/JENKINS-26374
[FIXED JENKINS-26374] - Avoid NPE for deleted builds in UpstreamCauseRestriction for jobs
- Loading branch information
Showing
4 changed files
with
42 additions
and
4 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
1 change: 1 addition & 0 deletions
1
...sys/arc/jenkinsci/plugins/jobrestrictions/jobs/UpstreamCauseRestriction/config.properties
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
skipCheckForMissingInfo=Don't fail for jobs with missing upstream build info |
12 changes: 12 additions & 0 deletions
12
...i/plugins/jobrestrictions/jobs/UpstreamCauseRestriction/help-skipCheckForMissingInfo.html
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<div> | ||
Allows to disable the check for missing upstream build info. | ||
<p> | ||
Upstream build info may be missing in several cases | ||
(e.g. build has been deleted by log rotation handlers). | ||
In such case the plugin won't be able to extract the data from the upstream build. | ||
</p> | ||
<p> | ||
The enabled control will prevent false-failures, but the security may be violated. | ||
Use the control <b style="color:red">on your own risk</b> | ||
</p> | ||
</div> |