Closed kishansagathiya closed 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
@chmouel Just a small change to documentation
tks
Fixes #210