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

PCT Crashes when a version with Incrementals is passed

XMLWordPrintable

      make demo-jdk8 -e PLUGIN_NAME=scm-api

      Root cause: Plugin POM flattens pom.xml when the Incrementals profile is used: https://github.com/jenkinsci/plugin-pom/blob/master/pom.xml#L1298-L1323 . The Parent POM data is used there

      Error after some diagnosability patches (was silent crash before it):

      SEVERE: Internal error while executing a test for core 2.155 and plugin SCM API java.lang.IllegalArgumentException: Comparing different types in chunk 0. Version 1 = , version 2 = 2.0 at org.jenkins.tools.test.model.comparators.VersionComparator.compare(VersionComparator.java:60) at org.jenkins.tools.test.model.MavenCoordinates.compareVersionTo(MavenCoordinates.java:86) at org.jenkins.tools.test.hook.TransformPom.check(TransformPom.java:39) at org.jenkins.tools.test.model.hook.PluginCompatTesterHooks.runHooks(PluginCompatTesterHooks.java:85) at org.jenkins.tools.test.model.hook.PluginCompatTesterHooks.runBeforeExecution(PluginCompatTesterHooks.java:55) at org.jenkins.tools.test.PluginCompatTester.testPluginAgainst(PluginCompatTester.java:516) at org.jenkins.tools.test.PluginCompatTester.testPlugins(PluginCompatTester.java:281) at org.jenkins.tools.test.PluginCompatTesterCli.main(PluginCompatTesterCli.java:165)
      

            oleg_nenashev Oleg Nenashev
            oleg_nenashev Oleg Nenashev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: