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

Support for maven projects type (our case 12361)

    • Icon: New Feature New Feature
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • Jenkins 1.545
      Jenkins GIT plugin 2.2.9
      Pretested integration plugin 2.1.2
      JDK 1.7.0_45
      os Linux amd64 2.6.32-5

      For "maven2/3 projects" only (ok for "free-style software projects").

      Section 'Use pretested integration' does not appear in the Job configuration page of "maven2/3 projects".

      While the 'Pretested Integration post-build' is available in the 'Add post-build action' dropdown, section 'Use pretested integration' does not appear in the Job configuration page.

      Why 'Use pretested integration' doesn't show up? Conflict with another plugin? Something missing?

          [JENKINS-25805] Support for maven projects type (our case 12361)

          Al Ferguson created issue -
          Al Ferguson made changes -
          Description Original: Section 'Use pretested integration' does not appear in the Job configuration page.

          While the 'Pretested Integration post-build is available in the Add post-build action dropdown, section 'Use pretested integration' does not appear in the Job configuration page.

          Why 'Use pretested integration' doesn't show up? Conflict with another plugin? Something missing?
          New: Section 'Use pretested integration' does not appear in the Job configuration page.

          While the 'Pretested Integration post-build' is available in the 'Add post-build action' dropdown, section 'Use pretested integration' does not appear in the Job configuration page.

          Why 'Use pretested integration' doesn't show up? Conflict with another plugin? Something missing?
          Al Ferguson made changes -
          Description Original: Section 'Use pretested integration' does not appear in the Job configuration page.

          While the 'Pretested Integration post-build' is available in the 'Add post-build action' dropdown, section 'Use pretested integration' does not appear in the Job configuration page.

          Why 'Use pretested integration' doesn't show up? Conflict with another plugin? Something missing?
          New: For "maven2/3 projects" (ok for "free-style software projects"...).

          Section 'Use pretested integration' does not appear in the Job configuration page.

          While the 'Pretested Integration post-build' is available in the 'Add post-build action' dropdown, section 'Use pretested integration' does not appear in the Job configuration page.

          Why 'Use pretested integration' doesn't show up? Conflict with another plugin? Something missing?
          Al Ferguson made changes -
          Description Original: For "maven2/3 projects" (ok for "free-style software projects"...).

          Section 'Use pretested integration' does not appear in the Job configuration page.

          While the 'Pretested Integration post-build' is available in the 'Add post-build action' dropdown, section 'Use pretested integration' does not appear in the Job configuration page.

          Why 'Use pretested integration' doesn't show up? Conflict with another plugin? Something missing?
          New: For "maven2/3 projects" only (ok for "free-style software projects").

          Section 'Use pretested integration' does not appear in the Job configuration page.

          While the 'Pretested Integration post-build' is available in the 'Add post-build action' dropdown, section 'Use pretested integration' does not appear in the Job configuration page.

          Why 'Use pretested integration' doesn't show up? Conflict with another plugin? Something missing?
          Al Ferguson made changes -
          Description Original: For "maven2/3 projects" only (ok for "free-style software projects").

          Section 'Use pretested integration' does not appear in the Job configuration page.

          While the 'Pretested Integration post-build' is available in the 'Add post-build action' dropdown, section 'Use pretested integration' does not appear in the Job configuration page.

          Why 'Use pretested integration' doesn't show up? Conflict with another plugin? Something missing?
          New: For "maven2/3 projects" only (ok for "free-style software projects").

          Section 'Use pretested integration' does not appear in the Job configuration page of "maven2/3 projects".

          While the 'Pretested Integration post-build' is available in the 'Add post-build action' dropdown, section 'Use pretested integration' does not appear in the Job configuration page.

          Why 'Use pretested integration' doesn't show up? Conflict with another plugin? Something missing?
          Al Ferguson made changes -
          Summary Original: 'Use pretested integration' doesn't show up New: 'Use pretested integration' doesn't show up for maven projects

          Daniel Beck added a comment -

          The build wrapper is deliberately only available in Freestyle projects:
          https://github.com/jenkinsci/pretested-integration-plugin/blob/master/src/main/java/org/jenkinsci/plugins/pretestedintegration/PretestedIntegrationBuildWrapper.java#L186

          Therefore reducing priority as it's probably just the publisher showing up when it shouldn't, and it's easy enough to prevent that:

          For those plugins that don't want Publisher to show up in different job type, use BuildStepDescriptor for the base type of your descriptor to control which job type it supports.

          Daniel Beck added a comment - The build wrapper is deliberately only available in Freestyle projects: https://github.com/jenkinsci/pretested-integration-plugin/blob/master/src/main/java/org/jenkinsci/plugins/pretestedintegration/PretestedIntegrationBuildWrapper.java#L186 Therefore reducing priority as it's probably just the publisher showing up when it shouldn't, and it's easy enough to prevent that: For those plugins that don't want Publisher to show up in different job type, use BuildStepDescriptor for the base type of your descriptor to control which job type it supports.
          Daniel Beck made changes -
          Priority Original: Blocker [ 1 ] New: Minor [ 4 ]
          Bue Petersen made changes -
          Summary Original: 'Use pretested integration' doesn't show up for maven projects New: 'Use pretested integration' doesn't show up for maven projects (our case 12361)

          Bue Petersen added a comment - - edited

          Hi

          Thanks for raising the issue Al, and Daniel thanks for the clarification.

          It was a specific decision to support Freestyle projects to start with, as that was what most of our customers uses. I don't see there should any problems extending it later to support other types of projects, but it require us to do add more testing at least.

          I have created issues JENKINS-25810 about only showing the post build step for supported job types.

          So now we can consider this issue as a feature request to support Maven job types in the plugin.

          Bue Petersen added a comment - - edited Hi Thanks for raising the issue Al, and Daniel thanks for the clarification. It was a specific decision to support Freestyle projects to start with, as that was what most of our customers uses. I don't see there should any problems extending it later to support other types of projects, but it require us to do add more testing at least. I have created issues JENKINS-25810 about only showing the post build step for supported job types. So now we can consider this issue as a feature request to support Maven job types in the plugin.

            praqma Praqma Support
            alfernie Al Ferguson
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: