-
Notifications
You must be signed in to change notification settings - Fork 58
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
Is it possible to use JTE for declarative pipelines? #23
Comments
Have you found an answer for this? |
Hello @tkgreg and @JugurthaT - we have not extensively tested the use of the declarative syntax. as of now, it is not supported. The issue is that declarative syntax expects to know what's going to happen before the pipeline runs, or be able to lookup steps that are contributed by regular jenkins shared libraries. Due to the runtime composition of pipelines with JTE, they aren't natively compatible. You could probably make your template a declarative pipeline and invoke steps from within a It might also be possible to use declarative syntax from within an individual library step but i have not tested this. |
@steven-terrana is there updates? did you test declarative syntax or do you have a plan for support? |
i have not tested JTE with declarative syntax. I would love to be able to support but as of right now i'm not sure if it's even possible. Currently working on a 2.0 release of JTE and can add declarative support as something I can at least look into. no promises though :) |
Can we take a look at the roadmap? :) |
i'm putting it together right now and i'll post a link at some point today on this issue! give me an hour or so :) |
@steven-terrana
In my org case, Yet I didn't use template engine so don't know how it works and can be work for my thinkging Thanks, |
This functionality has been completed as part of #109 and an upstream PR in the declarative syntax plugin as part of corresponding pull request on jenkinsci/pipeline-model-definition-plugin#403. This will be a part of the 2.0 release. |
No description provided.
The text was updated successfully, but these errors were encountered: