Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Provide download link within Jenkins

Jeff & Tobias,

You are hitting the problem of "publishing" built artifacts. In general, Maven/Tycho is very good at producing artifacts, but publishing them to consumers is another part of the build that requires you to set up conventions.
I advise you to publish your artifacts in another directory/machine outside of Jenkins; and to perform this action outside of the Maven execution. The best/easiest is probably that you have 2 build steps: one to create the repo invoking Maven, and another to publish it (using Shell action to invoke cp or scp or sftp).
Something to keep in mind when in comes to publishing builds is that there is no "automatic discovery" for p2 repo, so you have to set up clear guidelines about URLs you publish to and to write good documentation so that your consumers know which URL they should try in their p2 UI.

HTH
--
Mickael Istria
Eclipse developer at JBoss, by Red Hat
My blog - My Tweets

Back to the top