If someone could please help, a thanks in advance. :)
I wanted to display an HTML report into a new tab on Bamboo Job Link (Default job). I have implemented the new tab using xwork and web-item in atlassian-xml. The class "XYZ" defined in action tab is extended from "PlanResultsAction". I am using a free-marker template which would display the artifact HTML report.
I was going through a similar question in link
How can I initialize BuildContextImpl and BuildContextHelper in class "XYZ" to get the Build Working Directory and hence the artifacts?
My task runs on the agent, it would then publish artifacts generated on the agent using the below,
143 fileWorkingDir, artifact, new Hashtable<String, String>(), 1);"
Does the shared artifact get copied on the server?
I have created an artifact definition too, so I can see 2 artifacts (image)
I am always publishing an artifact (using publish API). Is my assumption correct that it always gets copied on the server from an agent?
What is the right way to display the content of the artifact in the new tab?
I did a bit of investigation. Now I am extending my class from "ViewBuildResults" instead of "PlanResultsAction".
I now use the function "getSharedArtifactPath" and "getArtifactPath" to get the artifacts. But now I am getting the below error
ERROR [http-nio-6990-exec-1] [BambooStrutsUnknownHandler] There is no Action mapped for namespace [/] and action name [XYZ] associated with context path [/bamboo].
On 31 May, a GDPR-related change went live in the Bitbucket Cloud API that resulted in users not being able to create or edit Bitbucket Cloud Linked repositories in Bamboo. This API update removed t...
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