Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #3067 from KostyaSha/fixRemotingFilePathmkdirs
[JENKINS-46386] - Don't use unloadable things in remoting mkdirs calls.
  • Loading branch information
oleg-nenashev committed Oct 15, 2017
2 parents be02386 + 1f476da commit 27e5943
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/src/main/java/hudson/FilePath.java
Expand Up @@ -106,7 +106,6 @@
import jenkins.model.Jenkins;
import jenkins.security.MasterToSlaveCallable;
import jenkins.util.ContextResettingExecutorService;
import jenkins.util.SystemProperties;
import jenkins.util.VirtualFile;
import org.apache.commons.compress.archivers.tar.TarArchiveEntry;
import org.apache.commons.compress.archivers.tar.TarArchiveInputStream;
Expand Down Expand Up @@ -2371,7 +2370,7 @@ public String validateAntFileMask(final String fileMasks, final int bound) throw
* Default bound for {@link #validateAntFileMask(String, int, boolean)}.
* @since 1.592
*/
public static int VALIDATE_ANT_FILE_MASK_BOUND = SystemProperties.getInteger(FilePath.class.getName() + ".VALIDATE_ANT_FILE_MASK_BOUND", 10000);
public static int VALIDATE_ANT_FILE_MASK_BOUND = Integer.getInteger(FilePath.class.getName() + ".VALIDATE_ANT_FILE_MASK_BOUND", 10000);

/**
* Like {@link #validateAntFileMask(String)} but performing only a bounded number of operations.
Expand Down

0 comments on commit 27e5943

Please sign in to comment.