FailedConsole Output

Started by remote host with note: Triggered by push of revision 9f9c7f1f6481: &quot;transport-xmpp: Show connection established timestamp<br>&quot; to by Flowdalic
Building in workspace /var/lib/jenkins/workspace/ProjectMAXS-CI
No credentials specified
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url # timeout=10
Cleaning workspace
 > git rev-parse --verify HEAD # timeout=10
Resetting working tree
 > git reset --hard # timeout=10
 > git clean -fdx # timeout=10
 > git submodule foreach --recursive git reset --hard # timeout=10
 > git submodule foreach --recursive git clean -fdx # timeout=10
Fetching upstream changes from
 > git --version # timeout=10
 > git fetch --tags --progress +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision 9f9c7f1f648152788a12c11e28e2b666772d0ce4 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 9f9c7f1f648152788a12c11e28e2b666772d0ce4
Commit message: "transport-xmpp: Show connection established timestamp"
 > git rev-list --no-walk c386344596cf3f903097cf1a70aee4d1e8d745d1 # timeout=10
 > git remote # timeout=10
 > git submodule init # timeout=10
 > git submodule sync # timeout=10
 > git config --get remote.origin.url # timeout=10
 > git submodule init # timeout=10
 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10
 > git config --get submodule.transport-xmpp/libraryProjects/memorizingTrustManager.url # timeout=10
 > git config -f .gitmodules --get submodule.transport-xmpp/libraryProjects/memorizingTrustManager.path # timeout=10
 > git submodule update --init --recursive transport-xmpp/libraryProjects/memorizingTrustManager
 > git config --get submodule.module-shell/libraryProjects/root-commands.url # timeout=10
 > git config -f .gitmodules --get submodule.module-shell/libraryProjects/root-commands.path # timeout=10
 > git submodule update --init --recursive module-shell/libraryProjects/root-commands
 > git config --get submodule.scripts/MavenToAndroidAnt.url # timeout=10
 > git config -f .gitmodules --get submodule.scripts/MavenToAndroidAnt.path # timeout=10
 > git submodule update --init --recursive scripts/MavenToAndroidAnt
[ProjectMAXS-CI] $ /bin/sh -xe /tmp/
+ make
ln -rs build/module-makefile module-ringermode/Makefile
ln -rs build/module-makefile module-misc/Makefile
ln -rs build/module-makefile module-notificationpolicyaccess/Makefile
ln -rs build/module-makefile module-shell/Makefile
ln -rs build/module-makefile module-wifichange/Makefile
ln -rs build/module-makefile module-nfc/Makefile
ln -rs build/module-makefile module-contactsread/Makefile
ln -rs build/module-makefile module-fileread/Makefile
ln -rs build/module-makefile module-bluetooth/Makefile
ln -rs build/module-makefile module-wifiaccess/Makefile
ln -rs build/module-makefile module-locationfine/Makefile
ln -rs build/module-makefile module-smsread/Makefile
ln -rs build/module-makefile module-alarmset/Makefile
ln -rs build/module-makefile module-filewrite/Makefile
ln -rs build/module-makefile module-phonestateread/Makefile
ln -rs build/module-makefile module-smssend/Makefile
ln -rs build/module-makefile module-notification/Makefile
ln -rs build/module-makefile module-bluetoothadmin/Makefile
ln -rs build/module-makefile module-phonestatemodify/Makefile
ln -rs build/module-makefile module-clipboard/Makefile
ln -rs build/module-makefile module-smswrite/Makefile
ln -rs build/module-makefile module-smsnotify/Makefile
make -C main 
make[1]: Entering directory '/var/lib/jenkins/workspace/ProjectMAXS-CI/main'
/var/lib/jenkins/workspace/ProjectMAXS-CI/scripts/ -c /var/lib/jenkins/workspace/ProjectMAXS-CI/main
cd res-src && make
make[2]: Entering directory '/var/lib/jenkins/workspace/ProjectMAXS-CI/main/res-src'
mkdir -p ../res/./drawable-mdpi/
convert -background none -resize 128x128 drawable-mdpi/ic_maxs.svg ../res/./drawable-mdpi/ic_maxs.png
make[2]: Leaving directory '/var/lib/jenkins/workspace/ProjectMAXS-CI/main/res-src'
/var/lib/jenkins/workspace/ProjectMAXS-CI/scripts/ -c .
fatal: ref HEAD is not a symbolic ref
Version file outdated, installing new: 0.5.7-SNAPSHOT (0.5.5-41-g9f9c7f1- 2019-03-15)
/bin/sh: 1: Bad substitution
gradle  assemble
Starting a Gradle Daemon, 28 busy Daemons could not be reused, use --status for details

FAILURE: Build failed with an exception.

* Where:
Build file '/var/lib/jenkins/workspace/ProjectMAXS-CI/main/build.gradle' line: 4

* What went wrong:
A problem occurred evaluating root project 'main'.
> Could not find method google() for arguments [] on repository container.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.


Total time: 22.43 secs
Makefile:28: recipe for target 'main' failed
make[1]: *** [main] Error 1
make[1]: Leaving directory '/var/lib/jenkins/workspace/ProjectMAXS-CI/main'
Makefile:64: recipe for target 'main' failed
make: *** [main] Error 2
Build step 'Execute shell' marked build as failure
Finished: FAILURE