[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cbi-dev] How to build my plugin on Jenkins?
|
Hi
Yes. Tycho is the way almost all Eclipse projects now work. It's
well supported. Perhaps the main 'alternative' is Gradle.
Sadly releng work is often painful, and Tycho is no exception,
but in comparison to Athena/CBI or Buckminster before it, the
ability to execute the build 100% locally, provides some helpful
debugging opportunities and avoids many Jenkins/remote
opaquenesses..
If you try to avoid Tycho, you will probably have to fight every
step of the way as you tackle polling, fetching, building,
packing, signing, testing, deploying.
IMHO it is always easier to copy and edit than develop from
scratch. The Vogella tutorial can be a good starting point, but I
think I found that using EMF Compare's build as a starting point
was more helpful. Now of course I might recommend emulating the
OCL build.
Regards
Ed Willink
On 06/03/2022 23:27, Matthias Sohn
wrote:
Hi folks,
I'm trying to create and publish a new release of the
Subversive project
but can't find a way to do it. The project uses update sites
(no Tycho
nor Maven involved). So in theory, I can build these update
sites by
clicking "Build all" in Eclipse and upload them somewhere
but because
only Jenkins can upload the resulting artifacts directly to
download.eclipse.org,
this seems to be inadequate. Thus, my question is:
How do I build the project on Jenkins?
I know Jenkins and that's why I looked for a command that
can be
executed on the command line in order to build the project.
On my local
machine, I tried to use the publisher which is recommended
on
help.eclipse.org
but it just created meta data and not the binary
artifacts. I used the following command:
eclipse -application
org.eclipse.equinox.p2.publisher.UpdateSitePublisher -source
<udpateSite> -metadataRepository <URI>
-artifactRepository <URI>
-compress -append -publishArtifacts
In addition, I'm not sure if this works on Jenkins as it
requires an
Eclipse installation.
Can someone give me an advice on how to build the Subversive
project on
Jenkins?
Best regards,
Nicolas
Hi Nicolas,
I guess your best bet is to implement a Tycho build for
subversive.
See
-MatthiasĀ
_______________________________________________
cbi-dev mailing list
cbi-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/cbi-dev