Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Artifact Copier - Unable to publish artifact error, but the build is marked as successful

Hi,

 

Sometimes we get the error "Unable to publish artifact Non required shared artifact". The build don't have artifacts, but the build is marked as "Successful".

 

simple	12-Sep-2019 10:58:56	Running post build plugin 'Artifact Copier'
simple	12-Sep-2019 10:58:56	Publishing an artifact: Nav FE
error	12-Sep-2019 11:03:01	com.atlassian.bamboo.build.artifact.BambooRemoteArtifactHandler: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
error	12-Sep-2019 11:03:01	Unable to publish artifact [Nav FE]: Unable to publish artifact Non required shared artifact: [Nav FE], pattern: [**/*] anchored at: [gradle-files/] for NAV-BUILD-225 via com.atlassian.bamboo.build.artifact.BambooRemoteArtifactHandler@4613d5dd 
simple	12-Sep-2019 11:03:01	The artifact hasn't been successfully published after 4.096 min
simple	12-Sep-2019 11:06:31	Successfully removed working directory at '/home/bamboo/bamboo-agent-home/xml-data/build-dir/NAV-BUILD'
simple	12-Sep-2019 11:06:31	Finalising the build...
simple	12-Sep-2019 11:06:31	Stopping timer.
simple	12-Sep-2019 11:06:31	Build NAV-BUILD-225 completed.

 

If the build can't generate artifacts, we want the build to be marked as "Failed".

Does anyone know how to do this?

 

Thank you!

1 answer

0 votes

Go to artifact definition and mark this artifact as required. Then build will fail if can't publish artifact

Hi Alexey,

Thank you for your answer, but I already did that before. Any other ideas?

Screenshot 2019-09-13 at 18.02.55.jpg

Your instance might be affected by https://jira.atlassian.com/browse/BAM-20301 which is solved at Bamboo 6.9.0

We are running version 6.9.2 build 60911 - 04 Jul 19. The behaviour is strange, because must of times the artifact is published with success, but sometimes it don't.

May be this be related with other builds that ran before on the same agent? Can I do something to debug? 

Thank you!

I would suggest to create support ticket at support.atlassian.com so our engineers can review logs

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo 101 Video

G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...

250 views 4 6
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