How to do Pipeline for any Environment: This Process is basic on IEC
Getting Latest Version
For any Ticket you do, make sure you always get the latest version of the Project
Go to Azure DevOps → Pipelines → click on Import IEC to DevN
2. Once you are in Import IEC to DevN, on the top left corner click on Run Pipeline and a pop up will appear as shown in the picture below
Click on Variables underneath Advance options → click on Environments and where it say Value, enter the name of your dev environment (for example: dev4) then click update.
After you have updated the variables, go back to the begin and run the pipeline. Wait till the status is Success to move on to the next step as shown in the picture below. (P.S. If you see warning notice someone but it should be good to go)
After you completed tasked/assignment
3. After you have completed your task, go to Azure DevOps → Pipelines → Import IEC to DevInteg
Once you are in Import IEC to DevInteg, on the top left corner click on Run Pipeline and a pop up will appear as shown in the picture below
Click on Variables underneath Advance options → click on Environments and where it say Value, enter the name of your dev environment (Make sure you keep the -sp for example: nameofenvironment-sp) then click update.
After you have updated the variables, go back to the begin and run the pipeline. Wait till the status is Success to move on to the next step as shown in the picture below. (P.S. If you see warning notice someone but it should be good to go)
After when the Import IEC to Devinteg is successfully completed, the Release will automatically start running, then wait till it’s completed. The status might say failed but if you go into the release as shown in the picture below and it will explain why (or notify someone), in this cause its just the testing which is ok to move on .
P.S. Make sure you test out your changes in the DevInteg environment before moving to the next step
4. The next step is to go back to Azure DevOps → Pipelines → Export IEC to repo
Once you are in Export IEC to repo, then click on run pipeline and go to Advance option then Variables, Branch name = Ticket name with no space, Commit name is Branch name with space and username is your name ex: firstname.lastname, then go back to the begin and run the pipeline
and wait till the status is completed
5. Now we will create a pull request, go to Azure DevOps → Repos → Branches → All, then find the branch that you have created in the previous step.
Hover over your branch and there should be 3 dot on the right hand side, click on it then click on New Pull Request
Inside the Pull Request just list the things you did in the Description, and then link the number of PBI's in the Work Items to link section. Then press Create and wait for an approval
After that, the Acceptance environment will start automatically run and once its completed, all you got to do is test it in that repo and you should be good to go.