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

"Error communicating to server! Server Error" in Delivery Pipeline IF Maven Integration disabled AND Static Analysis Utilities enabled

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • - Clean Jenkins 1.625.2 install running as a service on localhost:8080
      - Windows 7 and 10 x64 (using Windows installer)
      - Delivery Pipeline 0.9.7
      - Maven Integration Plugin 2.7.1 and 2.12.1
      - Static Analysis Utilities 1.74

      I have a very strange bug to report.

      The message "Error communicating to server! Server Error" will appear in the Delivery Pipeline view if:

      • the Maven Integration plugin is disabled and
      • the Static Analysis Utilities plugin is enabled and
      • the job displayed in the Delivery Pipeline has at least one build.

      Reproduction steps :

      • Start from clean install
      • Install Static Analysis Utilities plugin
      • Install Delivery Pipeline plugin
      • Create a new Freestyle job
      • Add a Delivery Pipeline view and assign it to the job
      • Right now, the pipeline works perfectly well, you can build the job as many times as you want and it will display properly in the pipeline (image 1)
      • However, if you disable the Maven Integration plugin, you will encounter the error message (only if you built the job at least ONCE, else nothing happens) (image 2)
      • If after disabling the Maven Integration plugin, you also disable the Static Analysis Utilities plugin, then it works again.

      Note that:

      • the Static Analysis Utilities plugin is an OPTIONAL dependency of the Delivery Pipeline plugin
      • the Maven Integration plugin is an OPTIONAL dependency of the Static Analysis Utilities plugin

          [JENKINS-31603] "Error communicating to server! Server Error" in Delivery Pipeline IF Maven Integration disabled AND Static Analysis Utilities enabled

          Nicolas S created issue -
          Nicolas S made changes -
          Summary Original: "Error communicating to server! Server Error" in Delivery Pipeline IF if Maven disabled with Static Analysis New: "Error communicating to server! Server Error" in Delivery Pipeline IF Maven Integration disabled AND Static Analysis Utilities enabled
          Nicolas S made changes -
          Description Original: *Reproduction steps :*
          - Disable Maven Plugin
          - Create a new Freestyle Project and give it a
          - Create a
          New: (sorry I pressed ENTER too soon and accidentally posted the issue before finishing, I'm rewriting this)

          *Reproduction steps :*
          - Disable Maven Plugin
          - Create a new Freestyle Project and give it a
          - Create a
          Nicolas S made changes -
          Description Original: (sorry I pressed ENTER too soon and accidentally posted the issue before finishing, I'm rewriting this)

          *Reproduction steps :*
          - Disable Maven Plugin
          - Create a new Freestyle Project and give it a
          - Create a
          New: (sorry I pressed ENTER too soon and accidentally posted the issue before finishing, I'm rewriting this)

          Very strange bug.


          *Reproduction steps :*
          - Disable Maven Plugin
          - Create a new Freestyle Project and give it a
          - Create a
          Ulli Hafner made changes -
          Link New: This issue duplicates JENKINS-21268 [ JENKINS-21268 ]
          Ulli Hafner made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Nicolas S made changes -
          Description Original: (sorry I pressed ENTER too soon and accidentally posted the issue before finishing, I'm rewriting this)

          Very strange bug.


          *Reproduction steps :*
          - Disable Maven Plugin
          - Create a new Freestyle Project and give it a
          - Create a
          New: (sorry I pressed ENTER too soon and accidentally posted the issue before finishing, I'm rewriting this)

          I have a very strange bug to report.

          The message "Error communicating to server! Server Error" will appear in the Delivery Pipeline view if:

          * the Maven Integration plugin is disabled and
          * the Static Analysis Utilities plugin is enabled and
          * the job displayed in the Delivery Pipeline has at least one build.

          *Reproduction steps :*
          * Start from clean install
          * Install Static Analysis Utilities plugin
          * Install Delivery Pipeline plugin
          * Create a new Freestyle job
          * Add a Delivery Pipeline view and assign it to the job
          * Right now, the pipeline works perfectly well, you can build the job as many times as you want and it will display properly in the pipeline
          * However, if you disable the Maven Integration plugin, you will encounter the error message (only if you built the job at least ONCE, else nothing happens)
          * If after disabling the Maven Integration plugin, you also disable the Static Analysis Utilities plugin, then it works again.

          Note that:
          * the Static Analysis Utilities plugin is an OPTIONAL dependency of the Delivery Pipeline plugin
          * the Maven Integration plugin is an OPTIONAL dependency of the Static Analysis Utilities plugin
          Nicolas S made changes -
          Description Original: (sorry I pressed ENTER too soon and accidentally posted the issue before finishing, I'm rewriting this)

          I have a very strange bug to report.

          The message "Error communicating to server! Server Error" will appear in the Delivery Pipeline view if:

          * the Maven Integration plugin is disabled and
          * the Static Analysis Utilities plugin is enabled and
          * the job displayed in the Delivery Pipeline has at least one build.

          *Reproduction steps :*
          * Start from clean install
          * Install Static Analysis Utilities plugin
          * Install Delivery Pipeline plugin
          * Create a new Freestyle job
          * Add a Delivery Pipeline view and assign it to the job
          * Right now, the pipeline works perfectly well, you can build the job as many times as you want and it will display properly in the pipeline
          * However, if you disable the Maven Integration plugin, you will encounter the error message (only if you built the job at least ONCE, else nothing happens)
          * If after disabling the Maven Integration plugin, you also disable the Static Analysis Utilities plugin, then it works again.

          Note that:
          * the Static Analysis Utilities plugin is an OPTIONAL dependency of the Delivery Pipeline plugin
          * the Maven Integration plugin is an OPTIONAL dependency of the Static Analysis Utilities plugin
          New: I have a very strange bug to report.

          The message "Error communicating to server! Server Error" will appear in the Delivery Pipeline view if:

          * the Maven Integration plugin is disabled and
          * the Static Analysis Utilities plugin is enabled and
          * the job displayed in the Delivery Pipeline has at least one build.

          *Reproduction steps :*
          * Start from clean install
          * Install Static Analysis Utilities plugin
          * Install Delivery Pipeline plugin
          * Create a new Freestyle job
          * Add a Delivery Pipeline view and assign it to the job
          * Right now, the pipeline works perfectly well, you can build the job as many times as you want and it will display properly in the pipeline
          * However, if you disable the Maven Integration plugin, you will encounter the error message (only if you built the job at least ONCE, else nothing happens)
          * If after disabling the Maven Integration plugin, you also disable the Static Analysis Utilities plugin, then it works again.

          Note that:
          * the Static Analysis Utilities plugin is an OPTIONAL dependency of the Delivery Pipeline plugin
          * the Maven Integration plugin is an OPTIONAL dependency of the Static Analysis Utilities plugin

          Nicolas S added a comment - - edited

          I don't think this is a duplicate of the issue JENKINS-21268 linked above.
          The linked issue appears to deal with build.xml not being created, but they do in my case.
          Past build history is still present in jobs, unlike the issue above.

          Nicolas S added a comment - - edited I don't think this is a duplicate of the issue JENKINS-21268 linked above. The linked issue appears to deal with build.xml not being created, but they do in my case. Past build history is still present in jobs, unlike the issue above.
          Nicolas S made changes -
          Attachment New: 2015-11-17_18-27-26.png [ 31281 ]
          Attachment New: 2015-11-17_18-28-16.png [ 31282 ]

            drulli Ulli Hafner
            nicolass Nicolas S
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: