jenkinsci / templating-engine-plugin

create tool-agnostic, templated pipelines to be shared by multiple teams
https://jenkinsci.github.io/templating-engine-plugin/latest/
Apache License 2.0
171 stars 59 forks source link

[Bug]: Jenkins template couldn't use SCM #316

Open jan-sh opened 1 year ago

jan-sh commented 1 year ago

Jenkins Version

2.375.2

JTE Version

2.5.3

Bug Description

trying to use Jenkins templates using government library tier but the Jenkins pipeline could use it and say unable to create SCMFileSystem. If I try normal SCM method in pipeline the crenditals or OK.

Relevant log output

Unable to create SCMFileSystem scm: Hudson.pluigns.git.GitSCM

Steps to Reproduce

try basic library tier with one library in GIT with specific branch. if I try normal SCM method the git is checkout successfully

steven-terrana commented 1 year ago

this isn't enough information to reproduce.

What type of git server are you using? (BitBucket, GitHub, Enterprise GitHub, GitLab, etc?) what were the specific values you provided to the configuration?