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
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users