Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Error "Unable to publish artifact:" but the artifact is there at the end

Norbert
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 13, 2022

Bamboo is running on a Windows server

If I run the job on the default agent (windows server)-> everything fine
If I run the same on the remote agent "Linux" everything works except I get an error

simple 13-Jun-2022 12:18:16 Publishing an artifact: stuff
error 13-Jun-2022 12:18:16 Unable to publish artifact [stuff]:
error 13-Jun-2022 12:18:16 The artifact is required, build will now fail.
simple 13-Jun-2022 12:18:16 Finished publishing of artifact Required shared artifact: [stuff], pattern: [**/*.py] in 278.1 ms

 

but the artefact "Stuff" is there, even on the Linux build and it looks ok...

The only way to disable the error is to disable the "Required" flag for the artefacts...
But I am quite confused why I get the error at all.

 

configuration of the artifact:artifact_config.png

 

 

 

1 answer

1 accepted

0 votes
Answer accepted
Norbert
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 15, 2022

Hello

found the problem

for this plan "custom artifact handler" was activated
The default publishing worked fined but somehow we (I) activated agent local publishing
with a windows folder which failed for the linux build.

 

IMHO this is a bug in Bamboo because you don't get any info on what is failing!

Obviously, it was a folder which was not accessible but without any feedback, I only stumbled over the solution through luck!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events