Closed jira-importer closed 6 years ago
I just took over maintaining the publish over plugins recently and reassigned the issues to myself. I am working through them as I can.
Same issue on Jenkins 2.107.1 with Publish Over CIFS 0.9
Environment:
Scenario:
there already exists a Jenkins job which makes use of the publish-over-cifs plugin. A new job needs to be created by copying the existing job. The only parameter to change is the name of the CIFS-share to which an artifact needs to be copied.
Result:
the above error appears
Unsuccessfull workaround:
it was not possible to change the XML-file of the newly created Jenkins job (which contained the target CIFS-directory of the original Jenkins job).
Successfull workaround:
create the Jenkins job from scratch.
I'll try and roll out a fixed version for this soon. I'll need to cherry pick some other edits so I don't break things completely.
Code changed in jenkins
User: Alex Earl
Path:
src/main/java/jenkins/plugins/publish_over/ParamPublish.java
http://jenkins-ci.org/commit/publish-over-plugin/ce68dcdfb51a20d2ffc98ffa81adb5506730e317
Log:
Fix JENKINS-49553
Add @DataBoundConstructor
This is fixed with publish-over-0.22 released a few days ago.
With jenkins version 2.106 and cifs publisher version 0.6, I can no longer configure parametrized publish. I always get an error
as soon as I enable the checkbox.
It also happens when I downgrade to cifs publisher 0.3.
I can not exactly tell from which jenkins version this occurs - I had the build jobs configured with parametrized publish for some months without any change, but since upgrading from 2.96 to 2.102 three weeks ago, the publish step was silently removed from all my jobs (I just noticed today).
Originally reported by mcnetic, imported from: Parametrized publishing can no longer be configured