I was following this tutorial:
node { git url: \'https://github.com/joe_user/simple-maven-project-with-tests.git\' ... }
However it doe
It solved for me using
checkout scm: ([ $class: 'GitSCM', userRemoteConfigs: [[credentialsId: '******',url: ${project_url}]], branches: [[name: 'refs/tags/${project_tag}']] ])