-
Notifications
You must be signed in to change notification settings - Fork 38
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
Build trigger does not support Declarative syntax #149
Comments
Seems the snippet generator may be broken, it displays:
|
The declarative snippet generator is broken for the plugin with triggers. But this works:
|
Does not work for me:
In log:
|
Here is an example of what is known to work:
Unfortunately the Pipeline or Job DSL Snippet Generator does not produce this currently. |
My example works after job is executed manually, that's known limitation https://issues.jenkins-ci.org/browse/JENKINS-47539 |
CIBuildTrigger
only supports use viapipelineTriggers()
in Scripted pipeline, not thetriggers{}
section of Declarative pipeline. This requires us to maintain pipelines in both formats, depending on how they're triggered. It would be great ifCIBuildTrigger
supported Declarative pipelines.The text was updated successfully, but these errors were encountered: