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
The trigger works great, but some of the build information is missing.
For example, our build name in the azure-pipeline.yml file is defined as follows: name: cogz-ci-$(branchName)-$(Date:yyyyMMdd)$(Rev:.rr) branchName is defined in a global template as:
When running with the azure pipelines PR trigger, we get:
But when running with the GitHub Action trigger, we get:
(the build also fails because we're using branchName in a lot of places)
Are we missing something? Should this be passed as a variable when using the GitHub Action trigger?
Thanks!
The text was updated successfully, but these errors were encountered:
Josh-01
added
bug
Something isn't working
enhancement
New feature or request
P1
Some scenario broken but workaround exists
question
Further information is requested
idle
Inactive for 14 days
and removed
question
Further information is requested
enhancement
New feature or request
P1
Some scenario broken but workaround exists
labels
Jan 21, 2022
I would recommend using the Azure Pipeline App in the GitHub marketplace: https://github.com/marketplace/azure-pipelines. Using this app will allow you to directly trigger a Azure Pipeline without the need for GitHub Actions at all. I believe this will also make all the ADO build variables function as expected.
@tjcorr Who actually supports the app? We've had all kinds of trouble with that integration and Microsoft support treats it as if they've never heard of it.
Hi,
We're trying to migrate from
pr
triggers in theazure-pipeline.yml
to a GitHub Action trigger, using the following action:The trigger works great, but some of the build information is missing.
For example, our build name in the
azure-pipeline.yml
file is defined as follows:name: cogz-ci-$(branchName)-$(Date:yyyyMMdd)$(Rev:.rr)
branchName
is defined in a global template as:When running with the azure pipelines PR trigger, we get:
But when running with the GitHub Action trigger, we get:
(the build also fails because we're using
branchName
in a lot of places)Are we missing something? Should this be passed as a variable when using the GitHub Action trigger?
Thanks!
The text was updated successfully, but these errors were encountered: