promoted-builds-plugin does not compile against 1.651.3

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Description:

      If you try to compile against 1.651.3 (latest LTS) you get the following error:

      [ERROR] COMPILATION ERROR : 
      [INFO] -------------------------------------------------------------
      [ERROR] /home/raul/Workspace/Java/promoted-builds-plugin/src/main/java/hudson/plugins/promoted_builds/JobPropertyImpl.java:[306,109] <anonymous hudson.plugins.promoted_builds.JobPropertyImpl$3> is not abstract and does not override abstract method checkRoles(org.jenkinsci.remoting.RoleChecker) in org.jenkinsci.remoting.RoleSensitive
      
      

      Alternatively if you try to compile the tests you got the following error:

      [ERROR] COMPILATION ERROR : 
      [INFO] -------------------------------------------------------------
      [ERROR] /home/raul/Workspace/Java/promoted-builds-plugin/src/test/java/hudson/plugins/promoted_builds/PromotionProcessTest.java:[35,49] incompatible types: java.util.List<hudson.tasks.Recorder&jenkins.tasks.SimpleBuildStep> cannot be converted to java.util.List<hudson.tasks.Recorder>
      [ERROR] /home/raul/Workspace/Java/promoted-builds-plugin/src/test/java/hudson/plugins/promoted_builds/KeepBuildForeverActionTest.java:[151,29] incompatible types: java.util.List<hudson.tasks.Recorder&jenkins.tasks.SimpleBuildStep> cannot be converted to java.util.List<hudson.tasks.Recorder>
      
      

      How to reproduce:

      mvn clean install -Djenkins.version=1.651.3

            Assignee:
            Oleg Nenashev
            Reporter:
            Raul Arabaolaza
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: