Unexpected behavior of Jenkins Integrity plugin after SQL Exception inside plugin (no error returned to build job).

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Critical
    • Component/s: integrity-plugin
    • None
    • Environment:
      Jenkins 1.586 - PTC Integrity CM - Jenkins Plugin 1.28 running on Windows 7 SP1 - x64

      Unexpected behavior of Integrity plugin after message "A SQL Exception was caught! Table/View 'CM_PROJECT' does not exist.":

      The Integrity - CM Polling Log says
      "Started on Nov 5, 2014 7:00:00 AM
      Preparing to execute si projectinfo for #p=p:/PROJEKTE/2230/2230.pj#s=Software/Software.pj#s=PC/PC.pj#s=StLib/StLib.pj
      Preparing to execute si viewproject for #p=p:/PROJEKTE/2230/2230.pj#s=Software/Software.pj#s=PC/PC.pj#s=StLib/StLib.pj
      A SQL Exception was caught!
      Table/View 'CM_PROJECT' does not exist.
      Done. Took 7.8 sec
      No changes"

      and the job status of the build job is not FAILED, but "Finished: SUCCESS".

      Normally, if the plugin says "Failed to establish an API connection to the Integrity Server!" it fails the build job (as expected).

      I would not expect that a Jenkins job can have status OK, if the workspace cannot be populated or updated with the SCM configured for that job.

      The issue occurred the first time after an upgrade of the Integrity plugin (previous version was 1.24, current version is 1.28). Without administrator intervention the "pseudo-good" builds with outdated workspace contents were consistenly occurring since that moment...

            Assignee:
            Cletus D'Souza
            Reporter:
            Martin Hohl
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: