Jenkins Projects (aka Jobs)

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

Jump to: navigation, search

....

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.