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

Doclinks doesn't handle the case of zero items well, different build results on website and IRC-Bot

    XMLWordPrintable

Details

    Description

      How to reproduce:
      In the job configuration page add Doclinks as a post-build step, but don't add any files to publish (actually I deleted the last file item and thought this would remove the whole Doclinks post-build step).

      Expected result:
      The Doclinks plugin does nothing and especially doesn't claim a build failure.

      Actual result:
      On the web: the build is marked as failed. The console shows an error message from Doclinks, that no artifacts were found and thus causes the build to break.
      Jenkins IRC Bot instead tells me, that the build passed.

      Attachments

        Activity

          ikedam ikedam added a comment -

          Could not reproduce in my environment. You should report more details.

          How I tried:

          1. Create a free style project "doclinktest"
          2. Add "Publish documents", and add followings:
            • Title: test
            • Description: (none)
            • Directory to archive: .
              • Check "archive recursively"
            • Index file: none
          3. Run a build
          4. The build succeeds.

          I tested with Windows8 64bit, JDK 1.7.0_45, Jenkins 1.532.1, Doclinks plugin 0.6.

          You should create another ticket for the issue of IRC bot.

          ikedam ikedam added a comment - Could not reproduce in my environment. You should report more details. How I tried: Create a free style project "doclinktest" Add "Publish documents", and add followings: Title: test Description: (none) Directory to archive: . Check "archive recursively" Index file: none Run a build The build succeeds. I tested with Windows8 64bit, JDK 1.7.0_45, Jenkins 1.532.1, Doclinks plugin 0.6. You should create another ticket for the issue of IRC bot.

          People

            sogabe sogabe
            scl Sven Claussner
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: