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 was trying to use azure pass pipeline variables from github actions, Though I am not seeing any error on Github actions side the azure pipeline is not receiving the variables that I set.
deploy-using-azure-pipelines:
needs: build-and-package
runs-on: ubuntu-latest
steps:
- name: 'Trigger an Azure Pipeline to deploy the app to ARO'
uses: Azure/pipelines@v1
with:
azure-devops-project-url: 'https://dev.azure.com/OrganizationName/ProjectName'
azure-pipeline-name: 'digital-webapp'
azure-devops-token: '${{ secrets.AZURE_DEVOPS_TOKEN }}'
azure-pipeline-variables: '{ "totalVal": ${{env.TOTAL_COUNT}} , "stage": ${{env.STAGE}} }'
The text was updated successfully, but these errors were encountered:
…ipeline (#311)
It appears that Azure/pipelines@v1 azure-pipeline-variables is not
working as expected: Azure/pipelines#101. This
change moves triggering of the mirror refresh pipeline to be an Azure
DevOps pipeline instead of a GitHub workflow which should allow us to
pass parameters. This will be needed to mirror the newly-created
release/2411 branch.
---------
Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>
benhillis
added a commit
to benhillis/openvmm
that referenced
this issue
Nov 13, 2024
…ipeline (microsoft#311)
It appears that Azure/pipelines@v1 azure-pipeline-variables is not
working as expected: Azure/pipelines#101. This
change moves triggering of the mirror refresh pipeline to be an Azure
DevOps pipeline instead of a GitHub workflow which should allow us to
pass parameters. This will be needed to mirror the newly-created
release/2411 branch.
---------
Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>
You have to use Azure/pipelines@v1.2 if you want to pass variables. The v1 tag does not contain the field azure-pipeline-variables.
Though I am not seeing any error on Github actions
You should see a warning complaining about unknown fields though: Unexpected input(s) 'azure-pipeline-variables', valid inputs are ['azure-devops-project-url', 'azure-pipeline-name', 'azure-devops-token']
Hi,
I was trying to use azure pass pipeline variables from github actions, Though I am not seeing any error on Github actions side the azure pipeline is not receiving the variables that I set.
deploy-using-azure-pipelines:
needs: build-and-package
runs-on: ubuntu-latest
steps:
- name: 'Trigger an Azure Pipeline to deploy the app to ARO'
uses: Azure/pipelines@v1
with:
azure-devops-project-url: 'https://dev.azure.com/OrganizationName/ProjectName'
azure-pipeline-name: 'digital-webapp'
azure-devops-token: '${{ secrets.AZURE_DEVOPS_TOKEN }}'
azure-pipeline-variables: '{ "totalVal": ${{env.TOTAL_COUNT}} , "stage": ${{env.STAGE}} }'
The text was updated successfully, but these errors were encountered: