Skip to content

Calling CI server to execute job

rsvato edited this page Aug 1, 2012 · 3 revisions

Step 'build'

Build is a generic step that perform request to CI server and waits until job will be completed.

Step parameters

Name Type Mandatory Description
provider String Y Specify CI server type. Supported value is: "jenkins" (works for Hudson as well)
parameters Map<String, String> Y

Provider specific settings

'jenkins' build provider parameters

Name Mandatory Description
projectName Y Name of the job to be executed (full job name is required). Please note that $ sign in name should be escaped with \\
url Url to jenkins api
username username to access jenkins api
password   password to access jenkins api

Example

build {
    provider = "jenkins"
    phase = "start"
        parameters = [
           "url":                "http://hudson-server.com/",
           "projectName": "Project",
           "username":    "login",
           "password":    "password",
        ]
}
Clone this wiki locally