Skip to content

Commit

Permalink
[FIXED JENKINS-20511] - Suppress the targetType loading issue
Browse files Browse the repository at this point in the history
The change creates a stub field, which allows to ignore changes

Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
  • Loading branch information
oleg-nenashev committed Apr 23, 2014
1 parent 3a1b0d9 commit 52f833d
Showing 1 changed file with 8 additions and 0 deletions.
Expand Up @@ -31,6 +31,14 @@ public class JobConfigBadgeAction implements BuildBadgeAction, RunAction2 {
* We need the build in order to get the project name.
*/
private transient AbstractBuild<?, ?> build;

/**
* A transient field, which allows to workaround the JENKINS-20511 issue
* (missing targetType field).
* @deprecated This field is not required in the config-history logic
* @see https://issues.jenkins-ci.org/browse/JENKINS-20511
*/
private transient String targetType;

/**
* Creates a new JobConfigBadgeAction.
Expand Down

0 comments on commit 52f833d

Please sign in to comment.