[jbosstools-issues] [JBoss JIRA] (JBIDE-25666) Pod Log: wont work if I have an invalid oc in prefs and a valid connection ovveride

Andre Dietisheim (JIRA) issues at jboss.org
Thu Jan 25 09:42:00 EST 2018


     [ https://issues.jboss.org/browse/JBIDE-25666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andre Dietisheim updated JBIDE-25666:
-------------------------------------
    Attachment: build-logs-using-oc-location-in-prefs.png


> Pod Log: wont work if I have an invalid oc in prefs and a valid connection ovveride
> -----------------------------------------------------------------------------------
>
>                 Key: JBIDE-25666
>                 URL: https://issues.jboss.org/browse/JBIDE-25666
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 4.5.2.Final
>            Reporter: Andre Dietisheim
>            Assignee: Rob Stryker
>              Labels: build_log, oc_binary, preferences
>             Fix For: 4.5.x
>
>         Attachments: build-logs-using-oc-location-in-prefs.png
>
>
> # ASSERT: have the "oc" location set in Eclipse preferences
> # EXEC: start some build in OpenShift (ex. by creating an app via nodejs-mongo-persistent template)
> # EXEC: kill the oc that preferences is pointing to
> # EXEC: set the "Override oc location" for your OpenShift connection to some valid oc binary
> # 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:
> {code}
> 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
> {code}
> "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



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jbosstools-issues mailing list