Skip to main content

[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 Nicolas,

Yes, today Maven+Tycho is the best choice.
Since I'm interested to see the updates for Subversive I can offer my help to establish Tycho-based builds that will produce binaries.
Do you already have a ticket in Bugzilla/GitLab/GitHub where we can discuss the details?

Regards,
AF

3/7/2022 8:43 AM, Ed Willink пишет:

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:
On Sun, Mar 6, 2022 at 11:02 PM Nicolas Peifer via cbi-dev <cbi-dev@xxxxxxxxxxx> 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

Virus-free. www.avast.com

_______________________________________________
cbi-dev mailing list
cbi-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/cbi-dev


Back to the top