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

After Jenkins upgrade Declarative Pipelines stopped working due to JobConfigHistory plugin

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Cannot Reproduce

    Description

      We recently upgraded our Jenkins instance from 2.204.4 to version 2.297.

      We also upgraded Java from version 8 to 11 (openJDK).

      All plugins were upgraded. (See attached list of installed plugins)

      We've been reported that Declarative pipelines can't be created due to an error (see attached). Existing pipeline jobs are working fine after the upgrade, this problem is only affecting new jobs. If we copy an existing pipeline job, the resulting job is also working fine. Just the ones that are created from scratch are not working.

      We tried the below without success:

      Downgrade the JobConfigHistory plugin to 2.24

      Go back to use Java 8 in the main server and all the nodes.

      This issue only affects to declarative pipelines, scripted ones are working fine.

      We've disabled the plugin and the issue is gone. Our Jenkins instance is not reachable externally.

      Attachments

        Activity

          hugo9995 Hugo created issue -
          saper Marcin CieĊ›lak made changes -
          Field Original Value New Value
          Labels declarative-pipeline jobConfigHistory declarative-pipeline java11-compatibility jobConfigHistory
          basil Basil Crow made changes -
          Epic Link JENKINS-67688 [ 214193 ]
          basil Basil Crow made changes -
          Labels declarative-pipeline java11-compatibility jobConfigHistory java11
          basil Basil Crow made changes -
          Assignee Stefan Brausch [ stefanbrausch ]
          markewaite Mark Waite made changes -
          Resolution Cannot Reproduce [ 5 ]
          Status Open [ 1 ] Closed [ 6 ]

          People

            Unassigned Unassigned
            hugo9995 Hugo
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: