Add the ability to run a new pipeline on-demand.

Issue #14340 resolved
Nathan Fisher
created an issue

From what I can see it's only possible to run a custom pipeline from the "Commit" page. I'm currently using custom Pipelines to trigger deployments to environments. I have a custom pipeline config that looks as follows:

pipelines:
  custom:
    2-uat:
      - step:
          script:
            - lein eb deploy uat 1.0-$BITBUCKET_COMMIT
    3-prod:
      - step:
          script:
            - lein eb deploy www 1.0-$BITBUCKET_COMMIT

Adding it to the build results page would make it easier to promote to another environment.

Could be as simple as adding the link in red to the detailed build results page:

Screen Shot 2017-05-26 at 10.10.58.png

Comments (8)

  1. Aneita Yang staff

    Hi everyone,

    Good news - you can now manually run any pipeline that is defined in your YML file through the UI from either the Branches or the Commits view. Running a pipeline from the Commits view lets you target a specific commit to build. Running a pipeline from the Branches view will build the head of the branch.

    While this doesn't solve the original problem outlined in the description, it does make it simpler to manually run pipelines on the head of the branch. Providing the ability to run a pipeline from within the results of another pipeline is unlikely to be something that we will allow - the result page is very specific to the context of the original pipeline that was run. The option to run a new pipeline for a different commit does not belong on the context of this page.

    Aneita

  2. Log in to comment