--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/5bb89e53-6b98-458e-a406-8870b75feb03%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/fdd17e1a-35fa-41b2-bd16-e5c136a456f8%40googlegroups.com.
Well, yes, you can use Shared Libraries with Declarative. Example: https://jenkins.io/blog/2017/02/15/declarative-notifications/
2017-03-22 3:56 GMT+01:00 Cuong Tran <cuong...@gmail.com>:
The declarative option is nice but you will lose the ability to extract out reusable code via the shared library. For example, you can't do this yet:MyCompanyStandardPipeline {... // which will plugin standard sections...}
On Thursday, March 16, 2017 at 8:55:48 PM UTC-7, Nick Le Mouton wrote:Hi,I'm just getting my head around pipeline as code and have converted my previous Jenkins job/ant build targets to a Jenkinsfile. As I was looking for documentation on the Jenkins site, I'm seeing mentions of declarative pipelines and it differs from what I've written.Which method should I be looking to use (especially with blue ocean)? Declarative or scripted? Why should I be using one over the other?Can I also get some feedback on my Jenkinsfile (https://gist.github.com/NoodlesNZ/bf9b50cab82093097796d354e37083f0)? It's hard to find examples beyond "hello world"/simple pipelines.Thanks
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.