Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Project build replaced? #54

Open
bryanlalexander opened this issue Sep 5, 2019 · 1 comment
Open

Project build replaced? #54

bryanlalexander opened this issue Sep 5, 2019 · 1 comment

Comments

@bryanlalexander
Copy link

I noticed in the API Docs the project build API is being replaced. Is that an accurate statement?

POST /project/:vcs-type/:username/:project/build
Replaced by POST /project/:vcs-type/:username/:project/pipeline

If so, will the ability to trigger a build at a certain branch/commit or tag be introduced through a different feature? We're using this capability to implement sane environment/version management using the grace-circleci-builder. This API feature is exceptionally useful, save for the lack of being able to provide build parameters at execution-time (ie: secret injection).

@jama22
Copy link
Contributor

jama22 commented Oct 30, 2019

You should be able to accomplish the same tasks with the replacement endpoint. In our v2 Preview docs https://circleci.com/docs/api/v2/#trigger-a-new-pipeline we describe how the POST body will accept branch, tag, and parameters. Give it a shot!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants