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

the timestamper format is not rememembered across jobs

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • timestamper-plugin
    • None

      As a user of Jenkins I do find the timestamper format (duration vs time) to be a global preference option that should be remembered, ideally as a user preference option (so it would be retained even across different machines/browsers).

      Still, if it would be to hard to implement, even the ability to remember the format per browser (cookie) would be much better than the current behavior.

          [JENKINS-41486] the timestamper format is not rememembered across jobs

          The selected format is stored with cookies for each Jenkins site. Is this not working for you?

          Steven G Brown added a comment - The selected format is stored with cookies for each Jenkins site. Is this not working for you?

          Sorin Sbarnea added a comment -

          stevengbrown I was able to identify the bug: the cookie is saved but it is useless because it is saved with the full job-execution path. So the value is remembered for /foo-job/123 which is making it kinda useless.

          I do have hundreds of different job names with thousands of executions and I was expecting to remember this preference for the entire jenkins instance ( path = / ) not for a specific job.

          Also the current implementation has another side-effect bug: it does clutter jenkins instance with cookies for each job, and is contributing to another known jenkins bug when the max cookie size limit is reached.

          Sorin Sbarnea added a comment - stevengbrown I was able to identify the bug: the cookie is saved but it is useless because it is saved with the full job-execution path. So the value is remembered for /foo-job/123 which is making it kinda useless. I do have hundreds of different job names with thousands of executions and I was expecting to remember this preference for the entire jenkins instance ( path = / ) not for a specific job. Also the current implementation has another side-effect bug: it does clutter jenkins instance with cookies for each job, and is contributing to another known jenkins bug when the max cookie size limit is reached.

          You don't have to convince me. I've already said that it isn't meant to work that way.

          The cookie path is set to rootURL, or '/' if rootURL isn't defined. Perhaps something has changed in Jenkins so that the plugin can no longer use this value.

          Steven G Brown added a comment - You don't have to convince me. I've already said that it isn't meant to work that way. The cookie path is set to rootURL, or '/' if rootURL isn't defined. Perhaps something has changed in Jenkins so that the plugin can no longer use this value.

          I haven't been able to reproduce this. Are you still experiencing the issue? What version of Jenkins and Timestamper are you running?

          Steven G Brown added a comment - I haven't been able to reproduce this. Are you still experiencing the issue? What version of Jenkins and Timestamper are you running?

            stevengbrown Steven G Brown
            ssbarnea Sorin Sbarnea
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: