Here is one example using the declarative style that is running on ci.jenkins.io
https://github.com/stapler/stapler/blob/master/Jenkinsfile /B On Wed, Feb 15, 2017 at 6:04 PM, Fritz Elfert <[email protected]> wrote: > (replies inline) > > On 15.02.2017 17:40, R. Tyler Croy wrote: > > (replies inline) > > > > On Tue, 14 Feb 2017, Fritz Elfert wrote: > > > >> Please add https://github.com/jenkinsci/jclouds-plugin > > > > > > You may be interested in using the buildPlugin() method provided by a > Shared > > Library. Makes things rather simple, and looks like it covers the > defaults the > > jclouds-plugin's Jenkinsfile already has: > > https://github.com/jenkins-infra/pipeline-library#buildplugin > > Well, to be honest, I simply copied the Jenkinsfile from the > config-file-provider. I'm a complete NOOB regarding pipelines. > > > > > >> Also: I would like to use maven 3.2.x instead of maven 3.3.x > >> See: https://groups.google.com/forum/#!topic/jenkinsci-dev/ebczuKKmOPg > > > > If this is something important to you, I suggest using the Docker > Pipeline > > support (allocate a node with the 'docker' label) and pull in the Maven > > container desired. Tools Installers are a tremendous pain in the ass to > manage > > for me, so I'm not willing to start adding more than one basic version > for > > Maven and JDKs right now. > > Being a complete pipeline-NOOB (and on top: Docker-NOOB), I'd really > appreciate some example or perhaps a pointer to some doc which shows how > to "pull" some maven container. > > Thanks > -Fritz > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/jenkinsci-dev/a822f460-ac74-67e6-95ed-c1ac36f18494%40fritz-elfert.de > . > For more options, visit https://groups.google.com/d/optout. > -- Robert Sandell *Software Engineer* *CloudBees Inc.* -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CALzHZS0XiFX3e7H8%3DLUerFanuUF4PQn9dLTCrLRC1bOJD5389A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
