Go to file
Giancarlo Panichi 2b8d2dfd8f Updated javax configs 2025-11-17 10:30:50 +01:00
img Upload files to "img" 2025-09-10 11:47:36 +02:00
jenkins-cli Added JDK21 2025-10-21 10:33:27 +02:00
templates Updated javax configs 2025-11-17 10:30:50 +01:00
README.md Updated README.md 2025-10-21 10:42:37 +02:00

README.md

logo

gCube Jenkins Job Templates

Jenkins uses projects (also known as "Jobs") to perform its work. Projects are defined and run by Jenkins users. Creating a Job for a new gCube component requires creating two files: Jenkinsfile and Jenkinsjob.xml. These files must be placed in the root of the Git repository. This task is made easier by using the Jenkins CLI.

  • The Jenkinsfile contains all the information needed to run the Job. In this case, for example, it contains the commands to build the component using the appropriate agent.
  • The Jenkinsjob.xml file contains the information needed to recreate the Job on the Jenkins service.
  • The Jenkins CLI is the command line interface of Jenkins that allows you to export, create and update the Job configurations.

Templates based on JAVA version

A description of the Jenkinsfile and Jenkinsjob.xml files by Java version is available here: Templates.

Jenkins CLI

More information on the jenkins-cli see here: Jenkins CLI.

Automate builds when the Gitea repository changes

To automate component builds, you need to change the URL used by the Gitea project's webhook and point it to the new Jenkins service. Webhook