Hi,

I have a problem with Jenkins where I cannot use a specific name for a 
build job. This error is driving me crazy.

The name I'm using is cf-corpxml-exp-qa-build-jar, when I run the build I 
get the following error 

Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.2/maven-clean-plugin-2.2.pom[WARNING]
 Unable to get resource 'org.apache.maven.plugins:maven-clean-plugin:pom:2.2' 
from repository central (http://repo1.maven.org/maven2): Error transferring 
file: Connection timed out: connectDownloading: 
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.2/maven-clean-plugin-2.2.pom[WARNING]
 Unable to get resource 'org.apache.maven.plugins:maven-clean-plugin:pom:2.2' 
from repository central (http://repo1.maven.org/maven2): Error transferring 
file: Connection timed out: connect[INFO] 
------------------------------------------------------------------------[ERROR] 
BUILD ERROR[INFO] 
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


It cannot connect to the maven central repository to download the 
maven-clean-plugin. Now I've tried cloinging this job
exactly as it is and calling it CF-Test. This will then download the plugin as 
expected and complete successfully. 

Also changing the name to cf-corpxml-exp-qa-build-jar-2 also causes the job to 
start working. I've deleted the job and created
it again and the same problems persist. I've even gone and done the 
deletion/renaming directly in the jenkins jobs folder which also seems
to make no difference. Why would taking "-2" off the end of the name suddenly 
stop it connecting to maven central? All of our other jobs connect 
with no issues so it is definitely not a networking/firewall problem. 


I have this problem with 2 build jobs and we are running around 100 and 
I've never seen this issue before. I've tried everything and the only thing 
that is consistent is that using the name above causes the job to fail and 
not using the name allows it to download the plugin. 

We are using Maven 2 , Jenkins v1.456 and Java6 u29

Any ideas would be greatly appreciated.

Reply via email to