Hi, 
and thanks for the quick reply.
To be precice, I am getting questions about the "Jenkinsfile (Declarative 
Pipeline)" example. 

*For example : *

1.) No such DSL method 'pipeline'

*2.) "*agent any" is not working , and as far as I learned from other 
coverage, agents (= nodes? ) are addressed with this syntax:  
<pre>
"node('[slave|node|agent] name here'){
}"   
*</pre>*

When introducing jenkins pipelines,  I had setup loads of pipeline examples 
on our Jenkins. But as the common developer is behaving, 
they never get bored of digging into stuff, in a struggle to make things 
easier and try out different angles :-)

When they finally stumble upon the jenkins book section, this is the 
question I get from most of my colleagues:
"How is this example meant to be used, or is it referring to a version of 
pipeline which is either outdated or we dont have installed yet?"
-> It also is unclear to me, if that syntax would be working, since I never 
saw this in any other example when digging into pipeline. 

This results in parts of the team drawing conclusions how pipeline is not 
so precise at all and syntax save and blablablah, and oh well - the 
documentation...
and then they skip multibranch pipelines and setup 60 identically build 
jobs by hand (which I have to maintain and backup) :-/

Please excuse my partly bad english - and please understand that no harm is 
intended here. I am really amazed by the jenkins project and the 
documentation and all.
 
I just wondered if the pipeline example is pseudo code and if so - if it 
has to?

Thanks for the good work and kind regards,

chris












On Monday, February 13, 2017 at 3:01:37 PM UTC+1, R Tyler Croy wrote:
>
> (replies inline) 
>
> On Mon, 13 Feb 2017, christian polzer wrote: 
>
> > Hello, 
> > 
> > I am currently trying to spread pipeline usage for a jenkins environment 
> > within my fellow coworkers. 
> > Of course, th jenkins pipeline is greatly embrased :) 
> > 
> > But what is the documentation in the jenkins book about? Fellow CoCoders 
> > stumble over the jenkinsfile chapter as the examples are not working: 
> > https://jenkins.io/doc/book/pipeline/ 
> > 
> > What documentation do you guys use? 
>
>
> What examples are not working for you? I wrote almost all of them and I'm 
> pretty sure every single one works, perhaps I made a typo. 
>
> Could you share the error you're seeing and the corresponding Jenkinsfile 
> example? 
>
>
> Cheers 
> - R. Tyler Croy 
>
> ------------------------------------------------------ 
>      Code: <https://github.com/rtyler> 
>   Chatter: <https://twitter.com/agentdero> 
>      xmpp: rty...@jabber.org <javascript:> 
>
>   % gpg --keyserver keys.gnupg.net --recv-key 1426C7DC3F51E16F 
> ------------------------------------------------------ 
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/995a3fef-c3b0-4b90-93d5-55ffd6058f78%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to