PULL REQUEST WORKFLOW in AZURE DEVOPS - Raising a PR, Reviewing and Setting up Branch Policies

  Рет қаралды 46,386

Rahul Nath

Rahul Nath

Күн бұрын

Hello Friends, Code review is an essential practice of the development life cycle. It helps improve the code quality, unify team practices, share knowledge, mentoring, etc. over a longer period of time. It helps find mistakes that are overlooked while developing and helps improve the overall quality of the software. This helps accelerate the deployment process as changes are more likely to pass through testing. Raising Pull Requests (PR) lets your team review code and give feedback on changes before merging it into the master branch. Reviewers can step through the proposed changes, leave comments, and vote to approve or reject the code.
In this video, I will show you how to raise a Pull Request (PR) in Azure DevOps, associate work items, add reviewers. I then wear the reviewer's hat and show how to add comments to the PR, raise suggestions (that can be applied directly from DevOps), and approve or reject the PR.
As a team, it is a good practice to set branch policies to ensure only reviewed code gets merged into your main development branch. I will show how to set branch policies, automatically add reviewers to the PR, and set automated builds on raising PR.
🌍Making Code Reviews Effective - www.rahulpnath...
📹 Build/Deploy Pipeline for the MyApp • Run AUTOMATED TESTS In...
Additional Watching:
📹Getting Started With Azure DevOps - • Introduction To AZURE ...
📹Azure DevOps Playlist - • Azure DevOps
Come say hi! ✋
🌍 Blog - rahulpnath.com/
✉ Subscribe to my Newsletter - www.rahulpnath...
🐦Twitter - / rahulpnath
📸Instagram - / rahulpnath
🎥 Recording Setup and Workflow - www.rahulpnath...
Make sure to SUBSCRIBE to the channel. THANK YOU for helping me grow this channel !!

