Hi, I'm facing a very strange issue. I have started to setup artifacts but 
in one of the agents they are extracted incorrectly. We have multiple 
agents, and this only fails in one of them, consistently.

The artifacts are two folders, and according to the log their retrieval and 
extraction goes well, nothing indicates a failure. But, for each of them, 
the folder contents are extracted in a subfolder of the destination (with 
the same name), instead of where they should be.

Let me give you an example, if the artifact should be extracted to the 
*production-build* folder and look something like this:

*my-repo*
*+- src*
*+- production-build*
*    +- my.app*

*    +- other-folder-contents*
That is, the artifact (a folder, in blue) should be extracted to a folder 
in the workspace's root (*production-build*) and all its contents are 
directly inside of it. But, instead, this is the result:

*my-repo*
*+- src*
*+- production-build*
*    +- pipeline-name_stage-name_job-name_md5.checksum*
*    +- production-build*
*        +- my.app*
*        +- other-folder-contents*

What happens is that the contents are incorrectly extracted into a 
subfolder of the destination folder, and a file with the checksums of all 
the folder contents is left behind, with this format: <
*pipeline-name>_<stage-name>_<job-name>_md5.checksum*

As I said, this only happens in one of the agents, and it happens every 
single time. On the other agents everything works as expected. The OS, GoCD 
agent and Java version are the same. Any idea of what can be happening?

I can just kill that VM and start another fresh agent but if this is a bug 
I want to help out debugging it (although I can't wait for too long).

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to