Skip to content

Commit

Permalink
NONE Upgrade handle REFSPEC_TAGS as it doesn't use any data availale …
Browse files Browse the repository at this point in the history
…in the constructor (#443)
  • Loading branch information
atl-dyon authored Aug 2, 2024
1 parent 401d7e8 commit b0090d8
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.atlassian.bitbucket.jenkins.internal.scm;

import com.atlassian.bitbucket.jenkins.internal.annotations.UpgradeHandled;
import com.atlassian.bitbucket.jenkins.internal.client.BitbucketClientFactoryProvider;
import com.atlassian.bitbucket.jenkins.internal.client.exception.BitbucketClientException;
import com.atlassian.bitbucket.jenkins.internal.config.BitbucketPluginConfiguration;
Expand Down Expand Up @@ -71,6 +72,7 @@ public class BitbucketSCMSource extends SCMSource {

private static final Logger LOGGER = Logger.getLogger(BitbucketSCMSource.class.getName());
private static final String REFSPEC_DEFAULT = "+refs/heads/*:refs/remotes/@{remote}/*";
@UpgradeHandled(handledBy = "Uses the same remote variable as REFSPEC_DEFAULT", removeAnnotationInVersion = "4.1")
private static final String REFSPEC_TAGS = "+refs/tags/*:refs/remotes/@{remote}/*";

private String cloneUrl;
Expand Down

0 comments on commit b0090d8

Please sign in to comment.