I have been attempting to attach an artifact to bamboo and keep getting the message 'Unable to publish artifact'.
ArtifactDefinitionContext artifactDefinitionContext = new ArtifactDefinitionContextImpl("name", true, SecureToken.create()); artifactDefinitionContext.setCopyPattern("123"); artifactManager.publish(pContext.getBuildLogger(), pContext.getBuildContext().getPlanResultKey(), pContext.getWorkingDirectory(), artifactDefinitionContext, pContext.getBuildContext().getArtifactContext().getArtifactHandlerConfiguration(), 1);
Bamboo version : 5.11.4
API version : 5.11.0
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.