-
Notifications
You must be signed in to change notification settings - Fork 6
Jenkins Guide
Pablo Moreno edited this page Oct 10, 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"
- Name your job
docker-<your-tool>
(without the<>
characters) on the Item Name field. - Choose "Copy existing item" and start typing "docker-template..." you should see an option named "docker-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).
- 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:
- Set "Repository Name" to
phnmnl/<your-tool
. - Don't touch the tag part.
- Set "Repository Name" to
- Press "Save"
Funded by the EC Horizon 2020 programme, grant agreement number 654241 |
---|