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

Link "Started by user XXX" broken on build status page if user name modified

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core, subversion-plugin
    • None
    • Jenkins 1.425

      Our Jenkins installation has been set up to authenticate users against LDAP directory server. Source code has been stored to subversion. When people commit changes to subversion, they automatically end up to People list on Jenkins [1]. Each user has fields "Your name" and "E-mail address" populated [2]. Field "Your name" is populated with user ID / login name. The same user ID is used in svn commits. The "E-mail address" field contains a valid email address.

      When a build is triggered manually, the Status page of that build [3] contains a piece of information: "Started by user XXX". The XXX is a link to user data [4]. Similar links are used on the Changes page of a project [5].

      All is fine if the "Your name" field in the user data is left untouched. Sometimes those user IDs can contain all kind of additional coding, which makes them very cryptic. Therefore, it is very tempting to change them to something more human-readable. Changing "Your name" field from "js1234de" to "John Smith" breaks the link XXX on page [3]. The link points to "..user/John%20Smith". Similar links on page [5] are not affected. They still point to "..user/js1234de".

      There is a similar user name related problem with Email-Ext plugin (JENKINS-9160).

      [1] http://<host>/people/
      [2] http://<host>/user/<user-id>/configure
      [3] http://<host>/job/<project-name>/<build-number>/
      [4] http://<host>/user/<user-id>
      [5] http://<host>/job/<project-name>/changes

            sogabe sogabe
            salsa Sami Salonen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: