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

How to deploy script files to staging with runner

Ruby February 1, 2024

Hi I would like to deploy new files to staging server automatically using a bitbucket pipeline. There won't be build or anything. So, I set up self-hosted runner on a staging server. I merged a code then the pipe line run and it said successful, but I couldn't see the changes in my staging server. May I know why and what steps am I missing?

1 answer

1 vote
Mark C
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 4, 2024

Hi @Ruby,

Thank you for reaching out to the community.

May I know how you're currently deploying new files to the staging server?
Are you using Rsync, FTP/SFTP or just Git operation (i.e. you're cloning/fetching your repository for new changes in the staging server)?

Regards,
Mark C

Ruby February 5, 2024

Hi @Mark C, it will be git and power shell script.

Thanks,

Mark C
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 6, 2024

Hi @Ruby,

Are you doing Git pull in an existing repository or you're cloning the repository to get new updates for the staging environment?

Regards,
Mark C

Ruby February 28, 2024

Hi @Mark C I am using powershell script as it is hosted in windows. I use branches and it builds but build log doesn't show all. Where can I see all the build logs?

Mark C
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 28, 2024

Hi @Ruby,

You can check your Windows self-hosted runners logs usually from the location below:

<runner_working_directory>\<runnerUuid>\runner.log

You can also check this page for more information about troubleshooting runners. - https://confluence.atlassian.com/bbkb/troubleshooting-runners-1167819666.html

Regards,
Mark C

Like Sabine Mayer likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events