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

Container and Pod EnvVar Buttons not working in config UI

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: kubernetes-plugin
    • Labels:
      None
    • Environment:
      Jenkins LTS and Kubernetes Plugin v1.0
    • Similar Issues:

      Description

      It appears the ContainerEnvVar and PodEnvVar dir have been depricated from resources,but the UI components are still trying to use them so the buttons to add pod and container environment variables are unresponsive.

        Attachments

          Issue Links

            Activity

            Hide
            seakip18 Matthew Ludlum added a comment -

            I commented on this as well back when it was released - https://github.com/jenkinsci/kubernetes-plugin/pull/162#issuecomment-323867030

            I can confirm a possible work around code early next week.

            Show
            seakip18 Matthew Ludlum added a comment - I commented on this as well back when it was released - https://github.com/jenkinsci/kubernetes-plugin/pull/162#issuecomment-323867030 I can confirm a possible work around code early next week.
            Hide
            berni_ Bernhard Kaszt added a comment -

            This is a very critical issue as we can't change the env vars of our pod template anymore.

             

            Show
            berni_ Bernhard Kaszt added a comment - This is a very critical issue as we can't change the env vars of our pod template anymore.  
            Hide
            bajacondor David Schile added a comment -

            What's going on with this one?  With these buttons being broken, the plugin appears very unprofessional.  A status update would be appreciated.

            Show
            bajacondor David Schile added a comment - What's going on with this one?  With these buttons being broken, the plugin appears very unprofessional.  A status update would be appreciated.
            Hide
            csanchez Carlos Sanchez added a comment -

            The status update is that there is no update.

            As for the "unprofessional" appearance just a little reminder that this is open source and you are welcome to contribute a patch
            You also have to realize that all the time used responding to "me too", "when is this going to be done" and "are we there yet" is time not going towards the fixing of the issues

            Thanks

            Show
            csanchez Carlos Sanchez added a comment - The status update is that there is no update. As for the "unprofessional" appearance just a little reminder that this is open source and you are welcome to contribute a patch You also have to realize that all the time used responding to "me too", "when is this going to be done" and "are we there yet" is time not going towards the fixing of the issues Thanks
            Hide
            h0tbird Marc Villacorta added a comment -

            Bernhard Kaszt you can edit config.xml and add envVars by hand:

            <envVars>
              <org.csanchez.jenkins.plugins.kubernetes.ContainerEnvVar>
                <key>FOO-KEY</key>
                <value>FOO-VALUE</value>
              </org.csanchez.jenkins.plugins.kubernetes.ContainerEnvVar>
              <org.csanchez.jenkins.plugins.kubernetes.ContainerEnvVar>
                <key>BAR-KEY</key>
                <value>BAR-VALUE</value>
              </org.csanchez.jenkins.plugins.kubernetes.ContainerEnvVar>
            </envVars>
            
            Show
            h0tbird Marc Villacorta added a comment - Bernhard Kaszt you can edit  config.xml and add envVars by hand: <envVars> <org.csanchez.jenkins.plugins.kubernetes.ContainerEnvVar> <key> FOO-KEY </key> <value> FOO-VALUE </value> </org.csanchez.jenkins.plugins.kubernetes.ContainerEnvVar> <org.csanchez.jenkins.plugins.kubernetes.ContainerEnvVar> <key> BAR-KEY </key> <value> BAR-VALUE </value> </org.csanchez.jenkins.plugins.kubernetes.ContainerEnvVar> </envVars>
            Hide
            krish123 krish2467 added a comment -

            my jenkins is running outside of the cluster.. in my plugin also i am not getting envars.. it is showing empty then how can i add this config.xml and my doubt is i am running my job in jnlp-slave fine but its not running in my image which i am giving.. i named my container as jnlp then slave pod is showing offline in jenkins.... any idea???

            Show
            krish123 krish2467 added a comment - my jenkins is running outside of the cluster.. in my plugin also i am not getting envars.. it is showing empty then how can i add this config.xml and my doubt is i am running my job in jnlp-slave fine but its not running in my image which i am giving.. i named my container as jnlp then slave pod is showing offline in jenkins.... any idea???
            Hide
            csanchez Carlos Sanchez added a comment -

            Scheduled for 1.1.3

            Show
            csanchez Carlos Sanchez added a comment - Scheduled for 1.1.3

              People

              • Assignee:
                vlatombe Vincent Latombe
                Reporter:
                bajacondor David Schile
              • Votes:
                7 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: