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

Added template parameters #63

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

jacopocarlini
Copy link

SUMMARY
Add template parameters to the task

DETAILS

Allowing the user to specify the template parameters of the pipeline.

example of usage:

- 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
    azure-template-parameters: '{"variable1": "value1", "variable2": "value2"}' # optional stringified json

@ghost
Copy link

ghost commented May 19, 2022

CLA assistant check
All CLA requirements met.

@jessetan
Copy link

Is there any progress on this PR? It would be great to be able to pass pipeline parameters in the action

@danielkimuipath
Copy link

Is there any update for this?

# Conflicts:
#	action.yml
#	lib/main.js
#	lib/pipeline.error.js
#	lib/pipeline.runner.js
#	lib/task.parameters.js
#	lib/util/logger.js
#	lib/util/pipeline.helper.js
#	lib/util/url.parser.js
@jacopocarlini
Copy link
Author

jacopocarlini commented Sep 29, 2023

at the moment you can use my repository:

- name: Azure Pipelines Action - Jversion
  uses: jacopocarlini/[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
    azure-template-parameters: '{"variable1": "value1", "variable2": "value2"}' 

@priscofarina
Copy link

priscofarina commented Apr 15, 2024

Hi guys,
when this feature will be released?
As far as I got the possibility to pass parameters should be already available in the release v1.2 but I still see problems while using it.

Tks

@jacopocarlini
Copy link
Author

Hi @priscofarina,
there isn't the official support for this feature at the moment. You can use my action (v1.4) #63 (comment)

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

Successfully merging this pull request may close these issues.

4 participants