Skip to content

scriptjumper/docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 

Repository files navigation

Welcome to the docker wiki!

Codefresh build status

Any changes made and pushed up to this repository will automatically trigger a build on my docker hub and within a couple of minutes later the build would of completed.

Requirements

  • Jenkins
  • Blue Ocean plugin installed

Enviroment Setup

Jenkins Docker Permissions

Open up the terminal and add in the following command sudo usermod -aG docker jenkins

The above command gives jenkins the correct permissions to use Docker commands

Restart the Jenkins service once you've ran the command

Creating Pipeline

Pipeline Repository Setup Steps

  1. Create a Personal access token that gives blue ocean access to your repositories (token is only used once unless it is deleted/removed or your Jenkins was uninstalled).
  2. Select the Repo your want to test (Make sure that the repo you are testing doesn't have an existing Jenkinsfile in it).
  3. Click the Agent drop down and select docker.
  4. In the Image * field add in shaeenk/docker.
  5. Add in the step you need that will be running you test script

Releases

No releases published

Packages

No packages published