You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
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?
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?