I have a bitbucket pipeline which basically runs a python script which checks if some files are in the correct format, the build keeps failing on my staging branch and throws an error but when i run the same script on my local while working on the same branch in the repo the script runs without throwing any error. i'm not sure what the problem is. I attached an ss as the code block doesnt format the pipeline correctly.
You'll need to debug this manually, looking at the differences between the build environment and your own local one.
I would start with a look at the error messages coming from the build server - they should tell you what has failed, and hence point you to what you need to change.
This got fixed, apparently it was a python issue and i had to fix the script, although the weird thing is that it only gave an error on the bitbucket pipeline and worked perfectly on my personal machine.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm facing another issue now where inside the pipeline the merge fails in the build setup phase, thereby failing the build.
The weird thing is that there are no merge conflicts in the pr and the pr gets merged without any issue, but the pipeline keeps failing for some reason.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's probably still something in the environment.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.