Can Jenkins build Eclipse projects?

It seemed to me that I read somewhere that Jenkins supports integration with Eclipse to create Eclipse projects, but now I can not find the documentation that supports this. Is it possible to do this, or am I barking the wrong tree?

+6
source share
2 answers

Yes it is possible. You can use Maven assemblies with Tycho (see Minerva example ).

You can also use Buckminster to reuse PDE builds - Jenkins also has a Buckminster plugin to simplify configuration. It is also possible to build Eclipse with Ant and run it with Jenkins.

If I need to choose a method, I would suggest Tycho - it seems the easiest to use from the current elements and will forget Ant, since it is not so well supported.

+4
source

You can start the Eclipse build from the command line: http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.jdt.doc.isv%2Fguide%2Fjdt_apt_building_with_apt.htm

C:\path\to\eclipse\eclipsec -nosplash -application org.eclipse.jdt.apt.core.aptBuild -data %WORKSPACE% 

And you can add this as a batch command in Jenkins

0
source

Source: https://habr.com/ru/post/896233/


All Articles