Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move to previous DataBoundConstructor because of publish-over constraints
- Loading branch information
Showing
1 changed file
with
1 addition
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
81e80e9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've installed this fix but get the error "There's no @DataBoundConstructor on any constructor of class java.util.ArrayList..."
see my comment on https://wiki.jenkins.io/display/JENKINS/Publish+Over+SSH+Plugin for further information
81e80e9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You have to provide all of the arguments. User the snippet generator to show you
81e80e9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where can I find the code for Declarative Syntax? Or is only the Pipeline Syntax supported?
81e80e9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe it's the same, but I have never used declarative, so I don't know.
81e80e9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is no declarative syntax so I put it into script {} and it's working now. Thank you very much for your support!
81e80e9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For steps, the same syntax should work as far as I know. I don't know of any special requirements for plugins to add support for declarative syntax, so it should work for both declarative and scripted.
81e80e9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for clarifying. I've made a mistake.