Echo error response from RTD without formatting 24/64024/2
authorLott, Christopher (cl778h) <cl778h@att.com>
Tue, 19 May 2020 12:32:15 +0000 (08:32 -0400)
committerLott, Christopher (cl778h) <cl778h@att.com>
Tue, 19 May 2020 12:41:08 +0000 (08:41 -0400)
commitce75b472866a339cbd8022d44b121449591d995f
treecd2accf87b6d7c8fa03ce97c703dd77230ea3833
parent0c2d2eea337b2700a7913d03aa5afd75d0c11b93
Echo error response from RTD without formatting

The rtd-trigger-build.sh starts a build at ReadTheDocs and parses
the response, a small JSON like this:

    {"build_triggered":false,"project":"unicorn","versions":[]}

This change drops the invocation of jq that attempts to pretty-print
the JSON to the log when the build is not triggered, because that
call was failing for inexplicable reasons.

Change-Id: Ic4369b7e0b9172d4b4c9c3544224b6b5325813a5
Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
releasenotes/notes/fix-rtd-trigger-build-34b35822e840dae7.yaml [new file with mode: 0644]
shell/rtd-trigger-build.sh