You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I started your sendemail which worked fine until I started to populate the body by a value from a prcedent powershell task in which I initialize the variable.
In send email I do this Body: "To test variable value: $({getIssues}.alertSonarIssues)"
and the variable is populated in the PS task as follows
- powershell: |
Write-Host "calling sonar to see how many issues"
......
Write-Host "##vso[task.setvariable variable=alertSonarIssues;isOutput=true;]$allMajorissuesOnlyIssues"
.......
name: 'getIssues'
displayName: 'GetAllIssues'
When I do Write-host of the variable in a 3rd task. I see the text in the pipeline debug screen which is not nothing
Thanks for your help
The text was updated successfully, but these errors were encountered:
Hi, I started your sendemail which worked fine until I started to populate the body by a value from a prcedent powershell task in which I initialize the variable.
In send email I do this
Body: "To test variable value: $({getIssues}.alertSonarIssues)"
and the variable is populated in the PS task as follows
When I do Write-host of the variable in a 3rd task. I see the text in the pipeline debug screen which is not nothing
Thanks for your help
The text was updated successfully, but these errors were encountered: