Skip to content

[Feature Request] Add build_parameters from CircleCI API #87

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
mcdanielj opened this issue May 28, 2020 · 0 comments
Open

[Feature Request] Add build_parameters from CircleCI API #87

mcdanielj opened this issue May 28, 2020 · 0 comments

Comments

@mcdanielj
Copy link

Greetings,

I use the CI plugin to execute a shell script that accomplishes testing and builds.

For projects that are dependencies to other projects it also triggers a rebuild of those branches via the API.

Unfortunately, there are a few cases where only some, but not all, should be built depending on whether or not the build was triggered by a commit or the API.

I checked your reference to the CircleCI API for documentation and it appears to have a method of sending parameters as data in the API call.

My personal use case would just be a boolean flag to test if a build was triggered via a commit or an API call. I'm not sure if anyone could make use of more than that. Possibly?

Ref: https://circleci.com/docs/2.0/env-vars/#injecting-environment-variables-with-api-v1; Injecting Environment Variables with API v1: Example using curl.

Loving GitBucket. Thank you for all your hard work.

./jeremy

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

No branches or pull requests

1 participant