-
Notifications
You must be signed in to change notification settings - Fork 10
Calling CI server to execute job
rsvato edited this page Aug 1, 2012
·
3 revisions
Build is a generic step that perform request to CI server and waits until job will be completed.
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 |
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 |
build {
provider = "jenkins"
phase = "start"
parameters = [
"url": "http://hudson-server.com/",
"projectName": "Project",
"username": "login",
"password": "password",
]
}