Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,294,701
Community Members
 
Community Events
165
Community Groups

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

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

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
Community showcase
Published in Bamboo

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

931 views 3 8
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you