Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-25666

Pod Log: wont work if I have an invalid oc in prefs and a valid connection ovveride

    XMLWordPrintable

Details

    • devex #145 February 2018

    Description

      1. ASSERT: have the "oc" location set in Eclipse preferences
      2. EXEC: start some build in OpenShift (ex. by creating an app via nodejs-mongo-persistent template)
      3. EXEC: kill the oc that preferences is pointing to
      4. EXEC: set the "Override oc location" for your OpenShift connection to some valid oc binary
      5. EXEC: in Properties > Builds: select your build and pick "Build Log"

      Result:
      The "Console" view is opened but instead of the log you'll see the following error (<invalid path> is the path that you have set in preferences:

      Does your OpenShift binary location exist? Error starting process: Cannot run program <invalid path to oc from Eclipse preferences>: error=2, No such file or directory
      


      "Build Logs" obviously doesnt honour the oc location override for the connection, it is using the value in the Eclipse preferences.

      Expected result:
      The "Build Log" should use the override in the Connection and show the build log

      Attachments

        Activity

          People

            rob.stryker Rob Stryker (Inactive)
            adietish@redhat.com André Dietisheim
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: