Click here to Skip to main content
15,889,034 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
yesterday I made some changes to code and merged it to the develop branch without testing on dev or stg first as the approver of PR was about to leave. After merging the code I tested on dev but the build failed due to some other dependency. I know I should've tested before merging to develop but at the moment I thought nothing could go wrong in my code without thinking of other dependencies. So my question is which code goes to production? Is it the last successful build or the code from develop branch? The last successful build is already deployed on stg


What I have tried:

I have tried finding the answer on web but didnt get any satisfactory solution
Posted
Updated 10-Jan-20 13:21pm
Comments
Richard MacCutchan 11-Jan-20 4:49am    
"I thought nothing could go wrong in my code"
If I had a pound for every time I though that ... :(

As to which code goes to production, you need to ask the people who do the deployment.

1 solution

It isn't possible to answer this.

What get deployed depends entire on your source control setup, how you manage branches, and your build process, which we know nothing about.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900