Hi there,


On Mon, 13 Feb 2017, at 12:28, 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/



The documentation under jenkins.io/doc/ website should be up-to-date.



The Declarative Pipeline example listed on that page is just an example.
The syntax is correct, but it wouldn't make sense to copy-paste this
particular example directly into Jenkins, unless you're running on a
Unix platform, have a project with a `Makefile` checked in, has a
`check` target that produces JUnit reports etc…


But it would work, assuming you have the Declarative Pipeline plugin
installed (aka Pipeline Model Definition), which comes as standard if
you upgrade the main Pipeline plugin.  You would also need the JUnit
plugin since there's a `junit` step in that example.


Can you say exactly what is not working, so that we can fix it?



You can also report issues via JIRA, using the WEBSITE project (rather
than JENKINS):
https://wiki.jenkins-ci.org/display/JENKINS/How+to+report+an+issue



Specific fixes can also be contributed via GitHub by using the "Improve
this page" link at the bottom of every page.


Regards,

Chris

-- 
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/1486994808.3372461.879344152.6EAFE308%40webmail.messagingengine.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to