ci/build.groovy
changeset 292 00d3840350c2
parent 222 80f098bd53ca
child 295 a04034567c92
equal deleted inserted replaced
291:02d1ffd76b27 292:00d3840350c2
    43         }
    43         }
    44     }
    44     }
    45 }
    45 }
    46 
    46 
    47 /*
    47 /*
    48  * Set the branch to build to make sure it's in sync
    48  * Set the branch to build to make sure it's in sync...
    49  */
    49  */
    50 steps.branch = branch()
    50 steps.branch = branch()
    51 
    51 
    52 /*
    52 /*
    53  * If we're building a 'default' branch, run "integration" pipeline. Otherwise,
    53  * ...and fire the pipeline
    54  * run normal "build" pipeline, assuming this build is just a test build for
       
    55  * some feature-in-progress. If different logic is needed, then make a branch
       
    56  * and modify this file
       
    57  */
    54  */
    58 if ( branch().equals("default") ) {
    55 steps.build()
    59     steps.integration()
       
    60 } else {
       
    61     steps.build()
       
    62 }