Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-46567

Ansible plugin not reading additionalParameters from pipeline

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • ansible-plugin
    • None

      When creating an ansible playbook job from a jenkinsfile the additionalParameters is not getting passed into the job.  The other parameters here all work fine.

       

      ansiblePlaybook(
      {{ playbook: 'config/site/site_aws.yml',}}
      {{ inventory: '/var/lib/jenkins/ec2.py',}}
      {{ credentialsId: 'credID',}}
      {{ additionalParameters: '--check',}}
      {{ limit: 'tag_Client_us1:tag_Client_us2:tag_client_us3:tag_Client_us4:tag_Client_shared:&tag_Release_stag:&us-east-1',}}
      {{ colorized: true)}}

            escoem Emilio Escobar
            tomw2245 Tom Weeks
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: