[JIRA] (JENKINS-58435) Latest update fails with No Artifactory server configured for null; Duplicate upload server in config

0 views
Skip to first unread message

nadigarsn@gmail.com (JIRA)

unread,
Jul 11, 2019, 1:04:02 AM7/11/19
to jenkinsc...@googlegroups.com
nag bhushan created an issue
 
Jenkins / Bug JENKINS-58435
Latest update fails with No Artifactory server configured for null; Duplicate upload server in config
Issue Type: Bug Bug
Assignee: Eyal Ben Moshe
Attachments: cred.JPG, job-config.JPG, old-working-config.JPG
Components: artifactory-plugin
Created: 2019-07-11 05:03
Environment: Jenkins ver: 2.184
Artifactory plugin version: 3.3.2; All other dependent plugin versions are latest.
On Ubuntu 16.04.6 LTS xenial
Connecting to latest jfrog artifactory.
Labels: artifactory-plugin artifactory-plugin_development
Priority: Major Major
Reporter: nag bhushan

I updated my jenkins to latest (2.184) and installed the artifactory plugin to try out the upload of built binaries from a fresh project.

Getting these errors in my job console log: 
Jenkins Artifactory Plugin version: 3.3.2*09:52:17* No Artifactory server configured for null. Please check your configuration.09:52:17 FATAL: No Artifactory server configured for null. Please check your configuration.09:52:17 java.io.IOException: No Artifactory server configured for null. Please check your configuration.09:52:17 at org.jfrog.hudson.util.RepositoriesUtils.validateServerConfig(RepositoriesUtils.java:191)09:52:17 at org.jfrog.hudson.generic.ArtifactoryGenericConfigurator.setUp(ArtifactoryGenericConfigurator.java:291)09:52:17 at hudson.model.Build$BuildExecution.doRun(Build.java:157)09:52:17 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)09:52:17 at hudson.model.Run.execute(Run.java:1818)09:52:17 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)09:52:17 at hudson.model.ResourceController.execute(ResourceController.java:97)09:52:17 at hudson.model.Executor.run(Executor.java:429)

Job config lists multiple selections even though I configured only one server.
Please see attached image for details.

------------------------------
This is what I've configured/investigated to help your debugging:

A) Artifactory server is configured properly in Jenkins->Configuration (as seen in the attached image). Ensured that "Test connection" it returns a valid value: "Found Artifactory 6.10.2
"
B) Using a simple Generic-Artifactory Integration selection with file spec.

C) Repo list through curl on server is fine:
Curl (curl -u<user> https://..../artifactory/api/repositories?type=local) returns valid repo list.

D) A different older instance of jenkins with version 2.164.1 shows a different UI in config (see attached image - old-working-config.jpg) and is working fine.

E) The config on current jenkins server worked fine a few days back and uploaded my files successfully. Problems started since jenkins upgrade and reinstall of plugin. I downgraded the war and plugin and checked but still didn't help.

F) Did a search for any existing problems but didn't find. This error has been reported earlier but seems to be an old closed issue, possibly occurring again.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

mocanu.catalin@gmail.com (JIRA)

unread,
Jul 14, 2019, 6:35:02 AM7/14/19
to jenkinsc...@googlegroups.com

mocanu.catalin@gmail.com (JIRA)

unread,
Jul 14, 2019, 6:38:02 AM7/14/19
to jenkinsc...@googlegroups.com
Catalin Mocanu edited a comment on Bug JENKINS-58435
Also I can confirm the same problem tried with Jenkins artifactory plugin versions: 3.3. 2 , 3 . 176 3 .1 , 3 . 3.0, 3.2.4 and I receive same error.

  Can this problem be fixed asap?

eyalb@jfrog.com (JIRA)

unread,
Jul 15, 2019, 3:57:03 AM7/15/19
to jenkinsc...@googlegroups.com

nadigarsn@gmail.com (JIRA)

unread,
Jul 22, 2019, 4:19:02 AM7/22/19
to jenkinsc...@googlegroups.com

Downgrading Promoted Builds Plugin to version 3.2 works for me, thanks for the workaround!

tapio.reijonen@vaisala.com (JIRA)

unread,
Jan 22, 2020, 12:15:03 AM1/22/20
to jenkinsc...@googlegroups.com

We also find out same problem.

This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages