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

Pipeline Model Definition v1.2 requires java8

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • None
    • jenkins 2.46, ubuntu 12.04 LTS, openjdk-7

      Updating the pipeline-model-definition plugin to v1.2 not only beaks the running jobs, as advertised, but also all pipelines, as introduces a dependency with java 8. This java version is only required for jenkins v2.73, but for the plugin only v2.7 is needed.

      I attach a simple pipeline that produces the error, and the error itself.

      I see in the changelog some problems with compiling the plugin with the wrong java version, so I suspect this may be the same case.

        1. error.txt
          9 kB
        2. pipeline.txt
          0.1 kB

            abayer Andrew Bayer
            rogerfc Roger Firpo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: