java lang NoSuchMethodError No such DSL method autoClean found among steps

0 votes
Hi, Jenkins job fails with error "java.lang.NoSuchMethodError: No such DSL method 'autoClean' found among steps [archive,". It ran fine until Jenkins was restarted.

Any idea on how to fix this?
Oct 19, 2020 in Jenkins by Nagarjun
• 120 points

1 answer to this question.

0 votes


It seems the plugin you are using is not installed properly. So check that part. After a successful installation, you need to restart your Jenkins Server.

answered Oct 19, 2020 by MD
• 95,320 points

Related Questions In Jenkins

0 votes
1 answer

Error: ‘Jenkins pipeline: No such DSL method'

This is a simple mistake, just remove ...READ MORE

answered Aug 17, 2018 in Jenkins by Sophie may
• 10,550 points
+1 vote
3 answers

"No such file pom.xml" error in Jenkins

Can you please che ck the location ...READ MORE

answered May 16, 2019 in Jenkins by Samir
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
+2 votes
1 answer
+1 vote
1 answer

java.lang.NoSuchMethodError: No such DSL method 'pipeline' found among steps

Hi@akhtar, I think you did not install your ...READ MORE

answered Jul 7, 2020 in Jenkins by MD
• 95,320 points
0 votes
1 answer