-
Type:
Bug
-
Resolution: Not A Defect
-
Priority:
Blocker
-
Component/s: configuration-as-code-plugin
-
None
-
Environment:Jenkins v2.289.3
configuration-as-code plugin v1.52
I have the following pipeline configuration DSL:
pipelineJob("SOMEJOB") {
definition {
cpsScm {
scm {
git {
remote {
github("https://github.myenterprise.ch/someorg/somerepo.git", "https")
}
}
}
}
}
}
And here the Github Enterprise configuration:
unclassified:
gitHubConfiguration:
endpoints:
- apiUri: "https://github.myenterprise.ch/api/v3"
name: "My Github"
After deploying the Jenkins CASC the project repository URL is
https://github.com/https://github.myenterprise.ch/someorg/somerepo.git.git and the pipeline fails out of obvious reasons.
Not sure if this is a bug or a misconfiguration, but any help would be appreciated.
**********************
Edit:Ā The issue is solved by usingĀ
github("someorg/somerepo", "https", "github.myenterprise.ch")
- is related to
-
JENKINS-66515 JCasC extra slash `/` in repository name
-
- Closed
-