Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

com.atlassian.bamboo.task.TaskException: Error while creating temporary file for script

com.atlassian.bamboo.task.TaskException: Error while creating temporary file for script
	at com.atlassian.bamboo.plugin.dotnet.msbuild.MsBuildTaskType.createResponseFile(
	at com.atlassian.bamboo.plugin.dotnet.msbuild.MsBuildTaskType.execute(
	at com.atlassian.bamboo.task.TaskExecutorImpl.lambda$executeTasks$3(
	at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(
	at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(
	at com.atlassian.bamboo.task.TaskExecutorImpl.execute(
	at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(
	at com.atlassian.bamboo.utils.BambooRunnables$
	at Source)
Caused by: Access is denied
	at Method)
	at Source)
	at Source)
	at com.atlassian.bamboo.plugin.dotnet.msbuild.MsBuildTaskType.createResponseFile(
	... 17 more

How to resolve this issue please. when i used msbuild in task i am getting like this after build.

1 answer

0 votes

The line that says Access is denied

is the important one - the agent is being prevented from creating a file.  It might be out of space on the disk, but the most likely culprit is that it does not have the permissions to use the directory or files it is trying to use. 

I am having space, i am not understanding how to resolve this. can you please explain me clearly. 

You'll need to correct the permissions on the directories and files the build is trying to use.

i given full permissions, please guide.image.png

Then you'll need to check the operating system logs - you need to find out why it is not letting the build agent have access to the files it is trying to create and update.

This is not a front-end Bamboo problem, you are going to need to fix whatever it is on the build server that is stopping the agent accessing the files.

image.pngIn MsBuild i given like this,is there any mistakes and settings avaialbe?

The MsBuild settings are not the issue.  You need to look at why the Bamboo Agent is being denied access to the files by the operating system.

Suggest an answer

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

Bamboo Data Center is here!

G’day Bamboo customers, The wait is over! Bamboo Data Center edition you have been asking for is finally here! This self-managed enterprise offering of Bamboo has the resilience, reliability, and s...

501 views 1 17
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