Re: Add version and build number to Artifactory directory in repository
Thanks I have found the solution: release/=>$JOB_NAME/build-$BUILD_NUMBER -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Add version and build number to Artifactory directory in repository
M M (2014-05-19 00:42): Hi, I wonder if someone can help me please. I am trying to add the version and build number to the directory in Artifactory. I am using Jenkins and I can configure using the Artifactory Configuration where I want my artifacts to go. The Published Artifacts entry allows me to set the directory in Artifactory eg: release/=>PROJECT1 The above will push any artifacts in the release directory to the PROJECT1 directory in artifactory. What I would like to achieve is this: release/=>PROJECT1/${BUILD.NUMBER} The variable name is BUILD_NUMBER you can also use SVN_REVISION. Don't know about Artifactory, but you can just rename folders and/or files in the build process. Regards, Nux. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Add version and build number to Artifactory directory in repository
Hi, I wonder if someone can help me please. I am trying to add the version and build number to the directory in Artifactory. I am using Jenkins and I can configure using the Artifactory Configuration where I want my artifacts to go. The Published Artifacts entry allows me to set the directory in Artifactory eg: release/=>PROJECT1 The above will push any artifacts in the release directory to the PROJECT1 directory in artifactory. What I would like to achieve is this: release/=>PROJECT1/${BUILD.NUMBER} so when I check the PROJECT1 directory in Artifactory I would see something like: PROJECT1/ build-20 aFile-build-20.ear aFile-build-20.war So I can see the PROJECT1 folder and inside this folder the build-20 folder. I have tried: release/=>PROJECT1/${build.number} release/=>PROJECT1/[BUILD.NUMBER] release/=>PROJECT1/build.number (see below) Is this possible? Thanks -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.