jx
jx copied to clipboard
jx pipeline start can't start pull request pipeline
You can't start a pipeline for a pull request with jx pipeline start
. If you try by for example give the branch with --branch the following necessary environment variables will not be set in in the build pod:
- PULL_NUMBER
- PULL_PULL_REF
- PULL_PULL_SHA
So you could for example get this error:
+ jx gitops pr variables
error: failed to : missing option: --pr
Maybe you could technically give those environment variables with --env, but that wouldn't be very practical.