Skip to content
This repository was archived by the owner on Jan 29, 2025. It is now read-only.

Jenkins Workflow

Sean Dion edited this page Nov 9, 2015 · 3 revisions

##Github

  • Create a github project using the format docker-Project as repository name.


  • Next step is to go into the repository settings - Collaborators & teams and add Docker Team



##Jenkins


  • Click on Development


  • Click on New Item


####Fill In the Information

  • Item Name Example

  • Ensure Copy Existing Item is selected, and paste in Templates/NewProjectTemplate (Capitalisation must be exactly the same)

  • Click OK


####Next screen there are three bits of information to be filled in.

#####Github Project

  • https://github.com/linuxserver/docker-example

#####Source Code Management

  • Repository URL https://github.com/linuxserver/docker-example

#####Docker Build & Publish

  • Repository Name linuxserver/example

⧸⧸


⧸⧸ #####Then Save

  • Click enable


#####Go back into configuration

  • Ensure Build when a change is pushed to GitHub is selected. (This has to be done after enabling the project)


##Github

Check that the webhook is correct (It should be automatically filled in)

  • Settings

  • Webhooks & Services

http://ci.linuxserver.io:8080/github-webhook/


##Now you can work on your Github project.


##When finished

  • Make sure the readme.md is updated

  • Get Lonix or Sparklyballs to audit the project. If neither are going to be available within a reasonable time then please speak to IronicBadger.

  • Go back to Jenkins and select your project

  • Click Move


  • Select Jenkins >> Docker >> Released

  • Click Move


  • Untick Skip push under Advanced in the Docker Build and Publish Section

Please ensure that the readme.md is copied across to docker hub.

##Drink Beer


Clone this wiki locally