Difference between revisions of "Jenkins Projects (aka Jobs) for GitHub"

From Gcube Wiki
Jump to: navigation, search
Line 16: Line 16:
  
 
4. In the new project page, you need to:
 
4. In the new project page, you need to:
 
 
* uncheck the "Disable this project" checkbox
 
* uncheck the "Disable this project" checkbox
 
* provide the URL to the GitHub repo to build
 
* provide the URL to the GitHub repo to build
 +
 +
[[File:Jenkins_newItemRequiredChanges.png|600px]]
 +
 +
That should be enough to try to build the project with a Jenkins job.

Revision as of 23:15, 30 November 2019

gCube GitHUb Template Project

The easiest way to create a new project is to clone the gCubeGitHubProjectTemplate project.

1. In the Jenkins interface (Jenkins interface is available at https://jenkins.d4science.org/), select New Item from the options on the left panel:

Jenkins newItem.png

2. In the new item page, assign a name to the project

3. Scroll down until the bottom of the page and use the last option to create the new item from other existing. Insert gCubeGitHubProjectTemplate as input (it should auto-complete).

Jenkins newItemFromGitHubTemplate.png

and confirm with OK.

4. In the new project page, you need to:

  • uncheck the "Disable this project" checkbox
  • provide the URL to the GitHub repo to build

Jenkins newItemRequiredChanges.png

That should be enough to try to build the project with a Jenkins job.