FailedConsole Output

Started by remote host 104.192.136.255 with note: Triggered by push of revision fa9483cc4da8: &quot;newRelease.sh: Change snapshot commit message to &quot;MAXS &lt;nextVersion&gt;-SNAPSHOT&quot;<br>&quot; to https://bitbucket.org/projectmaxs/maxs/ by Flowdalic
Running as SYSTEM
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 https://bitbucket.org/projectmaxs/maxs.git # 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 https://bitbucket.org/projectmaxs/maxs.git
 > git --version # timeout=10
 > git fetch --tags --progress https://bitbucket.org/projectmaxs/maxs.git +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 fa9483cc4da884f7af7b0d1f7882fe7840bf1910 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f fa9483cc4da884f7af7b0d1f7882fe7840bf1910
Commit message: "newRelease.sh: Change snapshot commit message to "MAXS <nextVersion>-SNAPSHOT""
 > git rev-list --no-walk e4b37bcf77a871d5388a989026fa41631a2e9ab1 # 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/jenkins1335557939273358327.sh
+ 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'
ln -rs /var/lib/jenkins/workspace/ProjectMAXS-CI/build/lint.xml
/var/lib/jenkins/workspace/ProjectMAXS-CI/scripts/setupResourceLinks.sh -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/createVersionXML.sh -c .
fatal: ref HEAD is not a symbolic ref
Version file outdated, installing new: 0.5.9-SNAPSHOT (0.5.8-2-gfa9483c 2019-06-04)
/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.

BUILD FAILED

Total time: 17.955 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:61: recipe for target 'main' failed
make: *** [main] Error 2
Build step 'Execute shell' marked build as failure
Finished: FAILURE