Yossi Shaul wrote: > The redeploy publisher requires a build to run in order publish the > artifacts and the build info. So currently it doesn't support redeployment. > There maybe one exception to that - when you run maven 2 and artifacts > archiving is enabled it might be able to redeploy the artifacts but it > was never tested. > Did you test your patch? What was the result?
Hi Yossi, It's been working for me on a number of projects. The promoted-builds plugin provides access to the original build's MavenModuleSetBuild and the artifacts are available through that interface. I didn't test running Jenkins with the modified Artifactory plugin and without the promoted-builds plugin. Presumably there would be a NoClassDefFound exception loading the new ArtifactoryRedeployBatchTaskPublisher class, but I figure that would just disable that particular class and not the whole plugin. > BTW, the plugin has great support for release and promotion > <https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+Artifactory+Plugin+-+Release+Management>. Yes, I've looked into this but the Jenkins generic promoted-build plugin is quite flexible in terms of how promotions are triggered and what actions a promotion is able to perform. For example, a promotion could be triggered by manual approval or automatically as a result of a job being completed. Deployment to Artifactory might be just the first of several actions performed when a build is promoted, followed by deployment to a server, triggering of other jobs, and so on. Thanks, Mike ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Artifactory-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/artifactory-users
