forked from jenkinsci/aws-codebuild-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Preserve file permissions and support include / exclude filters for "…
…Use Jenkins source" (awslabs#127) * [JENKINS-67853] Add a test to reproduce JENKINS-67853 * [JENKINS-67853] Use Archiver to creaete zip file * Preserves file modes. * Also preparation for includes/excludes feature. * [JENKINS-67853] Use the new archiving method instead of `ZipSourceCallable.zipSource` in tests * [JENKINS-67853] Archive directories explicitly to allow empty directories * [JENKINS-67854] Add workspaceInclude / workspaceExclude feature * [JENKINS-67854] Add test for workspaceIncludes/workspaceExcludes Co-authored-by: Leo Herran <leobaran@amazon.com>
- Loading branch information
1 parent
b22a231
commit 3fbfde2
Showing
10 changed files
with
210 additions
and
24 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<!-- | ||
~ Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
~ | ||
~ Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with the License. | ||
~ A copy of the License is located at | ||
~ | ||
~ http://aws.amazon.com/apache2.0/ | ||
~ | ||
~ or in the "license" file accompanying this file. | ||
~ This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
~ See the License for the specific language governing permissions and limitations under the License. | ||
--> | ||
<div> | ||
<a href="https://ant.apache.org/manual/Types/fileset.html">Ant fileset patterns</a> to specify files not to be zipped even if files match "Inclusion pattern"(workspaceIncludes). | ||
Multiple patterns can be specified separating with commas(,). | ||
</div> |
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,27 @@ | ||
<!-- | ||
~ Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
~ | ||
~ Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with the License. | ||
~ A copy of the License is located at | ||
~ | ||
~ http://aws.amazon.com/apache2.0/ | ||
~ | ||
~ or in the "license" file accompanying this file. | ||
~ This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
~ See the License for the specific language governing permissions and limitations under the License. | ||
--> | ||
<div> | ||
<p> | ||
<a href="https://ant.apache.org/manual/Types/fileset.html">Ant fileset patterns</a> to specify files to be zipped. | ||
Multiple patterns can be specified separating with commas(,). | ||
Leaving blank results all files will be zipped. | ||
</p> | ||
<p> | ||
Some examples: | ||
<ul> | ||
<li><code>**/*.java</code>: All files with '.java' extension. This includes files in subdirectories.</li> | ||
<li><code>*.sh</code>: Files with '.sh' extension in the root directory. This doesn't include files in subdirectories.</li> | ||
<li><code>subdir/</code>: All files in the 'subdir' directory.</li> | ||
</ul> | ||
</p> | ||
</div> |
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
Oops, something went wrong.