Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pipeline samples are outdated demonstrating unsupported examples #6610

Open
NotMyFault opened this issue Aug 12, 2023 · 1 comment
Open

Pipeline samples are outdated demonstrating unsupported examples #6610

NotMyFault opened this issue Aug 12, 2023 · 1 comment
Labels

Comments

@NotMyFault
Copy link
Member

NotMyFault commented 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 of stage('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.

@NotMyFault NotMyFault added the bug label Aug 12, 2023
@NotMyFault NotMyFault changed the title Pipeline examples are outdated demonstrating unsupported examples Pipeline samples are outdated demonstrating unsupported examples Aug 12, 2023
@jenkins-infra jenkins-infra deleted a comment from danish9039 Jan 15, 2024
@Satishmedarr
Copy link

@NotMyFault Hi, I’d like to work on this issue as part of my initial contributions. Can you confirm if it’s still relevant? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants