How to add current week number in Pipeline Build name?
- tried -> $(Date:ww) #its not system in build function
2)Tried -> $week = "{0:d1}" -f ($(Get-Culture).Calendar.GetWeekOfYear((Get-Date),[System.Globalization.CalendarWeekRule]::FirstFourDayWeek, [DayOfWeek]::Monday))
Write-Host "##vso[task.setvariable variable=$($WeekNumber)]$($week )"
I resolved the issue, Thank you all