pass variable into Azure DevOps Release pipeline from github actions trigger

%3CLINGO-SUB%20id%3D%22lingo-sub-3111821%22%20slang%3D%22en-US%22%3Epass%20variable%20into%20Azure%20DevOps%20Release%20pipeline%20from%20github%20actions%20trigger%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3111821%22%20slang%3D%22en-US%22%3E%3CDIV%20class%3D%22%22%3E%3CDIV%20class%3D%22%22%3E%3CDIV%20class%3D%22%22%3E%26nbsp%3B%3C%2FDIV%3E%3CSPAN%3EI%20am%20trying%20to%20trigger%20the%20release%20pipeline%20in%20the%20ADO%20from%20the%20GitHub%20actions.%20While%20triggering%20I%20am%20passing%20some%20variables%20to%20the%20release%20pipeline%20but%20the%20variables%20are%20not%20assigning%20to%20the%20pipeline.%3C%2FSPAN%3E%3C%2FDIV%3E%3C%2FDIV%3E%3CDIV%20class%3D%22%22%3E%3CDIV%20class%3D%22%22%3E%3CP%3Ethe%20below%20command%20i%20am%20using%20in%20the%20Git%20Actions%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E-%20name%3A%20Azure%20Pipelines%20Action%3CBR%20%2F%3Euses%3A%20Azure%2Fpipelines%40v1%3CBR%20%2F%3Ewith%3A%3CBR%20%2F%3Eazure-devops-project-url%3A%20%3CA%20href%3D%22https%3A%2F%2Fdev.azure.com%2FJDADevOps%2FJDA%2520Identity%2520Management%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdev.azure.com%2FJDADevOps%2FJDA%2520Identity%2520Management%3C%2FA%3E%3CBR%20%2F%3Eazure-pipeline-name%3A%20'SAS-Windows-OU-Validate'%3CBR%20%2F%3Eazure-devops-token%3A%20%24%7B%7B%20steps.azureDevOpsKey.outputs.AzuredevopsPAT%20%7D%7D%3CBR%20%2F%3Eazure-pipeline-variables%3A%20'%7B%22regionCode%22%3A%20%22DL%22%7D'%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ein%20the%20Release%20pipeline%20i%20was%20giving%20-regionCode%20%24(regionCode)%20in%20the%20arguments%20section%20to%20fetch%20the%20variable%20value%3C%2FP%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E
Occasional Visitor
 
I am trying to trigger the release pipeline in the ADO from the GitHub actions. While triggering I am passing some variables to the release pipeline but the variables are not assigning to the pipeline.

the below command i am using in the Git Actions

 

- name: Azure Pipelines Action
uses: Azure/pipelines@v1
with:
azure-devops-project-url: https://dev.azure.com/JDADevOps/JDA%20Identity%20Management
azure-pipeline-name: 'SAS-Windows-OU-Validate'
azure-devops-token: ${{ steps.azureDevOpsKey.outputs.AzuredevopsPAT }}
azure-pipeline-variables: '{"regionCode": "DL"}'

 

in the Release pipeline i was giving -regionCode $(regionCode) in the arguments section to fetch the variable value

0 Replies