FailedConsole Output

Started by an SCM change
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on Worker-OSLK07-Cellery-Ubuntu (Cellery-Ubuntu) in workspace /build/jenkins-home/workspace/cellery/src/github.com/cellery-io/cellery-hub
using credential github-user-for-maven-releases
Wiping out workspace first.
Cloning the remote Git repository
Cloning repository https://github.com/wso2/cellery-hub
 > git init /build/jenkins-home/workspace/cellery/src/github.com/cellery-io/cellery-hub # timeout=10
Fetching upstream changes from https://github.com/wso2/cellery-hub
 > git --version # timeout=10
using GIT_ASKPASS to set credentials github user for maven release plugin (CD)
 > git fetch --tags --progress -- https://github.com/wso2/cellery-hub +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://github.com/wso2/cellery-hub # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://github.com/wso2/cellery-hub # timeout=10
Fetching upstream changes from https://github.com/wso2/cellery-hub
using GIT_ASKPASS to set credentials github user for maven release plugin (CD)
 > git fetch --tags --progress -- https://github.com/wso2/cellery-hub +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision 5aa429d410c3b75e97eb98875ed08e0a50dc0e37 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 5aa429d410c3b75e97eb98875ed08e0a50dc0e37 # timeout=10
Commit message: "Merge pull request #178 from tharindulak/master"
 > git rev-list --no-walk 64f5fd1edcae7730ef23d287b32ea3189819bc84 # timeout=10
[EnvInject] - Executing scripts and injecting environment variables after the SCM step.
[EnvInject] - Injecting as environment variables the properties content 
GOROOT=/usr/local/go
GOPATH=/build/jenkins-home/workspace/cellery/

[EnvInject] - Variables injected successfully.
[cellery-hub] $ /bin/bash /tmp/jenkins4851425951669938062.sh
+ set -e
+ git checkout master
fatal: not a git repository (or any of the parent directories): .git
Build step 'Execute shell' marked build as failure
Finished: FAILURE