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

Plugin reports "unexpected element"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • codesonar-plugin
    • jenkins Jenkins 2.303.1
      codesonar plugin 2.1
      codesonar Release 5.4, Patchlevel 0

      Hi

      If i create a empty jenkins project and add just a codesonar step to the "Post-build Actions"

      I get the following error.
      Started by user
      Running as SYSTEM
      [EnvInject] - Loading node environment variables.
      Building in workspace C:\Users\auto-rdbuilds\.jenkins\workspace\CodesonarTest
      [Codesonar] Using hub URI: "correct url"
      ERROR: Step 'Codesonar' failed: unexpected element (uri:"", local:"project"). Expected elements are <{}alert>,<{}analysis>,<{}warning>
      Finished: FAILURE
      Attatched is the job config

      Kind regards

      Jens

            gt_dbechtold gt_dbechtold
            jens_lund_jensen Jens
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: