Reputation: 186
I have managed to install Jenkins and set it up to build artifact archive files, but the names of these files are called archive.zip
I would like to publish to a local directory on my centos server, which will have sub directories for the tag name/number, and on the archive files they will be named using a date/time string and a build/revision number.
Can anyone point me out in the right direction for how to achieve this please?
Upvotes: 2
Views: 6485
Reputation: 3670
Consider using
https://wiki.jenkins-ci.org/display/JENKINS/ArtifactDeployer+Plugin
or
https://wiki.jenkins-ci.org/display/JENKINS/Publish+Over+...
If the renaming of the artifact not clearly supported, consider naming the parent directories with jobname, version, etc.
Upvotes: 1