I have a pipeline with a build step followed by a single deployment step. I want to be able to trigger the deployment step for a pipeline where the build step has passed and now has state.name="IN_PROGRESS" and state.tage.name="PAUSED".
What endpoint do I post to, and what is the correct json for the post body? I have queried the pipeline from the /2.0/repositories/{workspace}/{repo_slug}/pipelines/ endpoint, so I have that data and know from the state that the pipeline is ready to run the deployment step.
simplified pipeline yaml:
default:
- step:
script:
- runBuild.sh
artifacts:
- build/**
- step:
name: Run Deploy
deployment: Test
trigger: manual
script:
- runDeploy.sh
Unfortunately not much has changed since this related question was asked I believe.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.