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

Resource root URL not shown on a Jenkins docker container run

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • [ x] Jenkins version: Jenkins ver. 2.222.3
      [x ] Plugin version: configuration-as-code 1.40
      [x ] OS Ubuntu 16.04.6 LTS

      I am running a jenkins container with configuration as a code plugin in my linux machine. It is based from a docker image
      FROM jenkins/jenkins:lts

      I configured Resource root URL under Serve resource files from another domain under Jenkins (http://localhost:8080/configure)

      I defined Resource root URL on the casc yml file like this under
      unclassified:
         resourceRoot:
            url: "http://127.0.0.1:8080/"
      Once the I run the container, the link url doesn't show in the GUI.
      My workaround is to reload manually the casc configuration yml at http://localhost:8080/configuration-as-code/ which works fine. This is not a good solution during automation.

      How do we solve this issue that once the container runs, the root url should expectedly be shown?


      It seems strange because when building the image, no issues are found and I am quite sure I followed the casc rule definition.

      I already created a bug issue on casc support but according to them, It seems a simple bug in the jelly (UI)
      Here are the details for reference: https://github.com/jenkinsci/configuration-as-code-plugin/issues/1383

      Thank you for your help.

            Unassigned Unassigned
            peachy_devops Loren Alatan
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: