Skip to content

Commit

Permalink
Merge pull request #459 from jglick/deprecated-branch-properties
Browse files Browse the repository at this point in the history
Deprecating `BranchProperty`s which do not work with Pipeline
  • Loading branch information
jglick committed Jun 5, 2024
2 parents af810c5 + 87afcc4 commit a9188b5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@
import java.security.PrivilegedAction;

/**
* @author Stephen Connolly
* @deprecated Suppressed by {@code JobPropertyStep.HideSuperfluousBranchProperties} for Pipeline.
*/
@Deprecated
public class BuildRetentionBranchProperty extends BranchProperty {

private final BuildDiscarder buildDiscarder;
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/jenkins/branch/RateLimitBranchProperty.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@

/**
* A branch property that limits how often a specific branch can be built.
*
* @author Stephen Connolly
* @deprecated Suppressed by {@code JobPropertyStep.HideSuperfluousBranchProperties} for Pipeline.
*/
@Deprecated
@SuppressWarnings("unused") // instantiated by stapler
public class RateLimitBranchProperty extends BranchProperty {

Expand Down
4 changes: 2 additions & 2 deletions src/main/java/jenkins/branch/UntrustedBranchProperty.java
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@
* locations</li>
* </ul>
*
* @author Stephen Connolly
* @author Kohsuke Kawaguchi
* @deprecated Not used by Pipeline.
*/
@Deprecated
public class UntrustedBranchProperty extends BranchProperty {

private final Set<String> publisherWhitelist;
Expand Down

0 comments on commit a9188b5

Please sign in to comment.