Skip to content

Fixed various issue preventing job configuration from being saved.#2

Open
MadsNielsen wants to merge 1 commit intobicschneider:pretestedAsGitPluginExt_BuildWrapperStoreProblemfrom
MadsNielsen:pretestedAsGitPluginExt_BuildWrapperStoreProblem
Open

Fixed various issue preventing job configuration from being saved.#2
MadsNielsen wants to merge 1 commit intobicschneider:pretestedAsGitPluginExt_BuildWrapperStoreProblemfrom
MadsNielsen:pretestedAsGitPluginExt_BuildWrapperStoreProblem

Conversation

@MadsNielsen
Copy link
Collaborator

  1. You cannot store 'state' information about the current build in your build wrapper. So i've removed the 'StatusMessage' you've been using to set the build description.

  2. I've fixed the loading, it was all down to wrong variable names. Remember, the construtor parameter name MUST match the value in the jelly form. This actually meant your values were saved correctly, but failed to load on refresh, since that happens through databinding.

  3. Various cleanups...

That should be good.

1. You cannot store 'state' information about the current build in your build wrapper. So i've removed the 'StatusMessage' you've been using to set the build description.

2. I've fixed the loading, it was all down to wrong variable names. Remember, the construtor parameter name MUST match the value in the jelly form. This actually meant your values were saved correctly, but failed to load on refresh, since that happens through databinding.

3. Various cleanups...

That should be good.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments