Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-21816

Make 'nuxeoctl mp-hotfix' command return an error status code on failure

    XMLWordPrintable

    Details

      Description

      When nuxeoctl mp-hotfix is failing, the command status is still 0.

      Should be 1 at least to be detected easily by QA integration system for instance.

      [nuxeo-server-8.10-tomcat]$ ./bin/nuxeoctl mp-hotfix --accept yes && echo $?
      Downloading [nuxeo-8.10-HF01-1.0.0, nuxeo-8.10-HF02-1.0.0]...
      Aborting packages change request
      
      Failed commands:
      * download (nuxeo-8.10-HF01-1.0.0)
      	Registration required.
      * download (nuxeo-8.10-HF02-1.0.0)
      	Registration required.
      0

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: