FailedConsole Output

GitHub pull request #51 of commit c756fb8e76848f0bee7abd9905dbed6a65ad043f automatically merged.
[EnvInject] - Loading node environment variables.
Building remotely on amp-jenkins-worker-04 (centos) in workspace /home/jenkins/workspace/e-mission-phone-android-prb
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.github-prb.url https://github.com/e-mission/e-mission-phone # timeout=10
Fetching upstream changes from https://github.com/e-mission/e-mission-phone
 > git --version # timeout=10
 > git fetch --tags --progress https://github.com/e-mission/e-mission-phone +refs/pull/*:refs/remotes/origin/pr/*
 > git rev-parse origin/pr/51/merge^{commit} # timeout=10
 > git branch -a --contains 474cee0e5bbc61774939eee9880e6a9d8a4e76bf # timeout=10
 > git rev-parse remotes/origin/pr/51/merge^{commit} # timeout=10
Checking out Revision 474cee0e5bbc61774939eee9880e6a9d8a4e76bf (origin/pr/51/merge)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 474cee0e5bbc61774939eee9880e6a9d8a4e76bf
First time build. Skipping changelog.
[Gradle] - Launching build.
[android] $ /home/jenkins/workspace/e-mission-phone-android-prb/android/gradlew -DghprbTriggerAuthorEmail=incomplete@gmail.com -DghprbTargetBranch=master -DghprbSourceBranch=upgrade_to_api_22 "-DghprbActualCommitAuthor=K. Shankari" -Dsha1=origin/pr/51/merge -DghprbPullLink=https://api.github.com/repos/e-mission/e-mission-phone/pulls/51 -DghprbActualCommit=c756fb8e76848f0bee7abd9905dbed6a65ad043f -DGIT_BRANCH=upgrade_to_api_22 -DghprbPullAuthorEmail= -DghprbActualCommitAuthorEmail=shankari@eecs.berkeley.edu -DghprbTriggerAuthor=shane -DghprbPullId=51 "-DghprbPullTitle=Upgrade the phone repo to api version 22 and cordova 5.0.0" "-DghprbPullDescription=GitHub pull request #51 of commit c756fb8e76848f0bee7abd9905dbed6a65ad043f automatically merged." build
:CordovaLib:compileLint
:CordovaLib:copyDebugLint UP-TO-DATE
:CordovaLib:mergeDebugProguardFiles UP-TO-DATE
:CordovaLib:preBuild
:CordovaLib:preDebugBuild
:CordovaLib:checkDebugManifest
:CordovaLib:prepareDebugDependencies
:CordovaLib:compileDebugAidl
:CordovaLib:compileDebugRenderscript
:CordovaLib:generateDebugBuildConfig UP-TO-DATE
:CordovaLib:generateDebugAssets UP-TO-DATE
:CordovaLib:mergeDebugAssets UP-TO-DATE
:CordovaLib:generateDebugResValues UP-TO-DATE
:CordovaLib:generateDebugResources
:CordovaLib:packageDebugResources
:CordovaLib:processDebugManifest UP-TO-DATE
:CordovaLib:processDebugResources
:CordovaLib:generateDebugSources
:CordovaLib:compileDebugJavaNote: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

:CordovaLib:processDebugJavaRes UP-TO-DATE
:CordovaLib:packageDebugJar
:CordovaLib:compileDebugNdk UP-TO-DATE
:CordovaLib:packageDebugJniLibs UP-TO-DATE
:CordovaLib:packageDebugLocalJar UP-TO-DATE
:CordovaLib:packageDebugRenderscript UP-TO-DATE
:CordovaLib:bundleDebug
:CordovaLib:assembleDebug
:CordovaLib:copyReleaseLint UP-TO-DATE
:CordovaLib:mergeReleaseProguardFiles UP-TO-DATE
:CordovaLib:preReleaseBuild
:CordovaLib:checkReleaseManifest
:CordovaLib:prepareReleaseDependencies
:CordovaLib:compileReleaseAidl
:CordovaLib:compileReleaseRenderscript
:CordovaLib:generateReleaseBuildConfig UP-TO-DATE
:CordovaLib:generateReleaseAssets UP-TO-DATE
:CordovaLib:mergeReleaseAssets UP-TO-DATE
:CordovaLib:generateReleaseResValues UP-TO-DATE
:CordovaLib:generateReleaseResources
:CordovaLib:packageReleaseResources
:CordovaLib:processReleaseManifest UP-TO-DATE
:CordovaLib:processReleaseResources
:CordovaLib:generateReleaseSources
:CordovaLib:compileReleaseJavaNote: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

:CordovaLib:processReleaseJavaRes UP-TO-DATE
:CordovaLib:packageReleaseJar
:CordovaLib:compileReleaseNdk UP-TO-DATE
:CordovaLib:packageReleaseJniLibs UP-TO-DATE
:CordovaLib:packageReleaseLocalJar UP-TO-DATE
:CordovaLib:packageReleaseRenderscript UP-TO-DATE
:CordovaLib:bundleRelease
:CordovaLib:assembleRelease
:CordovaLib:assemble
:CordovaLib:lint
Ran lint on variant debug: 13 issues found
Ran lint on variant release: 13 issues found
Wrote HTML report to file:/home/jenkins/workspace/e-mission-phone-android-prb/android/CordovaLib/build/outputs/lint-results.html
Wrote XML report to /home/jenkins/workspace/e-mission-phone-android-prb/android/CordovaLib/build/outputs/lint-results.xml
:CordovaLib:lint FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':CordovaLib:lint'.
> Lint found errors in the project; aborting build.
  
  Fix the issues identified by lint, or add the following to your build script to proceed with errors:
  ...
  android {
      lintOptions {
          abortOnError false
      }
  }
  ...

* 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: 32.069 secs
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
ERROR: Failed to set Jenkins Identity header on email.
java.lang.NullPointerException
	at org.jenkinsci.main.modules.instance_identity.InstanceIdentity.get(InstanceIdentity.java:126)
	at jenkins.plugins.mailer.tasks.MimeMessageBuilder.setJenkinsInstanceIdent(MimeMessageBuilder.java:188)
	at jenkins.plugins.mailer.tasks.MimeMessageBuilder.buildMimeMessage(MimeMessageBuilder.java:166)
	at hudson.tasks.MailSender.createEmptyMail(MailSender.java:391)
	at hudson.tasks.MailSender.createFailureMail(MailSender.java:260)
	at hudson.tasks.MailSender.createMail(MailSender.java:178)
	at hudson.tasks.MailSender.run(MailSender.java:107)
	at hudson.tasks.Mailer.perform(Mailer.java:141)
	at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:75)
	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:726)
	at hudson.model.Build$BuildExecution.post2(Build.java:185)
	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:671)
	at hudson.model.Run.execute(Run.java:1769)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:98)
	at hudson.model.Executor.run(Executor.java:374)
Sending e-mails to: shankari@eecs.berkeley.edu
Finished: FAILURE