-
Bug
-
Resolution: Low Engagement
-
Low
-
None
-
6.7.2
-
1
-
Severity 3 - Minor
-
0
-
Issue Summary
When running a ScriptTask Bamboo will check to see if the file being run exists and whether it is executable. If the file can not be found or is not executable an error message is written to the job log. Prior to the change in BAM-19778 this was only reported in the agent application logs.
The check for the existence of the file is made within the context of the remote agent.
This check is inappropriate if a docker environment is specified to run the task as the file needs to exist within the docker context not the agents.
Steps to Reproduce
- Create a docker image that contains a script [that doesn't exist in the agent environment]
- Create a Job containing a ScriptTask that calls that script.
- Run the Job and specify that it should run using the custom docker image.
Expected Results
The error should only be reported if the file does not exist or is not executable within the docker context.
Actual Results
The following error is seen in the Build log.
File [/path/to/script] doesn't exist, trying to run [/path/to/script] anyway.
Workaround
The error is informational only and the task will continue even though the message is included in the logs.
Hi,
At Atlassian, our goal is to ensure we’re providing the best experience for our customers. With our new Data Center strategy, Atlassian's focus is on security, compliance, and performance and is a key driver in prioritizing bugs. Closing the bugs that do not fall into those categories will allow us to focus on the ones in the most current versions of our products.
This bug is being closed due to a lack of engagement in the last four years, including no new watchers, votes, or comments; this inactivity suggests a low impact.
Please note the comments on this thread are not being monitored.
You can read more about our bug fix policy here and how we prioritize bugs.
To learn more about our recent investments in Bamboo Data Center, please check our public roadmap.
Kind regards,
Bamboo Data Center