Public | Automated Build

Last pushed: 2 months ago
Short Description
my Jenkins Configuration with Pipeline Plugins
Full Description

copied from <a href="https://github.com/marcelbirkner/docker-ci-tool-stack">Marcel Birkner</A>

Jenkins Docker Container

Usage:

$ docker build -t jenkins .
$ docker run -d -p=8080:8080 jenkins
$ docker run -d -p 8080:8080 -p 50000:50000 -v /opt/docker/jenkins:/var/jenkins_home jenkins

Once Jenkins is up and running go to http://192.168.59.103:8080

Update Plugins

Install and update all plugins via the Jenkins Plugin Manager.

After that use the Script Console to output all plugins including the version in the correct format for the plugin.txt.

def plugins = jenkins.model.Jenkins.instance.pluginManager.plugins
plugins.sort{it}
plugins.each {
  println it.shortName + ':' + it.getVersion()
}

More example scripts can be found in the groovy folder.

Links

Docker Pull Command
Owner
wbrune
Source Repository