Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug/Question/Feature-Request] Parameters passed to Pipeline are not being accepted #60

Open
oscarare opened this issue May 6, 2022 · 2 comments
Labels
need-to-triage Requires investigation

Comments

@oscarare
Copy link

oscarare commented May 6, 2022

Pipeline parameter seems not beeing accepted! :-(

  • uses: Azure/pipelines@v1
    with:
    azure-devops-project-url: 'https://dev.azure.com/organization/project-name'
    azure-pipeline-name: 'pipeline-name' # name of the Azure pipeline to be triggered
    azure-devops-token: '${{ secrets.AZURE_DEVOPS_TOKEN }}'
    azure-pipeline-variables: '{"variable1": "value1", "variable2": "value2"}' # optional stringified json

I get this error:

Warning: Unexpected input(s) 'azure-pipeline-variables', valid inputs are ['azure-devops-project-url', 'azure-pipeline-name', 'azure-devops-token']
Run Azure/pipelines@v1
Creating connection with Azure DevOps service : "https://dev.azure.com/SI-idtxccoe"
Connection created
Error: Failed request: (401)

@oscarare oscarare added the need-to-triage Requires investigation label May 6, 2022
@jacopocarlini
Copy link

Use a token with full access scopes

@guperrot
Copy link
Member

I had to use @v1.2, @v1 didn't work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need-to-triage Requires investigation
Projects
None yet
Development

No branches or pull requests

3 participants