Merge pull request #3265 from jglick/simple-build-steps-should-be-simple-JENKINS-47142

[JENKINS-47142] Simplifying the logic of ArtifactArchiver.perform, making it friendlier to Pipeline
This commit is contained in:
Oleg Nenashev authored and GitHub committed 2018-02-16 20:06:33 +01:00
commit e5fd7b7c90
16 files changed
+18 -43

No files matched your search

+1 -1
View File
@@ -2441,7 +2441,7 @@ public final class FilePath implements Serializable {
* @throws InterruptedException not only in case of a channel failure, but also if too many operations were performed without finding any matches
* @since 1.484
*/
public String validateAntFileMask(final String fileMasks, final int bound, final boolean caseSensitive) throws IOException, InterruptedException {
public @CheckForNull String validateAntFileMask(final String fileMasks, final int bound, final boolean caseSensitive) throws IOException, InterruptedException {
return act(new MasterToSlaveFileCallable<String>() {
private static final long serialVersionUID = 1;
public String invoke(File dir, VirtualChannel channel) throws IOException, InterruptedException {