Hi @Febin Thomas and welcome to the community!
The error indicates that the property 'MsDeployServiceUrl' doesn't have a value.
Do you see this error in the output of a command that is running during your Windows Runner build?
Are you using MSBuild and is this the property in question?
If so, have you configured this property in your code?
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have added the value as an unsecured repository variable.
like
my_server_name
and the variable name is used in my bitbucket-pipeline.yml file as follows
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Febin Thomas,
The link was missing a parenthesis, sorry for that, I fixed it and the link should work now.
I would suggest trying two things to narrow down if the issue seems to be specific to the runner or not:
1. Try replacing $my_server_name with the actual value in the bitbucket-pipeline.yml file for testing purposes to see if the issue is also reproducible.
2. Try running this build outside of the runner in PowerShell, on the same computer where you have the runner. Clone the branch of the repo where the build runs and do a git reset to the commit of the build. Then, execute the commands of your bitbucket-pipeline.yml file. You would need to provide values for any Pipelines variables you are using.
If the issue is reproducible in both cases, then it is most likely related to your project's configuration and you could try reaching out to Microsoft's Q&A for guidance.
If the issue is not reproducible without the runner, you can create a ticket with the support team, provide the URL of the failed build and the output that you get when you run the build in PowerShell outside the runner, and ask for assistance.
You can create a ticket via https://support.atlassian.com/contact/#/, in "What can we help you with?" select "Technical issues and bugs" and then Bitbucket Cloud as product. When you are asked to provide the workspace URL, please make sure you enter the URL of the workspace that is on a paid billing plan to proceed with ticket creation.
Please feel free to let me know if you have any questions!
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi @Theodora Boudale , surprisingly I could see that this issue can be resolved by keeping the format as follows
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Febin,
You are right, the $Env part is needed because the runner runs in PowerShell, and PowerShell uses this syntax ($Env:variable_name) to reference environment variables. Apologies, I missed that earlier.
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Now I am facing a different issue. I am not sure that It would be a different topic to discussion but I fall in to this issue immediately after I passed the above specified issue
Now I am trying resolve the issue of
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Febin,
A 404 error typically indicates that the resource you are trying to access does not exist.
I would recommend again running the build in PowerShell, outside the runner, as I previously suggested, to narrow down whether this is a runner-specific issue or not.
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.