Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-29808

(8.0.z) jboss-eap-installation-manager script returns 0 on Windows when the op is not successfull

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • Hide
      jboss-eap-installation-manager.bat install --dir eap --profile=eap-8.0
      ...
      Operation completed ...
      echo %ERRORLEVEL%
      0
      
      jboss-eap-installation-manager.bat history --dir eap
      [685d7562] ...
      
      jboss-eap-installation-manager.bat revert perform --dir eap --revision=685d7562
      (there is only one revision in the history, so the operation should fail)
      PRSP000268: The revision 685d7562 is the state of the current installation. Reverting to the same state is not a valid operation.
      echo %ERRORLEVEL%
      0
      
      jboss-eap-installation-manager.bat install --dir eap --profile=eap-8.0
      (installation folder is not empty)
      echo %ERRORLEVEL%
      0
      
      Show
      jboss-eap-installation-manager.bat install --dir eap --profile=eap-8.0 ... Operation completed ... echo %ERRORLEVEL% 0 jboss-eap-installation-manager.bat history --dir eap [685d7562] ... jboss-eap-installation-manager.bat revert perform --dir eap --revision=685d7562 (there is only one revision in the history, so the operation should fail) PRSP000268: The revision 685d7562 is the state of the current installation. Reverting to the same state is not a valid operation. echo %ERRORLEVEL% 0 jboss-eap-installation-manager.bat install --dir eap --profile=eap-8.0 (installation folder is not empty) echo %ERRORLEVEL% 0

      jboss-eap-installation-manager.bat script returns 0 even if the operation was not successful. The jboss-eap-installation-manager.sh works as expected.

              spyrkob Bartosz Spyrko-Smietanko
              dcihak@redhat.com Daniel Cihak
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: