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

I wanted to say that I want to use the P2 repo as a way to distribute updates through the P2 Eclipse Update tool. But I don't think a .zip file can be given to this tool so I have to use the generated P2 repository directory.

Jeff


On Fri, Jun 15, 2012 at 8:37 PM, Trace Windham <twindham@xxxxxxxxx> wrote:
Jeff,

I'm not sure what you are trying to say exactly, but I think you're saying that your tycho build doesn't produce a p2 repo for your RCP product.

Mine does, and it's in the form of a zip file at com.mydomain.myproject/target/eclipse-repository.zip

I use Jenkins to show that zip file as a build artifact as well by adding that line to the 'Archive the artifacts' text box in my Jenkins build configuration.   then I had to write a little script to unzip that file to unzip that file to a make shift continuous integration p2 repository.

Hope that helps,
TW


On Fri, Jun 15, 2012 at 12:45 PM, Jeff MAURY <jeffmaury@xxxxxxxxx> wrote:

I tried this approach but the problem is that i wanted to expose the product P2 repo buy as it is not a maven artifact and a directory it cannot be processed by the jenkins archive post action

Jeff

Le 15 juin 2012 15:38, "Christian Soltenborn" <csoltenborn@xxxxxx> a écrit :

Hi Tobias,

for my Jenkins build, I'm using the "Post-build Actions/Archive the
artifacts" option to do exactly that. I just provide a file to be
archived, and that file is linked on the Jenkins build page under "Last
successful artifacts".

Hope this helps,
Christian


Am 15.06.2012 15:18, schrieb Tobias Placht:
> Hey guys,
>
> we are developing an Eclipse RCP application and using tycho/jenkins to
> achieve automatic headless builds. It works like a charm but the problem
> are the users who can't use a PC properly...
> To make a long story short the ready to use ZIP Files are located at
> job/openMASP/ws/de.hswt.openmasp.repository/target/products/ which is to
> difficult since this is not the default jenkins location.
>
> So is there a way to provide a download link to the last succesfull link
> or can i change the default location?
>
> If you need more information, feel free to ask.
>
> Thanks in advance
> Tobias
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user
>


--
Robin Williams: "Cocaine is God's way of saying that you're making too
much money."
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user

_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user




--
Trace Windham




--
Jeff MAURY


"Legacy code" often differs from its suggested alternative by actually working and scaling.
 - Bjarne Stroustrup

http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com
http://www.twitter.com/jeffmaury

Back to the top