Skip to content

Commit e246f75

Browse files
SameeraPriyathamTadikondaMarkLogic Builder
authored andcommitted
DHFPROD-4255: Wrapping an agent
1 parent ed4d1ee commit e246f75

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Jenkinsfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -440,10 +440,12 @@ pipeline{
440440
stage('Linux Core Parallel Execution'){
441441
when {
442442
expression{
443+
node('dhmaster'){
443444
props = readProperties file:'data-hub/pipeline.properties';
444445
println(props['ExecutionBranch'])
445446
return (env.BRANCH_NAME==props['ExecutionBranch'])
446447
}
448+
}
447449
}
448450
parallel{
449451
stage('rh7_cluster_10.0-Nightly'){
@@ -535,10 +537,12 @@ pipeline{
535537
stage('example projects parallel'){
536538
when {
537539
expression{
540+
node('dhmaster'){
538541
props = readProperties file:'data-hub/pipeline.properties';
539542
println(props['ExecutionBranch'])
540543
return (env.BRANCH_NAME==props['ExecutionBranch'])
541544
}
545+
}
542546
}
543547
parallel{
544548
stage('dh5-example'){
@@ -696,9 +700,11 @@ pipeline{
696700
stage('quick start linux parallel'){
697701
when {
698702
expression{
703+
node('dhmaster'){
699704
props = readProperties file:'data-hub/pipeline.properties';
700705
println(props['ExecutionBranch'])
701706
return (env.BRANCH_NAME==props['ExecutionBranch'])
707+
}
702708
}
703709
}
704710
parallel{
@@ -775,9 +781,11 @@ pipeline{
775781
stage('Windows Core Parallel'){
776782
when {
777783
expression{
784+
node('dhmaster'){
778785
props = readProperties file:'data-hub/pipeline.properties';
779786
println(props['ExecutionBranch'])
780787
return (env.BRANCH_NAME==props['ExecutionBranch'])
788+
}
781789
}
782790
}
783791
parallel{

0 commit comments

Comments
 (0)