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

Add maven site link when maven site:site target is invoked.

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Maven2 jobs as a nice feature:

      • jobs automatically add a Maven generated site link when target site:site is found into maven goals.

      Our use case is:

      1. we trigger a basic maven command (package) into jobs maven definition th
      2. we configure a post maven 2 action to launch the site only if package phase is successful.

      So in this case we do not have the generated maven site link

      Could you add this feauture ?

      Thx
      Christophe

        Attachments

          Activity

          Hide
          evernat evernat added a comment -

          The m2-extra-steps plugin is now deprecated and the functionality is now in Jenkins core.
          Is the issue reproduced with core without the m2-extra-steps plugin?

          Show
          evernat evernat added a comment - The m2-extra-steps plugin is now deprecated and the functionality is now in Jenkins core. Is the issue reproduced with core without the m2-extra-steps plugin?
          Hide
          drautureau drautureau added a comment -

          No successful tests with version 1.447.1 (I'm using site -N (or site:site -N) as a maven post action of the build)

          Show
          drautureau drautureau added a comment - No successful tests with version 1.447.1 (I'm using site -N (or site:site -N) as a maven post action of the build)
          Hide
          croesus Croesus Kall added a comment -

          I also see this behavior, but in a different way.

          I have two jobs:

          Job 1: build the project (mvn clean verify)
          Job 2: create the site (mvn site)

          Job 2 is activated by job 1, and job 2 uses the same workspace as job 1.

          when job 2 is finished, neither project gets the link to the maven site

          Show
          croesus Croesus Kall added a comment - I also see this behavior, but in a different way. I have two jobs: Job 1: build the project (mvn clean verify) Job 2: create the site (mvn site) Job 2 is activated by job 1, and job 2 uses the same workspace as job 1. when job 2 is finished, neither project gets the link to the maven site

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            ctof Ctof
            Votes:
            4 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated: