Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
Teams
, (opens new window)

Bamboo Command Line Interface (CLI)
Results will update as you type.
  • getEnvironment
  • getEnvironmentList
  • getEnvironmentNotificationList
  • getEnvironmentRequirementList
  • getEnvironmentTaskList
  • getEnvironmentTrigger
  • getEnvironmentTriggerList
  • getEnvironmentVariableList
  • getJob
  • getJobList
  • getLabelList
  • getLatestBuildNumber
  • getNotificationList
  • getPlan
  • getPlanList
  • getProject
  • getProjectList
  • getReplacementVariableList
  • getRepository
  • getRepositoryList
  • getRequirementList
  • getServerInfo
  • getStage
  • getStageList
  • getTask
  • getTaskList
  • getTaskTypeList
  • getTrigger
  • getTriggerList
  • getUserList
  • getVariableList
  • help
  • installApp
  • moveEnvironment
  • moveJob
  • movePlans
  • moveStage
  • moveTask
  • orderRepository
  • pauseServer
  • queueBuild
  • queueBuildFromList
  • removeAgent
  • removeAgentAssignment
  • removeApplicationLink
  • removeArtifact
  • removeBranch
  • removeBuildArtifacts
  • removeBuildHistory
  • removeCapability
  • removeCredentials
  • removeEnvironment
  • removeEnvironmentNotification
  • removeEnvironmentRequirement
  • removeEnvironmentTask
  • removeEnvironmentTrigger
  • removeEnvironmentVariables
  • removeGroup
  • removeJob
  • removeLabels
  • removeNotification
  • removeRepository
  • removeRequirement
  • removeStage
  • removeTask
  • removeTrigger
  • removeUser
  • removeVariables
  • renderRequest
  • restartBuild
  • restoreAgentAssignments
  • resumeServer
  • run
  • runFromAgentAssignmentList
  • runFromAgentList
  • runFromApplicationLinkList
  • runFromBuildList
  • runFromCapabilityList
  • runFromCsv
  • runFromDeploymentProjectList
  • runFromEnvironmentList
    You‘re viewing this with anonymous access, so some content might be blocked.
    /
    queueBuild

    queueBuild

    Nov 10, 2023

    See also: Actions

    Description

    Queue a build to run. If a build number is provided (number parameter or 3 part build key), an existing failed or incomplete build can be restarted. If wait is specified, the action will not complete until the queued build completes or the timeout period elapses. The action will fail if the build fails unless continue parameter is used to ignore a failed result. A specific revision can be built if the revision parameter is specified. Plan variables can be set using the field and value parameters. Plans with manual stages can be automatically continued to a specific stage or @ALL using the stage parameter provided wait is also used. Conditional queuing is supported - see the documentation for details.

    Required Parameters

    plan or build

    Optional Parameters

    branch, revision, number, wait, stage, continue, timeout, dateFormat, field, field1, value1, field2, value2, reference

    Type

    Start

    Category

    Builds

    Output Formats

    Replacement Variables

    build, buildNumber, buildState, buildRestartCount

    Since Version

    Examples

    queueBuild

    Related How To's

    , multiple selections available, Use left or right arrow keys to navigate selected items
    cli-action
    cli-action-queuebuild
    cli-parameter-plan
    cli-parameter-build
    cli-parameter-branch
    cli-parameter-revision
    cli-parameter-number
    cli-parameter-wait
    cli-parameter-stage
    cli-parameter-continue
    cli-parameter-timeout
    cli-parameter-dateformat
    cli-parameter-field
    cli-parameter-field1
    cli-parameter-value1
    cli-parameter-field2
    cli-parameter-value2
    cli-parameter-action
    cli-parameter-dateformat2
    cli-parameter-help
    cli-parameter-outputtype
    cli-parameter-special
    cli-parameter-quiet
    cli-parameter-verbose
    cli-parameter-debug
    cli-action-category-builds
    cli-action-type-start
    cli-parameter-reference

    Need support? Create a request with our support team.

    Copyright © 2005 - 2025 Appfire | All rights reserved.

    {"serverDuration": 16, "requestCorrelationId": "512377cc681d490a8ee82732f2692d25"}