Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-2075

maven-sling-plugin does not fail build if installation failed

    XMLWordPrintableJSON

Details

    Description

      Due to incorrect logic in my build script I the user/pass was not set correctly and bundle failed to install.
      This should cause my build to fail. For now just capturing maven output and grepping output for errors.

      maven-sling-plugin:2.0.4-incubator:install
      ....

      INFO: Failure authenticating with BASIC 'OSGi Management Console'@localhost:4502
      [ERROR] Installation failed, cause: Unauthorized

      ...
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD SUCCESS
      [INFO] ------------------------------------------------------------------------

      Attachments

        Activity

          People

            justinedelson Justin Edelson
            kharriger Kurt Harriger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: