On 03/15/2012 11:36 AM, mike wrote:
Hi,

I am developing a plugin for Jenkins.

In the Job -->  Configure I have a post-build action that I can enable
which shows the input fields.

1. How can I store the values that the user inputs?
2. How can I reload the last values entered?
3. How can I access these values in my post build processing
(parsing)?

br,

//mike

These values will be stored automatically when you create a field for each of the attributes in your class. There needs to be a getter for each of these values. The value from the form will be provided as an argument in the constructor.

Here is an example:
https://github.com/jenkinsci/warnings-plugin/blob/master/src/main/java/hudson/plugins/warnings/WarningsPublisher.java

Ulli

Reply via email to