Skip to content

Small helper application for Jenkins, Yet Another Docker Plugin, and Docker

License

Notifications You must be signed in to change notification settings

stevebargelt/dockhand

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dockhand

A simple tool to help configuring Jenkins Yet Another Docker Plugin without using the Jenkins web UI.

If you are using YAD plugin you know that managing Docker Templates can get out of hand - so many settings in the UI, so easy to miss something important.

I created this tool for two reasons:

  1. Configuring Docker templates in the UI is time consuming and error-prone.
  2. I wanted to be able to automate the creation of new Cloud Templates as part of a automated build-engineering process. My scripts can use this tool to accomplish that.

For more information on my automated build system see: Automated Build System Tutorial Videos

Automated Build System Blog Posts

Get Labels

Returns all the labels being used by the specified Yet Another Docker Plugin Cloud.

./dockhand getLabels --username jenkinsyaduser --password correcthorsebatterystaple --jenkinsurl https://localhost:8080 --cloudname JenkinsCloud

or, if you have a config file with your basic config items (username, password, jenkinsurl) it is as simple as:

./dockhand getLabels --cloudname JenkinsCloud

Create Yet Another Docker Plugin "Docker Template"

Creates a Docker Template under the named Yet Another Docker Cloud.

dockhand in action

./dockhand createDockerTemplate --username jenkinsyaduser --password correcthorsebatterystaple --jenkinsurl https://localhost:8080 --label dotnetcore_2 --image microsoft/dotnet:2.0-sdk

or, if you have a config file with your basic config items (username, password, jenkinsurl) it is as simple as:

./dockhand createDockerTemplate --cloudname EphemeralContainers --label dotnetcore_2 --image microsoft/dotnet:2.0-sdk

It is early

No polish, no glitter. Works for me at the moment.

About

Small helper application for Jenkins, Yet Another Docker Plugin, and Docker

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published