Skip to content
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

Able to trigger ci using git hash from another branch #2131

Closed
2 tasks done
dheeth opened this issue Aug 3, 2022 · 0 comments · Fixed by #2211
Closed
2 tasks done

Able to trigger ci using git hash from another branch #2131

dheeth opened this issue Aug 3, 2022 · 0 comments · Fixed by #2211
Assignees
Labels
bug Something isn't working

Comments

@dheeth
Copy link
Contributor

dheeth commented Aug 3, 2022

Checklist:

  • I've searched in the docs and FAQ for my answer
  • I've included steps to reproduce the bug.

Describe the bug

We set branch for builds on UI and commit hashes are shown from the same branch for us to trigger but if we trigger using API, we are able to pass commit hash from any branch and there is no option to pass branch name with that using the API

To Reproduce

  1. Trigger a CI from UI
  2. Trigger the same using commit hash from another branch

Expected behavior

It shouldn't run the build if hash is from another branch or option to pass branch name should also be there in API

Current behavior

It gets triggered using commit hash from any branch using API

AB#21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants