Skip to content

azure-pipeline-variables: '{"variable1": "value1", "variable2": "value2"}' Not working #101

@nanrkumar

Description

@nanrkumar

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}} }'

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions