|
Hi to all,
I set up a YUM repository on our Artifactory and we're looking how to upload/publish RPMs produced by our FreeStyle job. I tried to use Jenkins Artifactory Plugin but it didn't works yet. A sample project is available here : http://devops-incubator.googlecode.com/svn/trunk/rpm-packaging/myjenkins ./build.sh is used in free style job RPM are built on RPMS/noarch sub dir in job workspace. Any ideas ? Thanks |
|
Hi,
The Jenkins Artifactory plugin can (momentarily) only deploy files that were produced as part of an Ant/Gradle/Maven build (also in freestyle mode). But by issuing a simple curl PUT command, you can deploy your produced RPMs using Bash too; the command should look something like this:
As an example, we've published on our github some Bash scripts that perform copies and build promotions of RPMs in Artifactory (we use these scripts for our YUM demo).
HTH, Noam On Thu, Jan 12, 2012 at 10:27 AM, hgomez <[hidden email]> wrote: Hi to all, ------------------------------------------------------------------------------ RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 _______________________________________________ Artifactory-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/artifactory-users |
|
> Hi,
> > The Jenkins Artifactory plugin can (momentarily) only deploy files that were > produced as part of an Ant/Gradle/Maven build (also in freestyle mode). > But by issuing a simple curl PUT command, you can deploy your produced RPMs > using Bash too; the command should look something like this: > > > curl -X PUT -u user:password --data-binary @/absolute/path/to.rpm > "http://myhost/artifactory/yum-enabled-repo/some.rpm" > > As an example, we've published on our github some Bash scripts that perform > copies and build promotions of RPMs in Artifactory (we use these scripts for > our YUM demo). Perfect ! Thanks, I'll study it right now. Thanks ------------------------------------------------------------------------------ RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 _______________________________________________ Artifactory-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/artifactory-users |
| Powered by Nabble | See how NAML generates this page |
