jenkinsci / jenkinsci/git-plugin

[JENKINS-64276] JCasC warning log for GitSCMSource#owner

Open
#3,616 0 comments 0 reactions 0 assignees View on GitHub
component:git-plugin imported-jira-issue jcasc-compatibility priority:minor resolution:unresolved
Dominant language
Java
Stars
694
Forks
1.1k
Avg merge
1h 29m
Merged PRs (30d)
3

Description

(Filing this issue due to comment https://github.com/jenkinsci/configuration-as-code-plugin/issues/536#issuecomment-613242807 from jetersen)

During Jenkins startup I get:

```
WARNING i.j.p.casc.BaseConfigurator#createAttribute: Can't handle class jenkins.plugins.git.GitSCMSource#owner: type is abstract but not Describable.

```

Based on new JCasC configuration for global shared pipeline library like this (based on manual configuration being exported via "Mange Jenkins > Conifguration as Code > View Configuration":

...

unclassified:
...
globalLibraries:
libraries:
- defaultVersion: "master"
includeInChangesets: false
name: "my-shared-library"
retriever:
modernSCM:
scm:
git:
credentialsId: "my-jenkins-ldap"
remote: "https://mygit.com/jenkins-shared-library.git"
traits:
- "gitBranchDiscovery"
...

---
Originally reported by reinholdfuereder, imported from: JCasC warning log for GitSCMSource#owner


  • status: Open
  • priority: Minor
  • component(s): git-plugin
  • label(s): jcasc-compatibility
  • resolution: Unresolved
  • votes: 7
  • watchers: 7
  • imported: 2025-12-02

Raw content of original issue

(Filing this issue due to comment https://github.com/jenkinsci/configuration-as-code-plugin/issues/536#issuecomment-613242807 from jetersen)

During Jenkins startup I get:



WARNING i.j.p.casc.BaseConfigurator#createAttribute: Can't handle class jenkins.plugins.git.GitSCMSource#owner: type is abstract but not Describable.


Based on new JCasC configuration for global shared pipeline library like this (based on manual configuration being exported via "Mange Jenkins > Conifguration as Code > View Configuration":



...

unclassified:
...
globalLibraries:
libraries:
- defaultVersion: "master"
includeInChangesets: false
name: "my-shared-library"
retriever:
modernSCM:
scm:
git:
credentialsId: "my-jenkins-ldap"
remote: "https://mygit.com/jenkins-shared-library.git"
traits:
- "gitBranchDiscovery"
...

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.