[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cbi-dev] Jenkins Build: fails to load dependencies during build (edit)

On Mon, Apr 8, 2019 at 12:32 PM Johannes Spaeth <johannes.spaeth@xxxxxxxxxxxxxxxxx> wrote:
Hi all,

we are trying to set up the official Eclipse Jenkins server for CogniCrypt. (https://jenkins.eclipse.org/cognicrypt/job/CogniCrypt/)

I noticed that your repository is pretty large despite that it's a young project and had a look at its content.
Looks like you have committed quite some jars and other binaries to the git repository. I tried cleaning
that up using bfg-repo-cleaner [1] and found that by removing the jar files and the binary file
plugins/de.cognicrypt.codegenerator/src/main/resources/bin/clafer-macos
the repository size can be reduced from over 400MB to 32MB.

Versioning binary files in git can lead to quickly growing repository size, since binary files can't be packed
by git as efficiently as source code (text). I'd recommend you better store such binary artefacts e.g. in a Maven
repository and download them during the build.

[1]Âhttps://github.com/rtyley/bfg-repo-cleaner

-Matthias

However the builds (https://jenkins.eclipse.org/cognicrypt/job/CogniCrypt/69/console) Âfails to load a dependencies:

[ERROR] Failed to execute goal on project de.cognicrypt.crysl.handler: Could not resolve dependencies for project de.cognicrypt:de.cognicrypt.crysl.handler:eclipse-plugin:1.0.0-SNAPSHOT: Failed to collect dependencies at de.darmstadt.tu.crossing.CryptSL:de.darmstadt.tu.crossing.CryptSL:jar:1.0.0-SNAPSHOT: Failed to read artifact descriptor for de.darmstadt.tu.crossing.CryptSL:de.darmstadt.tu.crossing.CryptSL:jar:1.0.0-SNAPSHOT: Could not transfer artifact de.darmstadt.tu.crossing.CryptSL:de.darmstadt.tu.crossing.CryptSL:pom:1.0.0-SNAPSHOT from/to xtend (
http://build.eclipse.org/common/xtend/maven/): eclipse.org: Unknown host eclipse.org -> [Help 1]

We have setup our own Jenkins server with the exact same configuration (
https://soot-build.cs.uni-paderborn.de/jenkins/job/boomerang/job/eclipse-cognicrypt/1/), and the build succeeds.

The error appears when fetching the artifact from
http://build.eclipse.org/common/xtend/maven/, however the jar is deployed to this repository: https://it.crossing.tu-darmstadt.de/cognicrypt, which is also mentioned in the pom.xml

Does anyone have an idea how to resolve the issue?

Thanks a lot.

Cheers,

Johannes_______________________________________________
cbi-dev mailing list
cbi-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/cbi-dev