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] Could not queue the build because there were validation errors or warnings. #95

Open
priscofarina opened this issue Apr 15, 2024 · 2 comments
Labels
need-to-triage Requires investigation

Comments

@priscofarina
Copy link

I am trying to use the new version:

- uses: Azure/[email protected]
  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

but once I create the workflow in which I pass some variables I get the following message:

Error: Could not queue the build because there were validation errors or warnings.

Are those not supported yet?

Removing the following section from my workflow definition, the pipeline get triggered.

azure-pipeline-variables: '{"variable1": "value1", "variable2": "value2"}' # optional stringified json

@priscofarina priscofarina added the need-to-triage Requires investigation label Apr 15, 2024
@priscofarina
Copy link
Author

Looking to other issues likie this: #38 it seems the common suggestion is avoid using those workflows, instead use the integration from the GitHub marketplace.

If this is the case I think would be better having those lines deprecated for a while, otherwise I think many issues with the same reason will be raised.

@schdief
Copy link

schdief commented Oct 9, 2024

I think using the GitHub App is not a sufficient alternative, we use GitHub Actions to build a software that we want to test within different CI/CD tools, so our GHA needs to trigger Azure Pipelines directly, without any app, e. g. in order to fetch the results or instrument the run with variables like the version of our software to be tested

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

2 participants