Skip to content
Failed

Console Output

Started by user DIM Build
Running as SYSTEM
Building in workspace /var/jenkins_home/workspace/DIM-Diamant-Andoid
using credential jenkins_gitlab
Cloning the remote Git repository
Cloning repository https://gitlab.com/datainmotion/diamant/android.git
 > git init /var/jenkins_home/workspace/DIM-Diamant-Andoid # timeout=10
Fetching upstream changes from https://gitlab.com/datainmotion/diamant/android.git
 > git --version # timeout=10
using GIT_ASKPASS to set credentials The Gitlab user for the jenkins
 > git fetch --tags --progress https://gitlab.com/datainmotion/diamant/android.git +refs/heads/*:refs/remotes/origin/*
 > git config remote.origin.url https://gitlab.com/datainmotion/diamant/android.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://gitlab.com/datainmotion/diamant/android.git # timeout=10
Fetching upstream changes from https://gitlab.com/datainmotion/diamant/android.git
using GIT_ASKPASS to set credentials The Gitlab user for the jenkins
 > git fetch --tags --progress https://gitlab.com/datainmotion/diamant/android.git +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/develop^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/develop^{commit} # timeout=10
Checking out Revision b760453b79209ba3bbcf7d67db8b6b2cd81a602a (refs/remotes/origin/develop)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f b760453b79209ba3bbcf7d67db8b6b2cd81a602a
Commit message: "Initial"
First time build. Skipping changelog.
[Gradle] - Launching build.
[DIM-Diamant-Andoid] $ /var/jenkins_home/workspace/DIM-Diamant-Andoid/gradlew -x lint clean build assembleDebug
Downloading https://services.gradle.org/distributions/gradle-5.4.1-all.zip
..............................................................................................................................
Unzipping /var/jenkins_home/workspace/DIM-Diamant-Andoid/wrapper/dists/gradle-5.4.1-all/3221gyojl5jsh0helicew7rwx/gradle-5.4.1-all.zip to /var/jenkins_home/workspace/DIM-Diamant-Andoid/wrapper/dists/gradle-5.4.1-all/3221gyojl5jsh0helicew7rwx
Set executable permissions for: /var/jenkins_home/workspace/DIM-Diamant-Andoid/wrapper/dists/gradle-5.4.1-all/3221gyojl5jsh0helicew7rwx/gradle-5.4.1/bin/gradle

Welcome to Gradle 5.4.1!

Here are the highlights of this release:
 - Run builds with JDK12
 - New API for Incremental Tasks
 - Updates to native projects, including Swift 5 support

For more details see https://docs.gradle.org/5.4.1/release-notes.html

Starting a Gradle Daemon (subsequent builds will be faster)
File /root/.android/repositories.cfg could not be loaded.
Checking the license for package Android SDK Build-Tools 29.0.1 in /var/jenkins_home/android/licenses
Warning: License for package Android SDK Build-Tools 29.0.1 not accepted.
Checking the license for package Android SDK Platform 29 in /var/jenkins_home/android/licenses
Warning: License for package Android SDK Platform 29 not accepted.

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':app:compileReleaseJavaWithJavac'.
> Failed to install the following Android SDK packages as some licences have not been accepted.
     build-tools;29.0.1 Android SDK Build-Tools 29.0.1
     platforms;android-29 Android SDK Platform 29
  To build this project, accept the SDK license agreements and install the missing components using the Android Studio SDK Manager.
  Alternatively, to transfer the license agreements from one workstation to another, see http://d.android.com/r/studio-ui/export-licenses.html
  
  Using Android SDK: /var/jenkins_home/android

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

* Get more help at https://help.gradle.org

BUILD FAILED in 16s
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
Archiving artifacts
Sending e-mails to: m.hoffmann@data-in-motion.biz j.albert@data-in-motion.biz
ERROR: 535-5.7.8 Username and Password not accepted. Learn more at
535 5.7.8  https://support.google.com/mail/?p=BadCredentials x26sm6110346wmc.14 - gsmtp

javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at
535 5.7.8  https://support.google.com/mail/?p=BadCredentials x26sm6110346wmc.14 - gsmtp

	at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:809)
	at com.sun.mail.smtp.SMTPTransport.authenticate(SMTPTransport.java:752)
	at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:669)
	at javax.mail.Service.connect(Service.java:317)
	at javax.mail.Service.connect(Service.java:176)
	at javax.mail.Service.connect(Service.java:125)
	at javax.mail.Transport.send0(Transport.java:194)
	at javax.mail.Transport.send(Transport.java:124)
	at hudson.tasks.MailSender.run(MailSender.java:131)
	at hudson.tasks.Mailer.perform(Mailer.java:173)
	at hudson.tasks.Mailer.perform(Mailer.java:136)
	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741)
	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
	at hudson.model.Build$BuildExecution.post2(Build.java:186)
	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
	at hudson.model.Run.execute(Run.java:1840)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:97)
	at hudson.model.Executor.run(Executor.java:429)
Finished: FAILURE