Class ManuallyEnteredBackrefSource

All Implemented Interfaces:
ExtensionPoint, Describable<GitHubStatusBackrefSource>

public class ManuallyEnteredBackrefSource extends GitHubStatusBackrefSource
Allows to manually enter backref, with env/token expansion.
Since:
1.21.2
Author:
pupssman (Kalinin Ivan)
  • Constructor Details

    • ManuallyEnteredBackrefSource

      @DataBoundConstructor public ManuallyEnteredBackrefSource(String backref)
  • Method Details

    • getBackref

      public String getBackref()
    • get

      public String get(Run<?,?> run, TaskListener listener)
      Just returns what user entered. Expands env vars and token macro
      Specified by:
      get in class GitHubStatusBackrefSource
      Parameters:
      run - actual run
      listener - build listener
      Returns:
      URL that points to the status source, i.e. test result page