[JIRA] (JENKINS-58093) Label properties cannot be exported or configured by JCasC

10 views
Skip to first unread message

o.v.nenashev@gmail.com (JIRA)

unread,
Jun 19, 2019, 7:38:02 AM6/19/19
to jenkinsc...@googlegroups.com
Oleg Nenashev created an issue
 
Jenkins / Bug JENKINS-58093
Label properties cannot be exported or configured by JCasC
Issue Type: Bug Bug
Assignee: Dominique Brice
Components: core, label-linked-jobs-plugin, label-verifier-plugin
Created: 2019-06-19 11:37
Labels: jcasc-compatibility
Priority: Minor Minor
Reporter: Oleg Nenashev

In Jenkins labels might have configurations via label properties: https://github.com/jenkinsci/jenkins/blob/bfdd49537cf84f94a17559f2bd6c105d2b5e7c3e/core/src/main/java/hudson/model/labels/LabelAtomProperty.java. It is not the most common functionality, but is is used in two plugins inside the update center: https://jenkins.io/doc/developer/extensions/jenkins-core/#labelatomproperty 

Configuration management code is here: https://github.com/jenkinsci/jenkins/blob/811583eb6007ffa22f81c312d983816e5f36a670/core/src/main/java/hudson/model/labels/LabelAtom.java 

The code is a manual implementation, and JCasC obviously does not support it.

In order to support the logic, labels need to be refactored (e.g. to Global configuration category or so) OR there should be a JCasC plugin patch for supporting label management there

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

o.v.nenashev@gmail.com (JIRA)

unread,
Jun 19, 2019, 10:03:02 AM6/19/19
to jenkinsc...@googlegroups.com
Oleg Nenashev assigned an issue to Unassigned
Change By: Oleg Nenashev
Assignee: Dominique Brice

egutierrez@cloudbees.com (JIRA)

unread,
May 7, 2020, 9:58:03 AM5/7/20
to jenkinsc...@googlegroups.com
Evaristo Gutierrez started work on Bug JENKINS-58093
 
Change By: Evaristo Gutierrez
Status: Open In Progress
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo

egutierrez@cloudbees.com (JIRA)

unread,
May 7, 2020, 9:58:04 AM5/7/20
to jenkinsc...@googlegroups.com

egutierrez@cloudbees.com (JIRA)

unread,
May 7, 2020, 9:58:05 AM5/7/20
to jenkinsc...@googlegroups.com

egutierrez@cloudbees.com (JIRA)

unread,
May 8, 2020, 3:59:02 AM5/8/20
to jenkinsc...@googlegroups.com
Change By: Evaristo Gutierrez
Status: In Review Resolved
Resolution: Fixed
Released As: configuration-as-code-1.40
Reply all
Reply to author
Forward
0 new messages