fabric8-services / fabric8-jenkins-proxy

Apache License 2.0
1 stars 16 forks source link

Issue #210 Added docs regarding running proxy locally #212

Closed kishansagathiya closed 6 years ago

kishansagathiya commented 6 years ago
- Modified local proxy script to install jq
- Modified documentation regarding running proxy locally

Fixes #210

kishansagathiya commented 6 years ago

jq works in command line, but for some reason doesn't work well in script.

Through commandline

[ksagathi@localhost fabric8-jenkins-proxy]$ oc get pods -l deploymentconfig=jenkins-proxy -o json | jq -r '.items[0].metadata.name'
jenkins-proxy-122-9pmpz

If I run script

[ksagathi@localhost fabric8-jenkins-proxy]$ eval $(./scripts/setupLocalProxy.sh env)
jq: error: is/0 is not defined at <top-level>, line 1:
is
jq: 1 compile error
[ksagathi@localhost fabric8-jenkins-proxy]$ 

Note: Problem occurs with this branch and not master

kishansagathiya commented 6 years ago

@chmouel Just a small change to documentation

chmouel commented 6 years ago

tks