Home > Net >  jenkins maven: shared target directory
jenkins maven: shared target directory

Time:09-25

In Jenkins is there a way to share Directory between Maven builds ?

I have two java apps .. first generates .xml in target (via surefire) that the second uses to generate a report.

CodePudding user response:

Try the custom workspace option within the advanced options in the job configuration.

CodePudding user response:

Use archiveArtifacts option in the first build and Copy Artifacts plugin for 2nd.

Don't share the workspace; that's a recipe for disaster.

  • Related