Permalink
1 comment
on commit
sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[FIXED JENKINS-16681] Don't let Ant separate the patterns - and allow…
… the separator regex to be configured to enable patterns with spaces in them
- Loading branch information
Showing
with
62 additions
and 11 deletions.
- +3 −3 src/main/java/jenkins/plugins/publish_over_ftp/BapFtpTransfer.java
- +5 −0 src/main/java/jenkins/plugins/publish_over_ftp/descriptor/BapFtpTransferDescriptor.java
- +7 −1 src/main/java/jenkins/plugins/publish_over_ftp/options/FtpOverrideTransferDefaults.java
- +4 −0 src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpTransfer/config.jelly
- +33 −0 src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpTransfer/help-patternSeparator.html
- +3 −0 src/main/resources/jenkins/plugins/publish_over_ftp/options/FtpOverrideTransferDefaults/config.jelly
- +3 −3 src/test/java/jenkins/plugins/publish_over_ftp/jenkins/CurrentConfigurationTest.java
- +1 −1 src/test/java/jenkins/plugins/publish_over_ftp/jenkins/IntegrationTest.java
- +3 −3 src/test/java/jenkins/plugins/publish_over_ftp/jenkins/LegacyConfigurationTest.java
@@ -0,0 +1,33 @@ | ||
<!-- | ||
~ The MIT License | ||
~ | ||
~ Copyright (C) 2010-2013 by Anthony Robinson | ||
~ | ||
~ Permission is hereby granted, free of charge, to any person obtaining a copy | ||
~ of this software and associated documentation files (the "Software"), to deal | ||
~ in the Software without restriction, including without limitation the rights | ||
~ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
~ copies of the Software, and to permit persons to whom the Software is | ||
~ furnished to do so, subject to the following conditions: | ||
~ | ||
~ The above copyright notice and this permission notice shall be included in | ||
~ all copies or substantial portions of the Software. | ||
~ | ||
~ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
~ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
~ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
~ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
~ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
~ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
~ THE SOFTWARE. | ||
--> | ||
|
||
<div> | ||
<p>The regular expression that is used to separate the <tt>Source files</tt> and <tt>Exclude files</tt> patterns.</p> | ||
<p>The <tt>Source files</tt> and <tt>Exclude files</tt> both accept multiple patterns that by default are split using <pre>[, ]+</pre> | ||
which is how Ant, by default, handles multiple patterns in a single string. | ||
</p> | ||
<p>The above expression makes it difficult to reference files or directories that contain spaces. This option allows | ||
the expression to be set to something that will preserve the spaces in a pattern eg. a single comma. | ||
</p> | ||
</div> |
This comment has been minimized.
a972ce7
Jenkins » publish-over-ftp-plugin #12 FAILURE
Looks like this commit caused a build failure
(what's this?)