|
From: Jeroen v. D. <Jv...@ro...> - 2013-09-11 11:21:17
|
Hi, We have Atlassians Bamboo 5.01 deploying to Artifactory 3.0.3; so far so good :) One of the plans in Bamboo has a job that consists of three Artifactory Ivy tasks that all publish a unique module. This results in one 'Build' number deploying three different modules. Artifactory's Build Browser reflects this: All Builds > wicket 1470 09-09-13 20:54:51 CEST 1470 09-09-13 20:47:51 CEST 1470 09-09-13 20:37:51 CEST If I try to delete wicket Build 1970 with its artifacts like this: api/build/wicket?buildNumbers=1470&artifacts=1 The response is: The server encountered an internal error that prevented it from fulfilling this request. java.lang.NullPointerException org.artifactory.build.BuildServiceImpl.removeBuildArtifacts(BuildServiceImpl.java:286) org.artifactory.build.BuildServiceImpl.deleteBuild(BuildServiceImpl.java:271) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) If I try the same command without the artifacts parameter then it will delete one of the three builds. So, my question is, how do I remove those builds and the artifacts they published using the REST interface? Thank you, Jeroen |