The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Which directory the commands/scripts are running when clone was disabled

Bitwise DEVS
Contributor
May 4, 2024
clone:
enabled: false

If we skip the cloning in a step then which directory the commands/script will run? Based on my observation, if cloning is enable all commands/scripts are running inside  

opt/atlassian/pipelines/agent/build

Does the build folder above still exist even clone is not enable?

If yes, then does it mean commands/scripts will run inside empty build folder?

If no, then how about if there are artifacts which means build folder will be created?

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Answer accepted
Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 6, 2024

G'day, @Bitwise DEVS 

By default, with enable clone or disable the clone directory will always be point towards:

opt/atlassian/pipelines/agent/build

So if you disable the clone, the directory path will remain the same, but it will be an empty folder.

Regards,
Syahrul

 

DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events