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

Build history text field wrap fails when containing markup

    XMLWordPrintable

Details

    Description

      Upgrading from 1.578 to 1.596, I find that all the links I have in the build descriptions don't work in the build history (they do work on the build's main page).

      I use the description-setter to set discriptions like:
      <a href="${JOB_URL}../compiler=vc12/${BUILD_NUMBER}/console">win console</a>
      to link directly to the console form each job. (And 3 more links, to the build results and then the same for the mac build of this Multi-configuration project). These links still show as links on job/myjob/xx/ but only the text shows in the build history 'sidebar'. I add these links mostly for use from the sidebar (to save clicks and page load time when going to the console and build artefacts for a specific build).

      Looking through the Jenkins Changelog, I'm guessing this may be the result of the change in 1.593 (or maybe issue 16184?). The plugin itself did not change. I'm not sure if this change was intentional or not, at least nothing in the changelog seems to indicate it was.

      Attachments

        Issue Links

          Activity

            Hmm, you're right Daniel, I could only think of testing this with real data, but that's not really needed here of course. I see this was pushed to the main_trunk by now, does this mean it will be in the next release (I'll just test it by upgrading then)?

            legolas Arnt Witteveen added a comment - Hmm, you're right Daniel, I could only think of testing this with real data, but that's not really needed here of course. I see this was pushed to the main_trunk by now, does this mean it will be in the next release (I'll just test it by upgrading then)?
            danielbeck Daniel Beck added a comment -

            It'll be in 1.600. (The delayed release due to the RC process means turnaround time on everything feels like forever, so it's more important to test early!)

            danielbeck Daniel Beck added a comment - It'll be in 1.600. (The delayed release due to the RC process means turnaround time on everything feels like forever, so it's more important to test early!)

            Code changed in jenkins
            User: tfennelly
            Path:
            war/src/main/webapp/css/style.css
            war/src/main/webapp/scripts/hudson-behavior.js
            http://jenkins-ci.org/commit/jenkins/446f3cae9f1e660ae48e989a561b7d1ddb722127
            Log:
            [FIXED JENKINS-26406] Build history text field wrap fails when containing markup

            (cherry picked from commit b31bb1cc1c5a61a3e984e45e33cafa6130517938)

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: tfennelly Path: war/src/main/webapp/css/style.css war/src/main/webapp/scripts/hudson-behavior.js http://jenkins-ci.org/commit/jenkins/446f3cae9f1e660ae48e989a561b7d1ddb722127 Log: [FIXED JENKINS-26406] Build history text field wrap fails when containing markup (cherry picked from commit b31bb1cc1c5a61a3e984e45e33cafa6130517938)
            dspartz Daryl Spartz added a comment -

            The patch fixed a problem we discovered with html hyperlink in build description not being clickable. Please add to next LTS

            dspartz Daryl Spartz added a comment - The patch fixed a problem we discovered with html hyperlink in build description not being clickable. Please add to next LTS
            dogfood dogfood added a comment -

            Integrated in jenkins_main_trunk #4292
            [FIXED JENKINS-26406] Build history text field wrap fails when containing markup (Revision 446f3cae9f1e660ae48e989a561b7d1ddb722127)

            Result = UNSTABLE
            ogondza : 446f3cae9f1e660ae48e989a561b7d1ddb722127
            Files :

            • war/src/main/webapp/css/style.css
            • war/src/main/webapp/scripts/hudson-behavior.js
            dogfood dogfood added a comment - Integrated in jenkins_main_trunk #4292 [FIXED JENKINS-26406] Build history text field wrap fails when containing markup (Revision 446f3cae9f1e660ae48e989a561b7d1ddb722127) Result = UNSTABLE ogondza : 446f3cae9f1e660ae48e989a561b7d1ddb722127 Files : war/src/main/webapp/css/style.css war/src/main/webapp/scripts/hudson-behavior.js

            People

              tfennelly Tom FENNELLY
              legolas Arnt Witteveen
              Votes:
              3 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: