Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-56422

JCasC doesn't export Github Enterprise Servers added

    Details

    • Similar Issues:

      Description

      I'm trying to automate the api endpoints added under "Configure System". I believe the plugin is https://wiki.jenkins.io/display/JENKINS/GitHub+Branch+Source+Plugin. (v.2.4.2). The property is simply left out. 

      I'm also experiencing this https://issues.jenkins-ci.org/browse/JENKINS-54051 when trying to add the api, although when using the setting it works as expected. 

      Jenkins is set up with https://github.com/helm/charts/tree/master/stable/jenkins, haven't really tweaked anything particular, but these are the plugins I provide:

      InstallPlugins:

      • kubernetes:1.14.3
      • workflow-aggregator:2.5
      • workflow-job:2.31
      • credentials-binding:1.17
      • git:3.9.3
      • github-branch-source:2.4.2
      • pipeline-utility-steps:2.2.0
      • role-strategy:2.9.0
      • http_request:1.8.22

      Also, running Jenkins ver. 2.164.

        Attachments

          Activity

          erihanse Erik Aaron Hansen created issue -
          oleg_nenashev Oleg Nenashev made changes -
          Field Original Value New Value
          Labels jcasc-compatibility
          timja Tim Jacomb made changes -
          Component/s github-branch-source-plugin [ 20858 ]
          Component/s configuration-as-code-plugin [ 23170 ]
          timja Tim Jacomb made changes -
          Assignee Ewelina Wilkosz [ ewel ] Liam Newman [ bitwiseman ]
          Hide
          timja Tim Jacomb added a comment -

          This isn't a problem with the jcasc plugin,

          Looking at the code I can't see any problems, but I can't see any tests or demos that verify it works
          (https://github.com/jenkinsci/github-branch-source-plugin/blob/master/src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubConfiguration.java)

          Show
          timja Tim Jacomb added a comment - This isn't a problem with the jcasc plugin, Looking at the code I can't see any problems, but I can't see any tests or demos that verify it works ( https://github.com/jenkinsci/github-branch-source-plugin/blob/master/src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubConfiguration.java )

            People

            • Assignee:
              bitwiseman Liam Newman
              Reporter:
              erihanse Erik Aaron Hansen
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: