Long story short
when using intermediate variables from text files, ensure 2 things
a) echo -n $VAR > file name
b) properly encode the variable - see
https://stackoverflow.com/questions/296536/how-to-urlencode-data-for-curl-command
and other examples - application-related.
In the end I did go with
Hi all,
I will need some help with the following extended code around curl and
the authentication. We switched to authenticated setup on the app
side. It seems now I cannot get past the authorization process as I
probably need more escapes.
I would be grateful for any pointers on how to improve th
Thanks Paul.
After switching to ''' and moving the EOF marker to the very beginning of
the line ( yep I know I break the indent), but I don't like warnings like
script.sh: line 16: warning: here-document at line 10 delimited by
end-of-file (wanted `EOF')
Next I will try using csv and https parser t
$ in Groovy double quoted strings indicates the start of a placeholder, so
you are expecting Groovy to supply the values for things like ${CURL_OPTS}.
I suspect you want the shell environment to replace those. So you can
either use the triple single quoted string (exactly what it is intended
for) o
Greetings all,
Hope you are well and safe. I will need some pointers how to properly
escape the following piece of code into double quoted multi line shell step
```
#!/usr/bin/env bash
CURR_BL="foo_200227_203942"
HUB_URL="https://baz-baz.com:8045";
SEARCH_CSV_URL="${HUB_URL}/project_search.csv?quer