Public | Automated Build

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

copied from <a href="">Marcel Birkner</A>

Jenkins Docker Container


$ 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

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.each {
  println it.shortName + ':' + it.getVersion()

More example scripts can be found in the groovy folder.


Docker Pull Command
Source Repository