You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NotMyFault
changed the title
Pipeline examples are outdated demonstrating unsupported examples
Pipeline samples are outdated demonstrating unsupported examples
Aug 12, 2023
Problem with this page
Pipeline Examples page source file
Expected behavior
https://www.jenkins.io/doc/pipeline/examples/ contains up-to-date, copy/paste ready examples to use in pipelines.
Actual behavior
Many samples are outdated and can't be used on supported Jenkins versions, due to syntax changes and security hardening.
E.g. https://github.com/jenkinsci/pipeline-examples/blob/master/jenkinsfile-examples/msbuild/Jenkinsfile; standalone
stage
is deprecated in favor ofstage('abc')...
Possible solution
The page content is generated based on the samples in https://github.com/jenkinsci/pipeline-examples.
Updating the samples in https://github.com/jenkinsci/pipeline-examples restores functionality of the examples on jenkins.io.
The text was updated successfully, but these errors were encountered: