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

Errors from minions not detected

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • saltstack-plugin
    • None
    • saltstack plugin 1.7.0

      Return codes from minions are not correctly handled. Executing the following command on the salt master

      root@xxx:~# salt 'salt-master' cmd.run '/bin/false'
      salt-master:
      ERROR: Minions returned with non-zero exit code
      root@xxx:~# echo $?
      11
      

      correctly reports the failure.
      Executing the same command with the saltstack plugin results in a SUCCESSful build, instead of a FAILURE.

            mchugh19 Christian McHugh
            giuseppeiannello Giuseppe Iannello
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: