Jenkins NoClassDefFoundError: jenkins/scm/RunWithSCM Jenkins NoClassDefFoundError: jenkins/scm/RunWithSCM jenkins jenkins

Jenkins NoClassDefFoundError: jenkins/scm/RunWithSCM


I think you got a problem with 2 plugins versions. The scm which is bitbucket and the workflow which is the pipeline that describe the steps to your CI.

It doesn't seem to be related to maven.

Check for your Jenkins version, if you are running LTS it's a good start. see: https://jenkins.io/changelog-stable/

Latest and greatest is the best option to start with. Other thing that I would look for is a stable version of those plugins. https://plugins.jenkins.io/bitbucket seems to be update on December, try previous version if the latest doesn't work for you