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

Some final output is missing in Jenkins Pipeline when using the Ansible Plugin

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • ansible-plugin
    • Latest (11.29.18) Jenkins Version 2.153 (2018-11-25)
      Latest (11.29.18) Jenkins Ansible Pipeline plugin Version 1.0 (26 March 2018)
    • 148.v6b_13c6de3a_47

      When using the Ansible Plugin with jenkins Pipeline,
      I can't see the entire log on Jenkins PIpeline build output - Some output is missing at the end of the Ansible play.
      The output looks fine on a terminal - if I'll SSH to the server and run the ansible-playbook command from the command line.

      • This issue started about a month ago..

      Here is a screenshot of how the output look like now:
      https://imgur.com/waX7XcM

      Ansible Plugin:
      https://jenkins.io/doc/pipeline/steps/ansible/

      This is the Pipeline code that uses the Ansible Pipeline Plugin:

              stage('running something') {
                  steps {
                      script {
                          dir('my/path/here') {
                              ansiblePlaybook([
                                      inventory   : 'hosts',
                                      playbook    : 'main.yml',
                                      installation: 'ansible',
                                      sudoUser    : null,
                                      colorized   : true,
                                      extraVars   : [
                                              blah   : "${params.blah}",
                                              some_var       : "${params.some_var}"
                                      ]
                              ])
                          }
                      }
                  }
              }
      

        1. image-2019-01-07-13-55-02-950.png
          62 kB
          Benjamin Debotte
        2. image-2019-01-07-13-55-28-725.png
          19 kB
          Benjamin Debotte
        3. Screen Shot 2018-12-04 at 11.09.00 AM.png
          153 kB
          Ben Specht
        4. Selection_026.jpg
          94 kB
          Ruslan Bondarau
        5. waX7XcM.png
          103 kB
          Adam Delarosa

            jonesbusy Valentin Delaye
            nimitack Adam Delarosa
            Votes:
            15 Vote for this issue
            Watchers:
            22 Start watching this issue

              Created:
              Updated:
              Resolved: