The plugin available to archive artifacts doesn't allow to chose to archive hidden files/directories like .git, .svn, etc. This feature will help Continuous Integration teams to upstream the .git information to be used for example to get last commit hash, repository server, etc.
Today, the plugin that copy the workspace is not useful when you do not need more than that artifacts, ans, in some cases, the repository is big.
Maybe, the plugin can be changed to allow the copy, by selecting the file types.
I am talking about to change the plugin "Archive Artifact" and "Copy Artifact".
- is related to
-
JENKINS-14355 Allow disabling use of default exclude patterns (.git, .svn, etc.) for fingerprinting
-
- Open
-
[JENKINS-20086] Allow disabling use of default exclude patterns (.git, .svn, etc.) for archiving
Assignee | New: Daniel Beck [ danielbeck ] |
Component/s | New: core [ 15593 ] | |
Component/s | Original: plugin [ 15491 ] | |
Labels | Original: archiving artifact plugin | New: archiving artifact |
Fix Version/s | Original: current [ 10162 ] | |
Affects Version/s | Original: current [ 10162 ] | |
Due Date | Original: 2013-10-31 | |
Environment |
Original:
Jenkins 1.509.4 LTS Ubuntu 12.04 LTS |
New: Any |
Summary | Original: Improve the archive artifacts plugin to incude hidden files/directories like .git | New: Allow disabling use of default exclude patterns (.git, .svn, etc.) |
While it's a fair amount of hackery you can do this to work around this limitation:
1. use 7-Zip to package up your workspace
2. archive the zip file as an artifact
3. copy the zip file as an artifact to your next pipeline build
4. unzip the zip file
5. do your normal build steps