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

From Gcube Wiki
Jump to: navigation, search
(Source Code Management)
Line 4: Line 4:
 
* Enable "Clean before checkout" to ensure reproducible builds
 
* Enable "Clean before checkout" to ensure reproducible builds
  
 +
= General =
 
= Source Code Management =
 
= Source Code Management =
 
Under the project settings page "Source Code Management":  
 
Under the project settings page "Source Code Management":  

Revision as of 20:09, 29 May 2019

....

Git plugin:

  • Enable "Clean before checkout" to ensure reproducible builds

General

Source Code Management

Under the project settings page "Source Code Management":

  • set option to "Git",
  • provide URL to your repo (e.g. https://code-repo.d4science.org/gCubeSystem/gxRest.git),
  • set the credentials to git.gcube,
  • specify */master as branch to build,
  • and in "Poll triggers" section check "Poll SCM" option with no schedule defined. This setup basically tells Jenkins to poll your Gitea repo only when requested via a webhook.

JenkinsSourceCodeManagement.png


Back to the CI guide.