Пікірлер: 117
@RahulNath
@RahulNath 4 жыл бұрын
Source - rahulpnath.visualstudio.com/KZbin%20Samples/_git/MyApp
@NikhilKumar-ig6qi
@NikhilKumar-ig6qi 4 жыл бұрын
excellent video on branch policy. Really helped to understand the concepts of pr requests in no nonsense terms.
@RahulNath
@RahulNath 4 жыл бұрын
Thanks Nikhil! Glad it helped
@11504104067
@11504104067 4 жыл бұрын
Thank you for covering this Rahul :) - it was really helpful. Would like to see a dedicated one on CI, CD
@RahulNath
@RahulNath 4 жыл бұрын
Thanks again Rakesh. Did you have any particular parts of CI/CD? My DevOps Playlist covers a lot of scenarios including CI/CD pipelines for the various app types. kzbin.info/aero/PL59L9XrzUa-m7AFDgjWuwm6exyCklc03U Happy to point to specific ones, if you are after anything in particular.
@shubhajyotipaul2094
@shubhajyotipaul2094 4 жыл бұрын
Finally a video which tells the location of branch policies T^T
@RahulNath
@RahulNath 4 жыл бұрын
Glad it helped!
@KarthikNagendiran
@KarthikNagendiran 2 жыл бұрын
Very good video and clear explanation of concepts. Thank You!
@RahulNath
@RahulNath 2 жыл бұрын
You are welcome!
@PraveenKumar-ft2kr
@PraveenKumar-ft2kr 3 жыл бұрын
Super brother... Than you for the perfect explanation :)
@RahulNath
@RahulNath 3 жыл бұрын
You're most welcome Praveen! You might also want to check out the two series there bit.ly/azure-devops-series bit.ly/asp-net-core-series
@bookofproofs
@bookofproofs 3 жыл бұрын
Thank you, a very good educational video.
@RahulNath
@RahulNath 3 жыл бұрын
Glad it was helpful!
@imrankhan-wy3yb
@imrankhan-wy3yb 3 жыл бұрын
Superb man. Loved everything and explained very well
@RahulNath
@RahulNath 3 жыл бұрын
Glad you liked it Imran!
@luisgustavofernandezbatres5352
@luisgustavofernandezbatres5352 3 жыл бұрын
It's a very good and complete example. Thank you!
@RahulNath
@RahulNath 3 жыл бұрын
You are welcome!
@bigneon2
@bigneon2 Жыл бұрын
thanks, very helpful!
@RahulNath
@RahulNath Жыл бұрын
You're welcome!
@chethankumar9666
@chethankumar9666 Жыл бұрын
wow.. i like way Rahul Nath describes it,,.. awesome.. many thanks
@RahulNath
@RahulNath Жыл бұрын
You're most welcome Chethan!
@sfincione2000
@sfincione2000 3 жыл бұрын
Excellent overview of the process. Nice job.
@RahulNath
@RahulNath 3 жыл бұрын
Thank you and glad you like it!
@moelmakrani7116
@moelmakrani7116 8 ай бұрын
Great video, Rahul. You are a very good teacher!
@RahulNath
@RahulNath 8 ай бұрын
Glad you think so! Hope you are enjoying the other videos.
@NabranAboubacar
@NabranAboubacar 2 жыл бұрын
Nice Info there, thx for sharing.
@RahulNath
@RahulNath 2 жыл бұрын
Glad it helped!
@pramilgawande2800
@pramilgawande2800 4 жыл бұрын
Very insightful video
@RahulNath
@RahulNath 4 жыл бұрын
Thank you!
@khaledzeidiyeh823
@khaledzeidiyeh823 3 жыл бұрын
Thanks for sharing. I was looking for how to modify the code within the pull request. Thanks again!
@RahulNath
@RahulNath 3 жыл бұрын
Glad I could help! Hope all your queries are resolved? Feel free to ask here if not.
@xandrovich5976
@xandrovich5976 Жыл бұрын
This is an excellent video - top-notch!
@RahulNath
@RahulNath Жыл бұрын
Glad you liked it!!
@etalon11
@etalon11 3 жыл бұрын
Good work! Much Information.
@RahulNath
@RahulNath 3 жыл бұрын
Glad it was helpful! You might like my other videos in the ASP NET Series kzbin.info/aero/PL59L9XrzUa-nqfCHIKazYMFRKapPNI4sP
@AnickRazibul
@AnickRazibul 3 жыл бұрын
Very nice. Thanks Rahul.
@RahulNath
@RahulNath 3 жыл бұрын
Thank you Anu. Don't forget to checkout my popular playlists! Azure DevOps - kzbin.info/aero/PL59L9XrzUa-m7AFDgjWuwm6exyCklc03U ASP.NET Core - kzbin.info/aero/PL59L9XrzUa-nqfCHIKazYMFRKapPNI4sP
@snehilverma1772
@snehilverma1772 6 ай бұрын
thanks bro, this helps a lot. Although can you suggest me something on how to make build process, and explain status checks?
@RahulNath
@RahulNath 5 ай бұрын
Can you provide more details on what you are trying to do? I have various videos in my DevOps series on setting up build process bit.ly/azure-devops-series
@yvindballe4789
@yvindballe4789 2 жыл бұрын
Excellent tutorial 🙌🏼
@RahulNath
@RahulNath 2 жыл бұрын
Glad it was helpful!
@mdrezowantalukder9059
@mdrezowantalukder9059 2 жыл бұрын
Thanks. It helped
@RahulNath
@RahulNath 2 жыл бұрын
Glad to hear!
@dataarq945
@dataarq945 2 жыл бұрын
Thanks Rahul, Clear and good Explanation
@RahulNath
@RahulNath 2 жыл бұрын
You're most welcome!!
@SruthiA-si4ss
@SruthiA-si4ss Жыл бұрын
very informative and good explanation :) thanks a lot bro
@s.sasisekhar4608
@s.sasisekhar4608 Жыл бұрын
You saved my time
@RahulNath
@RahulNath Жыл бұрын
Glad to hear that! Do check out my devops series here bit.ly/azure-devops-series
@harithasantosh
@harithasantosh 2 жыл бұрын
Very nice video .Can you please also do videos on interview questions in azure for freshers ,medium level and experienced level
@RahulNath
@RahulNath 2 жыл бұрын
Thank you Santosh. Good suggestion. I am planning to start a C# series focusing on some the basic concepts. Hope that will help with interviews.
@shshawon39
@shshawon39 2 жыл бұрын
Great video bro!!!
@RahulNath
@RahulNath 2 жыл бұрын
Happy it helped!
@AmitPatils
@AmitPatils 2 жыл бұрын
You just got new subscriber :)
@RahulNath
@RahulNath 2 жыл бұрын
Yay! Thank you!
@krishna172225
@krishna172225 3 жыл бұрын
Dear Rahul..Can you please explain about the rebase and Squash merge
@RahulNath
@RahulNath 3 жыл бұрын
Nice suggestion Krishna - I have added it to my list. I will do one to cover git usage.
@maxlau4321
@maxlau4321 2 жыл бұрын
Thank you so much Rahul!!!
@RahulNath
@RahulNath 2 жыл бұрын
Glad you like it Max!
@GarvitDhasmana
@GarvitDhasmana 10 ай бұрын
Thank You so much
@RahulNath
@RahulNath 9 ай бұрын
You're welcome!
@rahulswami7754
@rahulswami7754 3 жыл бұрын
Well explained!!!!
@RahulNath
@RahulNath 3 жыл бұрын
Thank you Rahul! 😀
@kharratGhada
@kharratGhada 7 ай бұрын
Hello Rahul, how can i create an azure environment for my pull request spring boot application, doing tests on the exposed apis, then once i merge the pull request the created environment will be deleted
@kharratGhada
@kharratGhada 7 ай бұрын
Hello Rahul, how can i create an azure environment for my pull request spring boot application , then doing tests in the exposed apis, once i merge my pull request, the azure environment created for my pull request will be deleted
@shreekumarmenothparambil3478
@shreekumarmenothparambil3478 Жыл бұрын
Hi Rahul, Can we create a group of users like a pool, inorder to accept Bug or Change request from the pool rather than assigning a specific member.
@RahulNath
@RahulNath Жыл бұрын
yes you can add groups and assign them to PR's. What trouble are you facing doing this?
@javierpajon68
@javierpajon68 2 жыл бұрын
「もっと多くの人が必要なので、このビデオをもっと
@RahulNath
@RahulNath 2 жыл бұрын
Not sure what this translates to - but thank you 😀
@mohammadmoahammad6249
@mohammadmoahammad6249 2 жыл бұрын
thnks ..can we automaticly reject pr if build pipleine failed?
@RahulNath
@RahulNath 2 жыл бұрын
Yes you can using Branch Policies. I talk about it at 17:11 in this video
@Raj-si5yz
@Raj-si5yz 3 жыл бұрын
Thanks .I have one question.How to do auto merge from one branch to another branch
@RahulNath
@RahulNath 3 жыл бұрын
Happy you liked it Raj. 18:56 is that what you are looking for?
@Raj-si5yz
@Raj-si5yz 3 жыл бұрын
@@RahulNath Thanks Rahul for reply.Yes exactly.I have three branch branch 1 , branch2 and branch 3.From branch 1 to 2 there is not PR approval.So once it's approved then only we are moving branch 2 to 3. What I seen in your video merge automatically.So once we ✔️ on automatic merge then what whatever changes comes in branch 2 .It will come in branch 2 to 3 automatically?.
@RahulNath
@RahulNath 3 жыл бұрын
@@Raj-si5yz Yes any commits on a PR branch will automatically appear on the PR and trigger a new build (if that is linked). Based on policies it can also invalidate existing approvals (if any), since the code has changed. Give it a try and let me know in case you run into any issues.
@Raj-si5yz
@Raj-si5yz 3 жыл бұрын
@@RahulNath Thanks a bunch. I will check and I will inform you. :)
@RahulNath
@RahulNath 3 жыл бұрын
@@Raj-si5yz Sure do let me know!
@sushmithashetty5324
@sushmithashetty5324 2 жыл бұрын
Is there any way to stop the trigger in jenkins when pull request is updated in azure
@RahulNath
@RahulNath 2 жыл бұрын
There should be, been a while since I have used Jenkins. Hope you figured it out.
@TellaTrix
@TellaTrix 3 жыл бұрын
As you have mentioned in this video. like integration with teamcity server is it possible to publish artifact from teamcity to azure devops ? Our legacy services and repository are hosted on premises server and i want to trigger build from Teamcity server to Azure devops.
@RahulNath
@RahulNath 3 жыл бұрын
Yes should be possible. Depends on what all you are trying to keep in Teamcity and migrate to devops. Does this help? www.jetbrains.com/help/teamcity/integrating-teamcity-with-vcs-hosting-services.html
@hyndaviyadav6399
@hyndaviyadav6399 3 жыл бұрын
How to trigger the build after the PR ?in classic editor?
@RahulNath
@RahulNath 3 жыл бұрын
Once you go into the pipeline definition you should have an options to 'Run Pipeline'. Is that what you are looking for?
@subhankarpati8370
@subhankarpati8370 4 жыл бұрын
Hello Rahul, How to trigger all the build pipelines in case of Pull Request if I have multiple projects in the azure devops repo and there are different pipeline for each project.
@RahulNath
@RahulNath 4 жыл бұрын
So you have Project1-> Repo1->Build1 and Project2->Repo2->Build2. And you want to trigger both builds whenever a pull request is raised for one of the Repo's. Is that what you are trying to achieve? Why do you want that ?
@Imhemantnegi
@Imhemantnegi 2 жыл бұрын
If someone says, how to to create a CI for a new PR. What does that means ? Are you create an individual Jobs for that new pull request, if I am not wrong
@RahulNath
@RahulNath 2 жыл бұрын
It mostly is to trigger a build/release (if that is not automated for PR's). But it's very hard to tell what exactly it would mean. Best would be to confirm/chat with your team/individual that mentioned this. Hope you sort this out!
@vishalpoudel6712
@vishalpoudel6712 2 жыл бұрын
Hi rahul i have imported a project from git to azure, after making some changes to git repo files how can i push that to azure repo and visa versa ?
@RahulNath
@RahulNath 2 жыл бұрын
Hope you figured this out. You need to create a repository in Azure and add the remote URL to your repo and push up the changes.
@swatiyp6502
@swatiyp6502 6 ай бұрын
Tq, in ur case there were 4 errors, but pr reflects only 1. Is there a way to see all the errors on the PR.
@RahulNath
@RahulNath 6 ай бұрын
Hey Swati, Can you point me to the location in the video that you are referring to?
@swatiyp6502
@swatiyp6502 6 ай бұрын
24:15 once the build fails
@swatiyp6502
@swatiyp6502 6 ай бұрын
I hv a pipeline with 4 checks, but pr shows the 1st one. When I click on it, it will show the build and all the errors. Is there any way that all the errors are shown on the PR itself
@swatiyp6502
@swatiyp6502 6 ай бұрын
And really thanks for such quick response
@RahulNath
@RahulNath 6 ай бұрын
Ah ok got it - I'm not sure if there is way for that.@@swatiyp6502
@davidhosni2655
@davidhosni2655 11 ай бұрын
This is Amazing , Thank you.
@triyuga
@triyuga 4 жыл бұрын
What, no "Hello Everyone" ??
@triyuga
@triyuga 4 жыл бұрын
Oh finally at 00:51
@RahulNath
@RahulNath 4 жыл бұрын
Hehe how can I miss that 😀
@kunalpanchal272
@kunalpanchal272 4 жыл бұрын
Hello Rahul, how can I get in touch with you? I need some help
@RahulNath
@RahulNath 4 жыл бұрын
Details in my About page - email or twitter works fine
@KrishnaList
@KrishnaList 3 жыл бұрын
I have 3 branches Dev Test Prod When i pulled request then i have choosen wrong branch and approve it but not completed I have to choose Pull request Dev To Test But my mistake i have choosen Pull request dev to master approve it but not complete Is there any way to change branch pull request to master to test
@RahulNath
@RahulNath 3 жыл бұрын
Hey Amit, You can Abandon the Pull Request and create a new one docs.microsoft.com/en-us/azure/devops/repos/git/pull-requests?view=azure-devops?WT.mc_id=AZ-MVP-5003875#complete-the-pull-request Let know if that helps.
@hackwithharsha5228
@hackwithharsha5228 3 жыл бұрын
Good video, just a suggestion.. take breath and speak freely... i am feeling like listening to bot.. no offence to content.. subscribed
@RahulNath
@RahulNath 3 жыл бұрын
glad you liked the video and thank you for your feedback. Yes I totally agree and have been trying to improve since I started the channel. Slowly getting better at it 😀 Thanks for subscribing!
@7contractors
@7contractors Жыл бұрын
Mighty thx! this was really good. Do you have a cashApp?
@RahulNath
@RahulNath Жыл бұрын
Glad it helped! What is cashApp? If you are looking to support me, you can buy me coffee ☕www.buymeacoffee.com/rahulpnath
@srikanthchincholi481
@srikanthchincholi481 3 жыл бұрын
really kool stuff but Why So Serious ??? :)
@RahulNath
@RahulNath 3 жыл бұрын
Glad you like it Srikanth. Working on being no 'so serious' on the camera 😀
@arunkumarkt8730
@arunkumarkt8730 3 жыл бұрын
He is reading a script!
@RahulNath
@RahulNath 3 жыл бұрын
Yes ofcourse I have a script (not word-by-word though) 😀. Here is what I used for this video if it interests you www.notion.so/rahulpnath/DevOps-PR-20a3bd06227b45c19cb40614c488d23c
Pull Requests in Azure DevOps
23:31
Microsoft Visual Studio
Рет қаралды 34 М.
Секрет фокусника! #shorts
00:15
Роман Magic
Рет қаралды 99 МЛН
这三姐弟太会藏了!#小丑#天使#路飞#家庭#搞笑
00:24
家庭搞笑日记
Рет қаралды 123 МЛН
Undoing Mistakes: Reverting Wrong Commits in Azure DevOps
8:38
How To Become A DevOps Engineer in 2023? | Skills To Learn
20:34
Travis Media
Рет қаралды 572 М.
Девочка помогла отцу купить дорогие камни 😱
0:48
Фильмы I Сериалы
Рет қаралды 2,9 МЛН
somersault from a swing #shorts
0:10
Kamilla Family
Рет қаралды 17 МЛН
Let’s see is this plant can actually make sound! 🌱🎶
0:34
scottsreality
Рет қаралды 16 МЛН
Больше нас в ВК: Nika.family
0:10
Привет, Я Ника!
Рет қаралды 5 МЛН
Will A Guitar Boat Hold My Weight?
0:20
MrBeast
Рет қаралды 188 МЛН
Electric Flying Bird with Hanging Wire Automatic for Ceiling Parrot
0:15
The whole beach was shocked
0:18
X-Findings
Рет қаралды 25 МЛН