SOFTWARE ENGINEERING

EMERGING TRENDS IN SOFTWARE ENGINEERING

DEVOPS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which of the following is the correct number format for naming executed Builds?
A
$(Build.SourceBranchName).$(date:yyyyMMdd)$(rev:.r)
B
$(Build.SourceBranchName)
C
$(date:yyyyMMdd)$(rev:.r)
D
None of the above
Explanation: 

Detailed explanation-1: -Azure Pipelines-Must only contain alphanumeric characters and ‘ ‘ .-Must not start with a number.-Must have a unique name.-Must not contain keywords, for example: “deployment".

Detailed explanation-2: -Create New Build Number.-script: | export newNumber=123-$(Build.SourceBranchName) echo “##vso[task.setvariable variable=NEWBUILDNUMBER; ]$newNumber” displayName: ‘Get New Build Number’ Display New Build Number. Update build number with new Build Number. Display updated build number. 27-Jan-2021

There is 1 question to complete.