Hi
I’ve on Gitlab a simple java project with a build.xml file that I use in local to build my java classes.
How can I build my project via GitlabCI?
I don’t know docker.
can I have some suggestions?
thanks in advance
luca
Hi
I’ve on Gitlab a simple java project with a build.xml file that I use in local to build my java classes.
How can I build my project via GitlabCI?
I don’t know docker.
can I have some suggestions?
thanks in advance
luca
Are you looking for a tutorial?
Like this:
You can use a Shell executor instead of using Docker.
Just set up an executor, add a .gitlab-ci.yml file to your repo, and go.
Your build script might be simple, like:
build:
script:
- mvn install
Above assumes you’re using maven with the target name “install”. If you’re using ANT maybe you want to run “ant”.
build:
script:
- ant