equal
deleted
inserted
replaced
3 */ |
3 */ |
4 |
4 |
5 def pipeline; |
5 def pipeline; |
6 stage ( "Load Pipeline") { |
6 stage ( "Load Pipeline") { |
7 node { |
7 node { |
8 checkout scm |
8 /* |
9 pipeline = load "pipeline.groovy" |
9 * Do not use default workspace here as checkout |
|
10 * would erase all contents. Use a dedicated |
|
11 * workspace instead |
|
12 */ |
|
13 ws ("workspace/${env.JOB_NAME}@loadpipeline") { |
|
14 checkout scm |
|
15 pipeline = load "pipeline.groovy" |
|
16 } |
10 } |
17 } |
11 } |
18 } |
12 |
19 |
13 pipeline.build() |
20 pipeline.build() |
14 pipeline.test() |
21 pipeline.test() |