Regex lookup on RESULTS, return 2nd match, echo + set error true

3 jobs for patch-1
latest
Status Job ID Name Coverage
  Test
failed #26
test:java-lint

00:00:22

canceled #25
test:java-lint

failed #24
test:java-lint

 
Name Stage Failure
failed
test:java-lint Test There is an unknown failure, please try again
Checking out 0c419a4e as patch-1...
Skipping Git submodules setup
$ bash ci/docker_install.sh > /dev/null
+ apt-get update -yqq
+ apt-get install git -yqq
$ bash ci/javalint.sh ./
ci/javalint.sh: line 25: syntax error near unexpected token `('
ci/javalint.sh: line 25: ` if [ $RESULTS =~ error\:(.*) ] ; then '
ERROR: Job failed: exit code 1