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

Errors from minions not detected

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Duplicate
    • Component/s: saltstack-plugin
    • Labels:
      None
    • Environment:
      saltstack plugin 1.7.0
    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          Hide
          mchugh19 Christian McHugh added a comment -

          This is github issue 18 and is waiting on the data to be available via the api upstream

          Closing this out in favor of the mentioned github issue.

          Show
          mchugh19 Christian McHugh added a comment - This is github issue 18 and is waiting on the data to be available via the api upstream Closing this out in favor of the mentioned github issue.
          Hide
          mchugh19 Christian McHugh added a comment -

          Handing in github

          Show
          mchugh19 Christian McHugh added a comment - Handing in github

            People

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

              Dates

              Created:
              Updated:
              Resolved: