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

openTasksPublisher option does not work after plugin upgrade

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Critical Critical
    • pipeline-maven-plugin
    • None
    • Jenkins 2.516.1, all plugins up-to-date

      We have upgraded Pipeline Maven Integration plugin from 1556 to 1563. Now we get the following error in all our Maven builds:

      No such DSL method 'openTasksPublisher' found among steps

      This is caused by using openTasksPublisher() option of withMaven step in our central shared library, so all builds are affected.

      We understand that with commit 4e40c20 a check was added to enable this option only if the pluing "tasks" is available. So there seem to be two options:

      1. Remove openTasksPublisher option from shared library code, since we don't have the required "tasks" plugin installed anyways. However, this has to be done on ALL branches on ALL of our customer Jenkins instances (all setup the same way) and will be a considerable effort and take some time.
      2. Install the "tasks" plugin, so the new check enables the option. However, this plugin is deprecated and not available via Update Center https://github.com/jenkins-infra/helpdesk/issues/2089 and the replacement (Warnings NG plugin) does not enable the extension and leads to same error.

      If this is not fixed in the plugin in a more resilient way, we are cut from plugin updates until all occurrences are fixed. 

        1. plugins.txt
          3 kB
          Mark Waite
        2. run-jenkins.sh
          1 kB
          Mark Waite
        3. tasks-4.53.hpi
          146 kB
          Mark Waite

            Unassigned Unassigned
            camshoff Christoph Amshoff
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: