Add two non-mandatory options to gerritPatchsetCheckout

In some cases we need to be able to wipe before checkout
and merge checkouted code before starting build. This
patch introduces such changes.

Merge feature is used together with pip install from git
repo, since everything should be merged in branch before
running:
  pip git+https://path_to_repo@branch

example:
  // Usage example with merging to checkouted branch
  node {
    gerritPatchsetCheckout{
      credentialsId = "credentials-id-string"
      withMerge = true
    }
  }

Change-Id: Ic35725db554c4e5d9e70c338999cf14eb29c1559
2 files changed
tree: 6c58bffa6a76da0fa2cb695af7fb40d2fbf9cc6a
  1. src/
  2. vars/
  3. .gitreview