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

promoted-builds-plugin does not compile against 1.651.3

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

            oleg_nenashev Oleg Nenashev
            rarabaolaza Raul Arabaolaza
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: