createSchedule
Creates a new schedule. If both startTime
and stopTime
are specified, intervalUnits
and interval
are used to specify an interval time to repeat running the procedure.
You must specify a projectName
and scheduleName
.
Arguments | Descriptions |
---|---|
projectName |
Name of the project. This name must be unique among all projects. Argument Type: String Argument type: String |
scheduleName |
Name for the schedule that must be unique among all schedules for the project. Argument type: String |
actualParameters |
(Optional) Specifies the values to pass as parameters to the called procedure. Each parameter value is specified with an Argument type: Map |
applicationName |
(Optional) The name of the application that owns the process. Argument type: String |
applicationProjectName |
(Optional) The name of the project to which the application belongs. Argument type: String |
beginDate |
(Optional) < yyyy-mm-dd > The date you want the schedule to begin. Argument type: String |
credentialName |
(Optional) The name of the credential to use for user impersonation when running the procedure. Argument type: String |
description |
(Optional) A plain text or HTML description for this object. If using HTML, you must surround your text with Argument type: String |
endDate |
(Optional) < yyyy-mm-dd > The date you want this schedule to end. Argument type: String |
environmentName |
(Optional) The name of the environment where the application runs. Argument type: String |
environmentProjectName |
(Optional) The name of the project to which the environment or environment template belongs. Argument type: String |
environmentTemplateName |
(Optional) The name of the environment template used to create the dynamic environment. Argument type: String |
environmentTemplateProjectName |
(Optional) Name of the project containing specified environment template. Argument Type: String |
environmentTemplateTierMapName |
(Optional) The name of the environment template tier map used to create the dynamic environment where the application runs. Argument type: String |
insertRollingDeployManualStep |
(Optional) < Boolean flag — When this argument is set to Argument type: Boolean |
interval |
(Optional) Determines the repeat interval for starting new jobs. If specified, the procedure, process, or workflow will be rescheduled continuously at intervals of this length. "Continuous" means that the procedure, process, or workflow is rescheduled as soon as the previous job finishes. Argument type: String |
intervalUnits |
(Optional) Specifies the units for the Argument type: String |
misfirePolicy |
(Optional) Argument type: MisfirePolicy |
monthDays |
(Optional) Restricts the schedule to specified days of the month. Specify numbers from 1-31, separating multiple numbers with a space. Argument type: String |
pipelineName |
(Optional) Name of the pipeline to run. Argument type: String |
priority |
(Optional) Argument type: JobPriority |
procedureName |
(Optional) Name of the procedure to run when the schedule is invoked. Argument type: String |
processName |
(Optional) Name of the application process to run when the schedule is invoked. Argument type: String |
releaseName |
(Optional) The name of the release to run when the schedule is invoked. Argument type: String |
rollingDeployEnabled |
(Optional) < Boolean flag — When this argument is set to Argument type: Boolean |
rollingDeployManualStepAssignees |
(Optional) A list of assignees who receive the notification when the rolling deploy iteration is completed. Argument type: Collection |
rollingDeployManualStepCondition |
(Optional) The Run if condition (run condition) on the manual step that was created during the rolling deployment. Argument type: NotificationType |
rollingDeployPhases |
(Optional) One or more rolling deploy phases to be used in the rolling deployment. Argument type: Collection |
scheduleDisabled |
(Optional) < Boolean flag— Argument type: Boolean |
serviceName |
(Optional) Name of the service that owns the process. Argument type: Boolean |
snapshotName |
(Optional) Name of the snapshot used to invoke the application process. Argument type: String |
stagesToRun |
(Optional) One or more stages to run in a pipeline. Argument type: Collection |
startTime |
(Optional) The time of day to run the procedure, process, or workflow when the schedule is invoked. Using this schedule, CloudBees CD/RO starts creating jobs at this time on the specified days. Enter hours and minutes, formatted Argument type: String |
startingStage |
(Optional) Name of the stage where the pipeline starts. Argument type: String |
startingStateName |
(Optional) Name of the starting state of the workflow. Argument type: String |
stopTime |
(Optional) The time of day to stop invoking the schedule. CloudBees CD/RO stops creating new jobs at this time, but a job in progress continues to run. If Enter hours and minutes, formatted Argument type: String |
tierMapName |
(Optional) Name of the tier map that determines in which environment the application runs. Argument type: String |
tierResourceCounts |
Resource count for each resource template tier. Argument type: Map |
timeZone |
(Optional) Enter the time zone (string) you want to use for this schedule. Argument type: String |
weekDays |
(Optional) Restricts the schedule to specified days of the week. Specify days of the week separated by spaces. Use English names "Monday", "Tuesday", and so on. Argument type: String |
workflowName |
(Optional) Name of the workflow to run when the schedule is invoked. Argument type: String |
deleteSchedule
Deletes a schedule.
You must specify a projectName
and scheduleName
.
Arguments | Descriptions |
---|---|
projectName |
The project to which the schedule belongs. Argument type: String |
scheduleName |
The name of the schedule. Argument type: String |
getSchedule
Retrieves a schedule by its name.
You must specify a projectName
and scheduleName
.
Arguments | Descriptions |
---|---|
projectName |
Name of the project. This name must be unique among all projects. Argument Type: String Argument type: String |
scheduleName |
Name for the schedule that must be unique among all schedules for the project. Argument type: String |
getSchedules
Retrieves all schedules.
You must specify a projectName
.
Arguments | Descriptions |
---|---|
projectName |
The name for the project that must be unique among all projects. Argument type: String |
applicationName |
(Optional) The name of the application that owns the process. Argument type: String |
applicationProjectName |
(Optional) The name for the project to which the application belongs. Argument type: String |
includeWorkflows |
(Optional) To include workflow related schedules. Argument type: String |
pipelineName |
(Optional) The name of the pipeline. Argument type: String |
processName |
(Optional) The name of the application process. Argument type: String |
releaseName |
(Optional) The name of the release. Argument type: String |
tierMapName |
(Optional) The name of the tier map that determines the environment in which run the process. Argument type: String |
modifySchedule
Modifies an existing schedule.
You must specify a projectName
and a scheduleName
.
Note: If both startTime
and stopTime
are specified, intervalUnits
and interval
are used to specify an interval to repeat running the procedure.
Arguments | Descriptions |
---|---|
projectName |
The name of the project that must be unique among all projects. Argument type: String |
scheduleName |
The name of the schedule that must be unique among all schedules for the project. Argument type: String |
actualParameters |
(Optional) Specifies the values to pass as parameters to the called procedure. Each parameter value is specified with an Argument type: Map |
applicationProjectName |
(Optional) Name of the project to which the application belongs. Argument type: String |
beginDate |
(Optional) < yyyy-mm-dd > The date you want the schedule to begin (for example, 2016-05-15). Argument type: String |
clearActualParameters |
(Optional) < Boolean flag — If set to Argument type: Boolean |
credentialName |
(Optional) The name of the credential to use for user impersonation when running the procedure. Argument type: String |
description |
(Optional) A plain text or HTML description for this object. If using HTML, you must surround your text with Argument type: String |
endDate |
(Optional) < yyyy-mm-dd > The date you want this schedule to end (for example, 2016-05-15). The end date is not included in the range of dates. Argument type: String |
environmentName |
(Optional) The name of the environment where the process will run. Argument type: String |
environmentProjectName |
(Optional) The name of the project to which the environment or environment template belongs. Argument type: String |
environmentTemplateName |
(Optional) The name of the environment template used to determine where the process will run. Argument type: String |
environmentTemplateProjectName |
(Optional) Name of the project containing specified environment template. If this argument is not specified, the default is the environment project name. Argument Type: String |
environmentTemplateTierMapName |
(Optional) The name of the environment template tier map used to determine how to spin up the environment where the process will run. Argument type: String |
insertRollingDeployManualStep |
(Optional) < Boolean flag — When this argument is set to Argument type: Boolean |
interval |
(Optional) Determines the repeat interval for starting new jobs. Argument type: String |
intervalUnits |
(Optional) Specifies the units for the Argument type: IntervalUnits |
misfirePolicy |
(Optional) Argument type: IntervalUnits |
monthDays |
(Optional) Restricts the schedule to specified days of the month. Specify numbers from 1 to 31, separating multiple numbers with a space. Argument type: String |
newName |
(Optional) New name of the schedule. Argument type: String |
pipelineName |
(Optional) Name of the pipeline to run. Argument type: String |
priority |
(Optional) Argument type: JobPriority |
procedureName |
(Optional) The name of the procedure to run when the schedule is invoked. Argument type: String |
processName |
(Optional) The name of the process to run when the schedule is invoked. Argument type: String |
releaseName |
(Optional) The name of the release to invoke. Argument type: String |
rollingDeployEnabled |
(Optional) < Boolean flag — When this argument is set to Argument type: Boolean |
rollingDeployManualStepAssignees |
(Optional) A list of assignees who receive the notification when the rolling deploy iteration is completed. Argument type: Collection |
rollingDeployManualStepCondition |
(Optional) The Run if condition (run condition) on the manual step that was created during the rolling deployment. Argument type: NotificationType |
rollingDeployPhases |
(Optional) One or more rolling deploy phases to be used in the rolling deployment. Argument type: Collection |
scheduleDisabled |
(Optional) < Boolean flag — Argument type: Boolean |
snapshotName |
(Optional) The name of the snapshot to use when the application process is invoked. Argument type: String |
startTime |
(Optional) The time of day to begin running the procedure, process, or workflow when the schedule is invoked. Enter hours and minutes, formatted Argument type: String |
stagesToRun |
(Optional) One or more stages to run in a pipeline. Argument type: Collection |
startingStage |
(Optional) Name of the stage where the pipeline starts. Argument type: String |
startingStateName |
(Optional) The name of the starting state of the workflow. Argument type: String |
stopTime |
(Optional) The time of day to stop invoking the schedule. CloudBees CD/RO stops creating new jobs at this time, but a job in progress continues to run. If Enter hours and minutes, formatted Argument type: String |
tierMapName |
(Optional) The name of the tier map used to determine where to run the process. It maps application processes to environments. Argument type: String |
tierResourceCounts |
(Optional) The resource count for each resource template tier. Argument type: String |
timeZone |
(Optional) Enter the time zone you want to use for this schedule. Argument type: String |
weekDays |
(Optional) Restricts the schedule to specified days of the week. Specify days of the week separated by spaces. Use English names "Monday", "Tuesday", and so on. Argument type: String |
workflowName |
(Optional) The name of the workflow to run when the schedule is invoked. Argument type: String |