Due to some maintenance issues, this service has been switched in read-only mode, you can find more information about the why

and how to migrate your plugin documentation in this blogpost

Skip to end of metadata
Go to start of metadata

Plugin Information

View Maven Deployment Linker on the plugin site for more information.

This plugin will add a summary on the build of the artifacts uploaded to your maven repository and a builder to download the uploaded artifacts to other projects.

Deployment Summery

The deployment summery adds a list of all the deployed maven artifacts of the job to the status page. You can activate it in the 'Post build actions' of your job and also restrict the listed artifacts by defining a regular expression.

Download linked artifacts

The build step "Get linked maven deployments" allows you to download linked artifacts of an other project into your jobs workspace.

Help and Support

For Help and support please use the issue tracker and/or Jenkins Users mailing list.

type key summary

Data cannot be retrieved due to an unexpected error.

View these issues in Jira

Change Log

   V1.5.1 @ 03-15-2013

   V1.5 @ 05-11-2012

  • add builder to download artifacts to a workspace from where they have been uploaded to (pull #2)

   V1.4 @ 11-30-2011

   V1.3 @ 10-20-2010

  • Fixed a small localization issue
  • The latest deployments now display correctly for Maven2 projects
  • On the project page, the latest deployments, and the latest release deployments are displayed

   V1.2 @ 10-16-2010

  • JENKINS-7814 : Several improvements for maven-deployment-linker plugin
    • i18n (extract to properties, addition of fr locale)
    • The user can input a regular expression to filter artifacts that are displayed
    • Excludes by default maven-metadata.xml (under maven3, the deployment of this file is logged, which wasn't the case under maven2)
    • Displays on the project page the latest Maven deployments

   V1.1 @ 09-28-2010

  • Fix bug in linking.

   V1.0 @ 09-27-2010

  • initial release

Author

Larry Shatzer

12 Comments

  1. Unknown User (prenaud76)

    Two comments regarding v1.2:

    • "Maven deployments" is now displayed "Déploiements maven". Please make it back to default to English.
    • Contrary to your statement describing v1.2, the project page does not list the latest Maven deployments. The maven deployments still only appear on the build summary just like before.

    Rolling back to v1.1....

    Tx.

    1. Unknown User (larrys)

      Please try 1.3

      1. Unknown User (prenaud76)

        Working much better now!! (smile)

        Did not know about the Latest Release Deployments before, this is pretty neat. Good feature, I like it! (thumbs up)

        Tx very much for this.

  2. Unknown User (porterhouse91)

    This plugin is great. It provides simple integration with Nexus, which is great!

    Is there a way to expose a URL to each of the artifacts deployed and captured that can be used to reference the files being uploaded? I am trying to write a script that will download the .war file uploaded to Nexus resulting from a particular build, and the last piece of the puzzle is some reference on the Hudson Job. Any thoughts on this?

  3. Unknown User (gjeudy)

    I cannot see maven deployments on the project or build page, I have enable the checkbox on the project and rebuilt it; it is configured to deploy snapshot artifacts to nexus. Can you please provide any screenshot or documentation on how this plugin is supposed to work/behave?

    Thanks,

    1. Unknown User (larrys)

      It uses a regex to scan the logs for "Uploading" (See the source for the exact regex). I think that vlatombe added support for changing the regex in the build page.

      I also only use this on maven projects, and vlatombe added support for FreeStyle, which I've not tested. I'm not sure how this would work under Matrix jobs or any other possible job type.

  4. Unknown User (gjeudy)

    Thanks Larry, I tested the exact regex and it doesn't match my build logs, i'm running a maven build with jenkins 1.384:

    Deploying artifacts to http://esu2v116:8081/nexus/content/repositories/snapshots
    Deploying the main artifact stella-common-2.0.0-ITER7-SNAPSHOT.jar
    [INFO ] Retrieving previous build number from snapshots
    [INFO ] Retrieving previous metadata from snapshots
    [INFO ] Uploading repository metadata for: 'snapshot com.macys.stella:stella-common:2.0.0-ITER7-SNAPSHOT'
    [INFO ] Retrieving previous metadata from snapshots
    [INFO ] Uploading repository metadata for: 'artifact com.macys.stella:stella-common'
    [INFO ] Uploading project information for stella-common 2.0.0-ITER7-SNAPSHOT Deploying the attached artifact stella-common-2.0.0-ITER7-SNAPSHOT-sources.jar
    [INFO ] Retrieving previous build number from snapshots
    [INFO ] Retrieving previous metadata from snapshots
    [INFO ] Uploading repository metadata for: 'snapshot com.macys.stella:stella-common:2.0.0-ITER7-SNAPSHOT'
    [INFO ] Retrieving previous metadata from snapshots
    [INFO ] Uploading repository metadata for: 'artifact com.macys.stella:stella-common' Deploying the attached artifact stella-common-2.0.0-ITER7-SNAPSHOT-test-sources.jar
    [INFO ] Retrieving previous build number from snapshots
    [INFO ] Retrieving previous metadata from snapshots
    [INFO ] Uploading repository metadata for: 'snapshot com.macys.stella:stella-common:2.0.0-ITER7-SNAPSHOT'
    [INFO ] Retrieving previous metadata from snapshots
    [INFO ] Uploading repository metadata for: 'artifact com.macys.stella:stella-common' Deploying the attached artifact stella-common-2.0.0-ITER7-SNAPSHOT-tests.jar
    [INFO ] Retrieving previous build number from snapshots
    [INFO ] Retrieving previous metadata from snapshots
    [INFO ] Uploading repository metadata for: 'snapshot com.macys.stella:stella-common:2.0.0-ITER7-SNAPSHOT'
    [INFO ] Retrieving previous metadata from snapshots
    [INFO ] Uploading repository metadata for: 'artifact com.macys.stella:stella-common'

    1. Unknown User (larrys)

      Hmmm... That's and odd log. What version of Maven are you using (and version of deploy plugin)? I'm using 2.2.1, and vlatombe added some fixes for Maven 3. Also, are you using the deploy target in maven, or are you having Hudson do the maven deployment?

  5. Unknown User (gjeudy)

    maven 2.2.1, I'm letting hudson deploy for me so the version of deploy plugin is irrelevant.

    The option is: "Deploy artifacts to Maven repository", I provided the repository URL and id, nothing else.

    1. Unknown User (larrys)

      This plugin is for people using maven doing the deploying. I've not looked at how Hudson does the deploy, to hook into that to list them like a maven deployment. Sorry if this does not help you.

    2. Unknown User (troytown00)

      I can't find "Deploy artifacts to Maven repository" anywhere... what is the name of that plugin and where do you get it?  I can't find that plugin in "plugin manager"... Thank you for your help

  6. Unknown User (jminne)

    Thank you for a great plugin.  It provided the final piece for mapping the build (changelog, test results, etc) to the actual installer for easy self-serve access by other team members.  Hurrah!