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

SnakeYAML method not found #76

Closed
xdxiaodong opened this issue Oct 19, 2023 · 4 comments
Closed

SnakeYAML method not found #76

xdxiaodong opened this issue Oct 19, 2023 · 4 comments

Comments

@xdxiaodong
Copy link

SnakeYAML API Plugin 2.2-111.vc6598e30cc65
java.lang.NoSuchMethodError: org.yaml.snakeyaml.representer.Representer: method 'void ()' not found
at io.jenkins.plugins.pipeline.parsers.AbstractParser.(AbstractParser.java:25)
at io.jenkins.plugins.pipeline.parsers.PipelineParser.(PipelineParser.java:26)
at io.jenkins.plugins.pipeline.cps.PipelineCpsScmFlowDefinition.create(PipelineCpsScmFlowDefinition.java:50)
at io.jenkins.plugins.pipeline.PipelineAsYamlScmFlowDefinition.create(PipelineAsYamlScmFlowDefinition.java:74)
at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:311)
at hudson.model.ResourceController.execute(ResourceController.java:101)
at hudson.model.Executor.run(Executor.java:442)

@Moneykicks101001
Copy link

i have the same issue, which jenkins version you currently use @xdxiaodong

@chihabam
Copy link

chihabam commented Dec 8, 2023

Same issue here, any luck?

@jonesbusy
Copy link
Contributor

Jenkins core and plugins are now depending on SnakeYAML 2: https://plugins.jenkins.io/snakeyaml-api/

Plugin need to be adapted and refreshed

@slide
Copy link
Member

slide commented Apr 11, 2024

I believe this has been resolved via the PR above. Please reopen if it is still an issue.

@slide slide closed this as completed Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants