This repository has been archived by the owner on Apr 6, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIXED JENKINS-11792] Stop parsing if user canceled the build.
- Loading branch information
Showing
4 changed files
with
61 additions
and
19 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
20 changes: 20 additions & 0 deletions
20
src/main/java/hudson/plugins/warnings/parser/ParsingCanceledException.java
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,20 @@ | ||
package hudson.plugins.warnings.parser; | ||
|
||
import java.io.IOException; | ||
|
||
/** | ||
* Indicates that parsing has been canceled due to a user initiated interrupt. | ||
* | ||
* @author Ulli Hafner | ||
*/ | ||
public class ParsingCanceledException extends IOException { | ||
private static final long serialVersionUID = 3341274949787014225L; | ||
|
||
/** | ||
* Creates a new instance of {@link ParsingCanceledException}. | ||
*/ | ||
public ParsingCanceledException() { | ||
super("Canceling parsing since build has been aborted."); | ||
} | ||
} | ||
|
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