|
Dear All,
we are using Jenkins and Artifactory since the end of 2010. Jenkins and Artifactory are running on two different instances of tomcat on the same VM. After the last upgrade of Artifactory we started having issues with deploy on artifactory. This is the log in jenkins: java.io.IOException: Failed to deploy file: HTTP response code: 500. HTTP response message: Internal Server Error at org.jfrog.build.client.ArtifactoryBuildInfoClient.throwHttpIOException(ArtifactoryBuildInfoClient.java:493) at org.jfrog.build.client.ArtifactoryBuildInfoClient.uploadFile(ArtifactoryBuildInfoClient.java:413) at org.jfrog.build.client.ArtifactoryBuildInfoClient.deployArtifact(ArtifactoryBuildInfoClient.java:289) at org.jfrog.hudson.maven2.ArtifactsDeployer.deployArtifact(ArtifactsDeployer.java:194) at org.jfrog.hudson.maven2.ArtifactsDeployer.deploy(ArtifactsDeployer.java:135) at org.jfrog.hudson.ArtifactoryRedeployPublisher.perform(ArtifactoryRedeployPublisher.java:280) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:682) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:657) at hudson.maven.MavenModuleSetBuild$RunnerImpl.post2(MavenModuleSetBuild.java:919) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:604) at hudson.model.Run.run(Run.java:1400) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:476) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:175) this is our Artifactory access.log 2012-01-06 11:44:24,187 [DENIED DEPLOY] libs-snapshot-local:org/fao/techcdr/techcdr-widgets/maven-metadata.xml for anonymous/168.202.4.177. Consider that we are using: Artifactory version : 2.4.2 Jenkins version : Jenkins ver. 1.424.1 (LTS) Maven version (in jenkins) 2.2.1 Goals: clean compile javadoc:javadoc jstools:jsdoc war:war deploy -e -X -Denv=env-test -Dorg.apache.maven.global-settings=path_to_our_folder/settings.xml If you want I can attach the pom.xml but the issue happens on many projects.. aleatory!! Any help will be appreciated. Regards -- Federico ----------------------------------------------------------------------------------- The information contained in the present communication and the related attachment can be classified as reserved and are, however, destined exclusively to the persons or the over indicated Society are forbidden, according the Italian Laws, D.Lgs. n. 196/2003 "Code in matter of protection of the personal data" and of the art. 616 c.p. if you have received this e-mail in error please destroy any copies and delete it from your computer system. ----------------------------------------------------------------------------------- ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ Artifactory-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/artifactory-users |
|
I know a 500 is not an auth error, but the logs says "DENIED DEPLOY...for anonymous".
Are you sure anonymous users have deploy permission for your 'lib-snapshots-local' repo?
Are you able to deploy them manually? Have you tried removing the "deploy" Maven goal and doing it via plugin instead?
Cheers. On Fri, Jan 6, 2012 at 8:31 AM, Federico Paolantoni <[hidden email]> wrote: Dear All, ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ Artifactory-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/artifactory-users |
|
Thank you Nicolas for helping me,
Yes, anonymous users have deploy permission for 'lib-snapshots-local' repo. Yes, i can deploy it manually. Yes, actually I removed the deploy goal from the sequence and i'm using the plugin. Thank you in advance. The thing that worries me is the randomness of the event.. Cheers.
|
|
Hi, do you see anything in the Artifactory log files?
On Tue, Jan 10, 2012 at 11:53 AM, federico.paolantoni <[hidden email]> wrote: Thank you Nicolas for helping me, ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Artifactory-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/artifactory-users |
| Powered by Nabble | See how NAML generates this page |
