Sergey Kulanov | 72f763e | 2016-09-29 17:08:44 +0300 | [diff] [blame] | 1 | // Default parameters |
| 2 | |
Igor Belikov | 4dc96cd | 2016-09-30 12:26:18 +0300 | [diff] [blame^] | 3 | targetDir = "./" |
Sergey Kulanov | 72f763e | 2016-09-29 17:08:44 +0300 | [diff] [blame] | 4 | port = "29418" |
| 5 | |
| 6 | // Usage example |
| 7 | node { |
| 8 | gitSSHCheckout { |
| 9 | credentialsId = "mcp-ci-gerrit" |
| 10 | branch = "mcp-0.1" |
| 11 | host = "ci.mcp-ci.local" |
| 12 | project = "projectcalico/calico-containers" |
| 13 | } |
| 14 | } |
| 15 | |
| 16 | // or |
| 17 | |
| 18 | node { |
| 19 | gitSSHCheckout { |
| 20 | credentialsId = "mcp-ci-gerrit" |
| 21 | branch = "mcp-0.1" |
| 22 | host = "ci.mcp-ci.local" |
| 23 | project = "projectcalico/calico-containers" |
Igor Belikov | 4dc96cd | 2016-09-30 12:26:18 +0300 | [diff] [blame^] | 24 | targetDir = "some_directory" |
Sergey Kulanov | 72f763e | 2016-09-29 17:08:44 +0300 | [diff] [blame] | 25 | } |
| 26 | } |
| 27 | |