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

Git Changelog Plugin does not seem to take short SHA-1s as input

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • git-changelog-plugin
    • None
    • Ubuntu 14.04
      git-changelog 1.18
      Github Enterprise

      I set up a new Jenkins job which all it does is takes 2 input parameters, and generates a git changelog, using the Jenkins plugin. It then saves CHANGELOG.txt as a build artifact.

      When I tried running this job using the short (10-char) SHA-1s, I got an error.
      Then I retried using the full SHA-1s, and it succeeded.

      =========================================================
      Failed Run: Inputs were 1c9136c7e3a and efc6a0abae9:
      =========================================================

      --- Git Changelog —
      ---
      Creating changelog CHANGELOG.txtInvalid id: b4f425aa89b
      Archiving artifacts
      ERROR: No artifacts found that match the file pattern "CHANGELOG.txt". Configuration error?
      ERROR: ‘CHANGELOG.txt’ doesn’t match anything
      Build step 'Archive the artifacts' changed build result to FAILURE
      Finished: FAILURE

      =========================================================
      Successful run: Inputs were 1c9136c7e3ab08f4382a8b2bd38cd94ca0703dc8 and efc6a0abae998ae6db04d26ed5c696e288036e7d:
      =========================================================

      --- Git Changelog —
      ---
      Creating changelog CHANGELOG.txt
      Archiving artifacts
      Finished: SUCCESS

            tomasbjerre Tomas Bjerre
            mcsf M Chon
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: