It would be nice to have support for the Jenkins Configuration as Code plugin.

          [JENKINS-63149] Add JCasC support for the sidebar link plugin

          Robert added a comment -

          Robert added a comment - Prepared JCasC  see https://github.com/jenkinsci/sidebar-link-plugin/pull/25  

          +1

          Valentin Delaye added a comment - +1

          Valentin Delaye added a comment - - edited

          I've tested the PR, seems to work.

          unclassified:
            sidebarGlobalLink:
              links:
              - displayName: "Link1"
                iconFileName: "static/5f38cabf/images/jenkins-header-logo-v2.svg"
                urlName: "https://www.google.com"
              - displayName: "Link2"
                urlName: "https://www.google.com"
          

           

          Valentin Delaye added a comment - - edited I've tested the PR, seems to work. unclassified: sidebarGlobalLink: links: - displayName: "Link1" iconFileName: " static /5f38cabf/images/jenkins-header-logo-v2.svg" urlName: "https: //www.google.com" - displayName: "Link2" urlName: "https: //www.google.com"  

          PR 25 was merged and released in Sidebar Link 2.0.0.

          Kalle Niemitalo added a comment - PR 25 was merged and released in Sidebar Link 2.0.0.

          Thanks! All good on my side

          Valentin Delaye added a comment - Thanks! All good on my side

          Kalle Niemitalo added a comment - - edited

          There are a few problems in how PR 25 selects a default icon when none is specified, but let's resolve this issue and file those separately.

          Filed https://github.com/jenkinsci/sidebar-link-plugin/issues/40.

          Kalle Niemitalo added a comment - - edited There are a few problems in how PR 25 selects a default icon when none is specified, but let's resolve this issue and file those separately. Filed https://github.com/jenkinsci/sidebar-link-plugin/issues/40 .

            dszczepanik Damian Szczepanik
            joschua_grube Joschua Grube
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: