Skip to main content

Update Build Schedules

The following mutation updates a build schedule:

mutation UpdateBuildSchedule($buildScheduleId: ObjectID!, $name: String, $startAt: Date, $repetitionRate: BuildScheduleRepetitionRate) {
updateBuildSchedule(input: {
buildScheduleId: $buildScheduleId
name: $name
startAt: $startAt
repetitionRate: $repetitionRate
}) {
buildSchedule {
id
name
startAt
repetitionRate
}
}
}

Try in explorer

caution
  • Not specifying startAt will only update the repetition rate.
  • To make the build schedule non-repeatable, null can be set to repetitionRate.