Skip to content

Jenkins Guide

Jianliang edited this page Nov 22, 2016 · 11 revisions

This guide will show a PhenoMeNal developer how to add his/her tool container to our Jenkins CI. By PhenoMeNal developer in this context, we understand anyone who has credentials to create jobs in our Jenkins CI.

  • Log in to Jenkins using the two-factor authentication system.
  • Create a new job copying the master template:
    • On the top left of the screen, below the Jenkins icon, press "New Item" New job
    • Name your job docker-<your-tool> (without the <> characters) on the Item Name field.
    • Choose "Copy existing item" and start typing "container-template..." you should see an option named "container-template-project-with-versioning", select it.
    • Press OK.
  • Configure the build job (new screen that appeared after pressing Ok):
    • Change project URL to your Git repo (of your dockerfile). New job
    • Under the selected Git option:
      • Change "Repository URL" to your Git repo (of your dockerfile).
      • Select the branch from where you want this to be built on "Branches to build" (We recommend using git-flow branching scheme).
    • Under Build: Docker build and publish: New job
      • Set "Repository Name" to phnmnl/<your-tool.
      • Don't touch the tag part.
    • Press "Save"
Clone this wiki locally