Skip to content
This repository has been archived by the owner on May 5, 2018. It is now read-only.

Jenkins Projects

xprazak2 edited this page May 8, 2015 · 6 revisions

Projects available in Jenkins.

Create Jenkins Project

Jenkins Projects are created when retrieved from Jenkins server and assigned to the Job. First, make sure the job has a Jenkins Instance set. Go to the Job details, click on the 'Jenkins Projects' tab.

Click the 'Find more...' button. Search for the Jenkins Projects by name. Results will be displayed in the table.

Select the desired Projects and click 'Add Projects' to add them. Continue searching or return back to the list of added Projects.

Configure Build Parameters

Parametrized builds are supported. When displaying the table of Jenkins Projects assigned to the Job, click on the project name. List of parameters will be displayed if project has any. Default values may be changed. Next time when Job is run, Jenkins Projects will be built with new parameter values. Only String, Boolean and Text parameter types are supported at the present.

ERB templating may be used to inject info from newly provisioned host to the parameters. There are currently 3 ruby hashes with the following structure available: