Thank you for the suggestion. Currently I am not working within the licensed
Pro version so the api is not available to me. That may change if I receive
approval to purchase a license.
Also, I don't see any added environment variables that indicate a SNAPSHOT
build versus an artifactory release build making it difficult to indicate in
script within the job that the different types of builds should go to different
artifactory repositories as seems to be convention. Perhaps there is a better
way to approach this.
From: Aitor Perez Cedres [mailto:[email protected]]
Sent: Friday, August 16, 2013 12:17 AM
To: [email protected]
Subject: Re: [Artifactory-users] Maven deploy non-maven artifacts to artifactory
Hi John,
Have you tried to workaround it using a post-build step "Execute shell" in
Jenkins? There you can manage to deploy your .exe file to Artifactory using
their REST API + cURL or a similar library.
Regards,
Aitor.
On 14/08/13 01:14, John Kerr wrote:
Using Jenkins to run maven builds and the artifactory plugin to deploy works
fine for the maven artifacts however I have a module within the build that is
an install4j project that creates a windows installer file (exe) that I need to
manage as an artifact. The mvn3 build projects in Jenkins only allow for
deployment of mvn artifacts to artifactory. I know that I can create a
freestyle build and specify any collection of files for deployment to
artifactory however the freestyle builds do not appear to offer the release
management capabilities of the mvn3 build projects in Jenkins (update build
version, release tag, release branch, etc) as well as deployment to a release
library for release build as opposed to SNAPSHOT library for SNAPSHOT builds
which I don't want to give up in the automated build and deploy process.
Hopefully someone here can provide guidance? Ideally I am looking for a way to
manage an exe file from a maven build in Jenkins as an artifact and deploy it
along with the mvn artifacts to artifactory in SNAPSHOT and Release builds.
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users