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

[FIXED JENKINS-49057] List All Options for Ansible Playbook Pipeline Syntax Generator #22

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

michaelcresswell
Copy link
Contributor

extraVariables and inventoryContent have been added to the generator
extraVars is deprecated since maps do not work with the generator

…Syntax Generator

extraVariables and inventoryContent have been added to the generator
extraVars is deprecated since maps do not work with the generator
@michaelcresswell
Copy link
Contributor Author

I think this one requires closer review. Sirot seemed to go out of his way to expose extraVars as a map instead of a list like the freestyle jobs use but it's not clear to me why he did that. I see three possible approached for including extra variables in the syntax generator:

  1. Expose extraVars as a list instead of a map
    • This breaks the API so existing extraVar users would need to update their pipelines
    • It was never well documented so not sure how big this impact is
  2. Expose a new variable as a list and leave the map version off the generator
  3. Expose the map through the generator, possibly with a different UI than freestyle jobs
    • I attempted this idea but couldn't get the generator to create the map

f168654 implements Option 2

@escoem Any feedback?

@escoem
Copy link
Collaborator

escoem commented Mar 26, 2018

Hi @michaelcresswell I'm sorry because of the delay but has been motivated by https://jenkins.io/security/advisory/2018-03-26/

I will review as soon as possible. Thanks a lot as always Michael.

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.

2 participants