Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-5214

Allow Build REST API to receive custom parameters

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • 3.1
    • None
    • None
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      It'd be great if when triggering a manual build through the build API, if custom parameters could be passed in. These parameters could then be used to substitute values in the builder configuration for example. For example, if I have a build that releases some software, I might have my maven 2 builder configured to say mvn release:prepare release:perform -Drelease.version=${bamboo.release.version}, and then when triggering the build via the remote API, I might say bamboo.release.version=1.1. Any parameters that start with "bamboo." would be passed into the parameters of the build. Then my external release management tool (JIRA) could tell Bamboo to perform the release.

      Note, I've checked out the implementation for this already, it's an incredibly simple thing to implement passing in custom parameters to the build execution manager.

      Attachments

        Activity

          People

            mwent Marek Went (Inactive)
            jroper James Roper [Atlassian]
            Votes:
            4 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: