• Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • Jenkins ver. 2.7.1, 2.7.4,2.19.1

      We were using Job Configuration History Plugin ver. 2.4 with Jenkins 1.651.3.
      After upgrade to Jenkins 2.7.1, plugin is not showing user who did the change any more - it shows always anonymous.
      We use default Job history plugin configuration.
      For user authentication & authorization / Access Control we have configure Active directory in jenkins

          [JENKINS-36605] History plugin

          I can't reproduce this issue with Jenkins 2.12.
          JobConfigHistory gets the current user from Jenkins core. If it's not possible to get valid user ID, the user is called "Anonym" not "anonymous" like in your example. The user name "anonymous" comes from core.

          Sometimes, config changes are not from user directly. In this cases the username can be "SYSTEM" or "anonymous".

          Please could you check, if the change from a user (maybe you can change a configuration e.g.)?

          Stefan Brausch added a comment - I can't reproduce this issue with Jenkins 2.12. JobConfigHistory gets the current user from Jenkins core. If it's not possible to get valid user ID, the user is called "Anonym" not "anonymous" like in your example. The user name "anonymous" comes from core. Sometimes, config changes are not from user directly. In this cases the username can be "SYSTEM" or "anonymous". Please could you check, if the change from a user (maybe you can change a configuration e.g.)?

          Peter Kobes added a comment -

          Well changes I made directly under my account - standard edit and save of the configuration
          You are right when I click on the anonymous user it shows its profile saying: Jenkins User Id: anonymous
          but in the security setup there is just AD configured and bunch of grousp - I can't find any reference to this user nor I have a clue where it is coming from

          Thanks for the answer anyway - the only think I'm 100% sure about that it started with 2.12 because the only think we did is just putting there new Jenkins war and update plugins

          Peter Kobes added a comment - Well changes I made directly under my account - standard edit and save of the configuration You are right when I click on the anonymous user it shows its profile saying: Jenkins User Id: anonymous but in the security setup there is just AD configured and bunch of grousp - I can't find any reference to this user nor I have a clue where it is coming from Thanks for the answer anyway - the only think I'm 100% sure about that it started with 2.12 because the only think we did is just putting there new Jenkins war and update plugins

          If you have matrix based security enabled, it is possible to do config changes without logging in, if rights for user anonymous arent't removed.

          Jochen A. Fürbacher added a comment - If you have matrix based security enabled, it is possible to do config changes without logging in, if rights for user anonymous arent't removed.

          Igor Tretyak added a comment - - edited

          Same for me, recently updated Jenkins to 2.7.4
          Now it's anonymous in every job. I'm logged in.

          Igor Tretyak added a comment - - edited Same for me, recently updated Jenkins to 2.7.4 Now it's anonymous in every job. I'm logged in.

          Yoav Jungmann added a comment -

          Same issue for Jenkins 2.46.2 Plugin version 2.16

          Yoav Jungmann added a comment - Same issue for Jenkins 2.46.2 Plugin version 2.16

            stefanbrausch Stefan Brausch
            pkobes Peter Kobes
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: