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

Inform user if the plugin is applicable for a job

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Component/s: m2release-plugin
    • Labels:
      None

      Description

      Inform the user if m2release is applicable for an especific Job when configuring it.

        Activity

        andonidelolmo Andoni del Olmo created issue -
        Hide
        andonidelolmo Andoni del Olmo added a comment -

        Suggestion:

        Add some logs to the isApplicable() method in M2ReleaseBuildWrapper.

        ----------
        @Override
        public boolean isApplicable(AbstractProject<?, ?> item)

        { boolean isApplicable = item instanceof AbstractMavenProject; LoggerFactory.getLogger(M2ReleaseBuildWrapper.class).debug("[" + item.getClass().getCanonicalName() + "] isApplicable? [" + isApplicable + "]"); return isApplicable; }

        ----------

        15.03.2012 15:05:31 org.jvnet.hudson.plugins.m2release.M2ReleaseBuildWrapper$DescriptorImpl isApplicable
        FEIN: [hudson.maven.MavenModuleSet] isApplicable? [true]
        15.03.2012 14:57:56 org.jvnet.hudson.plugins.m2release.M2ReleaseBuildWrapper$DescriptorImpl isApplicable
        FEIN: [hudson.model.FreeStyleProject] isApplicable? [false]

        Show
        andonidelolmo Andoni del Olmo added a comment - Suggestion: Add some logs to the isApplicable() method in M2ReleaseBuildWrapper. ---------- @Override public boolean isApplicable(AbstractProject<?, ?> item) { boolean isApplicable = item instanceof AbstractMavenProject; LoggerFactory.getLogger(M2ReleaseBuildWrapper.class).debug("[" + item.getClass().getCanonicalName() + "] isApplicable? [" + isApplicable + "]"); return isApplicable; } ---------- 15.03.2012 15:05:31 org.jvnet.hudson.plugins.m2release.M2ReleaseBuildWrapper$DescriptorImpl isApplicable FEIN: [hudson.maven.MavenModuleSet] isApplicable? [true] 15.03.2012 14:57:56 org.jvnet.hudson.plugins.m2release.M2ReleaseBuildWrapper$DescriptorImpl isApplicable FEIN: [hudson.model.FreeStyleProject] isApplicable? [false]
        andonidelolmo Andoni del Olmo made changes -
        Field Original Value New Value
        Priority Major [ 3 ] Trivial [ 5 ]

          People

          • Assignee:
            teilo James Nord
            Reporter:
            andonidelolmo Andoni del Olmo
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: