"Connect to repo.maven.apache.org:443 failed: Connection timed out" by running the job

6,938 views
Skip to first unread message

Wei Chen

unread,
Nov 3, 2015, 5:30:21 AM11/3/15
to Jenkins Users
Hi,

I installed the jenkins-1.634-1.1 under RHEL 5.6.

I create a job and this is a maven built project. I run the project in Linux console with 'mvn clean package' and this is successful. But as I run the job in Jenkins it is failed and I see in the console view followings:

...
[INFO] --- maven-easyb-plugin:1.4:test (default) @ gameoflife-core ---
[INFO] artifact org.easyb:easyb-composite-groovy: checking for updates from central
[WARNING] repository metadata for: 'artifact org.easyb:easyb-composite-groovy' could not be retrieved from repository: central due to an error: Connect to repo.maven.apache.org:443 [repo.maven.apache.org/23.235.43.215] failed: Connection timed out
[INFO] artifact org.easyb:easyb-ast: checking for updates from central
[WARNING] repository metadata for: 'artifact org.easyb:easyb-ast' could not be retrieved from repository: central due to an error: Connect to repo.maven.apache.org:443 [repo.maven.apache.org/23.235.43.215] failed: Connection timed out
[DEBUG] Using easyb org.easyb:easyb-core:jar:1.6:compile
[INFO] Using easyb dependency org.easyb:easyb-core:jar:1.6:compile
...
...
SNAPSHOT.jar to com.wakaleo.gameoflife/gameoflife-core/1.0-SNAPSHOT/gameoflife-core-1.0-SNAPSHOT.jar
Finished: FAILURE



What could be the reason?

Regards

Baptiste Mathus

unread,
Nov 3, 2015, 7:43:20 AM11/3/15
to jenkins...@googlegroups.com

Do you have a corporate proxy? If so then maybe you didn't provide the same settings.xml file in CI as you have locally?

Cheers

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/18b9a815-6e48-4c68-b4d1-cd93855ab4e8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

daniel...@gmail.com

unread,
Mar 5, 2018, 7:21:29 AM3/5/18
to Jenkins Users
Hi! Do you find the solution?
Reply all
Reply to author
Forward
0 new messages