objectuser
objectuser

Reputation: 681

Does ci.gitlab.com support hosted Java builds?

I'm trying to understand what is provided by ci.gitlab.com. I would like to create a build using Gradle for my Java project and have it all run on ci.gitlab.com servers.

The process for adding a runner seems to involve leveraging a localized installation of GitLab CI. There are shared runners available, but they seem to be geared toward Ruby, Node, etc.

Is it possible to use ci.gitlab.com for a fully hosted CI solution?

Upvotes: 4

Views: 266

Answers (1)

Rubinum
Rubinum

Reputation: 557

Its not important if there are only Ruby, Node or other Runners. If they are shared runners, you can specify the image in your .gitlab-ci.yml which the runners use to run you tests. See here (i wrote a example .gitlab-ci.yml):

enter image description here

The runners will pull the right image and will run your tests in the specified image. More information here.

Upvotes: 1

Related Questions