Go 14.2 Error while fetching artifacts from another pipeline

831 views
Skip to first unread message

Azeem Qureshi

unread,
Oct 2, 2014, 10:30:24 AM10/2/14
to go...@googlegroups.com
Guys 

Any help would be most appreciated. I'm trying to use ThoughtWorks Go feature that lets you fetch artifacts from one pipeline and feed it into the stage of another. Particularly I build an iOS app or Android App and I want to feed the executable into another pipeline. But while doing this I get error:

[go] Could not fetch artifact https://127.0.0.1:8154/go/remoting/files/ProductName_Build/34/Build/latest/defaultJob/HelloWorld/bin/HelloWorld-debug.apk.zip. Pausing 18 seconds to retry. Error was : Unsuccessful response '404' from the server

This is more than a little confusing as I thought the address to reach my files was localhost://8153/go/tab/build/detail/<pipeline name>/<pipeline counter>/<stage>/<stage counter>/<job name>, so i guess it makes sense why its giving 404 because it can't find the location.


I followed the steps on how to use the fetch artifact feature of Go. So any ideas?


Thanks

ken coughlin

unread,
Oct 3, 2014, 4:38:54 AM10/3/14
to go...@googlegroups.com
I had similar problems with a nuspec file and zip file(different issue's i think), however when creating the artifact (zip file) try putting it in a folder and reference this in the down stream pipline. This might help.

Yours,

Ken

Md. Ali Ejaz

unread,
Oct 11, 2014, 12:06:05 AM10/11/14
to Azeem Qureshi, go...@googlegroups.com
Hi Azeem,

Could you share your config? Make sure you mask any sensitive data in it.



--
You received this message because you are subscribed to the Google Groups "go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email to go-cd+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Ali
@mdaliejaz

Tom Oketch

unread,
Jun 17, 2015, 10:30:28 AM6/17/15
to go...@googlegroups.com
Hey Azeem,

I know it's been a while since you had this issue, but I also ran into the same today. 

The address is ok. Turns out in my case the artifacts I was trying to fetch were being deleted after the job's completion because there was insufficient disk space and Go CD had been configured to auto-delete old artifacts (more here). Anyway, the solution was to increase the tolerance for disk space and that worked like a charm.

Gergely Brautigam

unread,
Jun 18, 2015, 3:18:19 PM6/18/15
to go...@googlegroups.com


On Thursday, 2 October 2014 16:30:24 UTC+2, Azeem Qureshi wrote:
Guys 

Any help would be most appreciated. I'm trying to use ThoughtWorks Go feature that lets you fetch artifacts from one pipeline and feed it into the stage of another. Particularly I build an iOS app or Android App and I want to feed the executable into another pipeline. But while doing this I get error:


Hi. 

Whatever host name your goserver is running on, in the go-agent machine in etc/hosts file, write the ip of the server and the hostname of the go-server. That way the go-agent will resolve the correct url to look for the archive. 

Example:
/etc/hosts
10.10.2.299            mygoserverhostname

Cheers,
Gergely.
Reply all
Reply to author
Forward
0 new messages