New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[JENKINS-49023] Cannot upload file using cifs-plugin #77
Comments
Did you create a share configuration in the global config? |
Yes, it is regression bug. It worked before upgrade to 2.102.
Anyway, where is storage of share configuration from the global config? I mean where is file that stores global config?
|
I have found workaround, the Job's config contained empty name (which is caused by the bug in the configuration - no shares are available to select), so I updated the config with correct name on filesystem and reload config of jobs. Then it works. |
Jiri Meluzin Could you screen shot the workaround you did? I am running into the same issue. Where did you update the config with the filesystem etc? Thank you in advance. |
Are there any issues in the javascript console? |
What version of Jenkins were you on previously? |
Thanks for responding, Alex Earl I am using Jenkins ver. 2.89.3, which is recently updated, and no see issue in the javascript console. I am running into the same issue Jiri Meluzin is getting. I tried to manually editing the job's config.xml file element by manual placing the CIFS name in, but the field is still blank when I try running the job. I dont know if i have to restart my service. The error I am getting is: ERROR: Failed to find configuration named [] check the global configuration |
Can you post your global config xml and specific job config.xml? Please scrub it of anything that someone on the internet should not see. |
Andre S. - config.xml must be edited manually and then the configuration of the job must not be edited via Jenkins GUI. After you updated the config.xml you must reload all jobs configs from filesystem via Jenkins GUI https://i.stack.imgur.com/TqKv7.png Afterwards the job should be able to upload file. |
Jiri Meluzin Thank you, I will try your workaround, hopefully within a few days Alex Earl Whenever I get a chance I will upload the necessary documents/screenshot to help. But I think the initial screenshots that Jiri Meluzin uploaded has the same exact settings as I have. Only difference is that the job name and config name are different, but still the CIFS issue where I cannot get the configuration job name to load is happening. |
Andre S. The screenshots aren't very helpful sadly, I am looking for the config.xml FILES which will show me much more information. |
Here is the problematic part from config.xml from given job: false eai\repo\ear\change ${BRANCH}/*.ear,${BRANCH}/*.xml,${BRANCH}/*.csv false false false false false [, ]+ false false And the problem is caused by the empty tag . Workaround is to update content of this element with correct value from jenkins.plugins.publish_over_cifs.CifsPublisherPlugin.xml - from element /jenkins.plugins.publish_overcifs.CifsPublisherPlugin-Descriptor/hostConfigurations/jenkins.plugins.publish_over_cifs.CifsHostConfiguration/name . |
I found that when configuring a Post Build Action the list of shares does display properly. Hopefully, this info may help someone in tracking down the problem. |
Not sure which issue to post in because I see there are several on this subject. I am having the same issue as those above. I did notice I am getting an error in the JS console |
Here are my global, project and plugin configs. Cleansed of course. If you need any more info please let me know |
I believe I have a fix for this, I need to test out some stuff and make sure. |
Matthew Klepeis Can you try the HPI file from https://ci.jenkins.io/job/Plugins/job/publish-over-cifs-plugin/job/master/? |
Fixed in 0.10 |
[Duplicates: JENKINS-48551 |
[Originally related to: JENKINS-49211] |
Update to Jenkins 2.102 caused problem with cifs-plugin.
The error is:
ERROR: Failed to find configuration named [] check the global configuration
When I open settings of a job the configuration looks empty and I cannot select share - the select is empty, field label also missing:
Originally reported by jiri_meluzin, imported from: Cannot upload file using cifs-plugin
The text was updated successfully, but these errors were encountered: