Igor Belikov | 9021bbe | 2016-09-28 19:22:20 +0300 | [diff] [blame] | 1 | // Usage example |
| 2 | node { |
| 3 | gerritPatchsetCheckout{ |
| 4 | credentialsId = "credentials-id-string" |
| 5 | } |
| 6 | } |
Sergey Kulanov | 6a0686a | 2016-09-30 14:53:18 +0300 | [diff] [blame] | 7 | |
| 8 | // Usage example with merging to checkouted branch |
| 9 | node { |
| 10 | gerritPatchsetCheckout{ |
| 11 | credentialsId = "credentials-id-string" |
| 12 | withMerge = true |
| 13 | } |
| 14 | } |
| 15 | |
| 16 | // wipe our repository and force clone |
| 17 | node { |
| 18 | gerritPatchsetCheckout{ |
| 19 | credentialsId = "credentials-id-string" |
| 20 | withWipeOut = true |
| 21 | } |
| 22 | } |