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

Container and Pod EnvVar Buttons not working in config UI

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • kubernetes-plugin
    • None
    • Jenkins LTS and Kubernetes Plugin v1.0

    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

            bajacondor David Schile created issue -
            bajacondor David Schile made changes -
            Field Original Value New Value
            Summary Container and Pod EnvVar Buttons not working in config UI in 1.0 Container and Pod EnVar Buttons not working in config UI in 1.0
            bajacondor David Schile made changes -
            Summary Container and Pod EnVar Buttons not working in config UI in 1.0 Container and Pod EnVar Buttons not working in config UI in 1.0v
            bajacondor David Schile made changes -
            Summary Container and Pod EnVar Buttons not working in config UI in 1.0v Container and Pod EnvVar Buttons not working in config UI in 1.0v

            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.

            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.

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

             

            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.  
            csanchez Carlos Sanchez made changes -
            Link This issue is duplicated by JENKINS-47542 [ JENKINS-47542 ]
            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.

            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.

            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

            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

            berni_ 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>
            
            h0tbird Marc Villacorta added a comment - berni_ 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>
            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???

            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???
            cloudbees CloudBees Inc. made changes -
            Remote Link This issue links to "CloudBees Internal TIGER-4116 (Web Link)" [ 19747 ]
            vlatombe Vincent Latombe made changes -
            Summary Container and Pod EnvVar Buttons not working in config UI in 1.0v Container and Pod EnvVar Buttons not working in config UI in 1.0
            vlatombe Vincent Latombe made changes -
            Summary Container and Pod EnvVar Buttons not working in config UI in 1.0 Container and Pod EnvVar Buttons not working in config UI
            vlatombe Vincent Latombe made changes -
            Assignee Carlos Sanchez [ csanchez ] Vincent Latombe [ vlatombe ]
            vlatombe Vincent Latombe made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            vlatombe Vincent Latombe made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]

            Scheduled for 1.1.3

            csanchez Carlos Sanchez added a comment - Scheduled for 1.1.3
            csanchez Carlos Sanchez made changes -
            Resolution Fixed [ 1 ]
            Status In Review [ 10005 ] Closed [ 6 ]

            People

              vlatombe Vincent Latombe
              bajacondor David Schile
              Votes:
              7 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: