I have two agents: one with the resource "build" and the other with the
resource "integration".
Here's the pipeline
<pipeline name="demo-pipeline-master">
<materials>
<git url="{removed}" username="{removed}"
encryptedPassword="{removed}" />
</materials>
<stage name="build-test-package">
<jobs>
<job name="build-test-package">
<tasks>
<exec command="bash">
<arg>-c</arg>
<arg>./test.sh</arg>
</exec>
<exec command="bash">
<arg>-c</arg>
<arg>./package.sh</arg>
</exec>
</tasks>
<resources>
<resource>build</resource>
</resources>
<artifacts>
<artifact type="build" src="foo.tar" />
</artifacts>
</job>
</jobs>
</stage>
<stage name="deploy-test">
<jobs>
<job name="deploy-test">
<tasks>
<fetchartifact artifactOrigin="gocd" srcdir="foo.tar"
pipeline="demo-pipeline-master" stage="build-test-package"
job="build-test-package">
<runif status="passed" />
</fetchartifact>
</tasks>
<resources>
<resource>integration</resource>
</resources>
</job>
</jobs>
</stage>
</pipeline>
When I run this, it fails because the following URL (in the log) returns a
404 error.
http://{hostname}:8153/go/files/demo-pipeline-master/5/build-test-package/latest/build-test-package/foo.tar
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/go-cd/0196defa-b9e9-4750-9720-b9b88ea6d404n%40googlegroups.com.