Class PreBuildMergeOptions

java.lang.Object
hudson.plugins.git.opt.PreBuildMergeOptions
All Implemented Interfaces:
Serializable

@ExportedBean(defaultVisibility=999) public class PreBuildMergeOptions extends Object implements Serializable
Git SCM can optionally perform a merge with another branch (possibly another repository.) This object specifies that configuration.
See Also:
  • Field Details

    • mergeRemote

      public org.eclipse.jgit.transport.RemoteConfig mergeRemote
      Remote repository that contains the ref.
    • mergeTarget

      public String mergeTarget
      Remote ref to merge.
    • mergeStrategy

      public String mergeStrategy
      Merge strategy.
    • fastForwardMode

      public org.jenkinsci.plugins.gitclient.MergeCommand.GitPluginFastForwardMode fastForwardMode
  • Constructor Details

    • PreBuildMergeOptions

      public PreBuildMergeOptions()
  • Method Details

    • getMergeRemote

      public org.eclipse.jgit.transport.RemoteConfig getMergeRemote()
    • setMergeRemote

      public void setMergeRemote(org.eclipse.jgit.transport.RemoteConfig mergeRemote)
    • getMergeTarget

      @Exported public String getMergeTarget()
    • setMergeTarget

      public void setMergeTarget(String mergeTarget)
    • getMergeStrategy

      @Exported public org.jenkinsci.plugins.gitclient.MergeCommand.Strategy getMergeStrategy()
    • setMergeStrategy

      public void setMergeStrategy(org.jenkinsci.plugins.gitclient.MergeCommand.Strategy mergeStrategy)
    • getFastForwardMode

      @Exported public org.jenkinsci.plugins.gitclient.MergeCommand.GitPluginFastForwardMode getFastForwardMode()
    • setFastForwardMode

      public void setFastForwardMode(org.jenkinsci.plugins.gitclient.MergeCommand.GitPluginFastForwardMode fastForwardMode)
    • getRemoteBranchName

      @Exported public String getRemoteBranchName()
    • doMerge

      public boolean doMerge()