Jenkins Projects (aka Jobs)

From Gcube Wiki
Revision as of 20:09, 29 May 2019 by Manuele.simi (Talk | contribs)

Jump to: navigation, search

....

Git plugin:

  • Enable "Clean before checkout" to ensure reproducible builds

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.