Could be useful to simple test new modules functional, debugging or easy way to kickstart with the MPL.
// Defining virtual module
MPLVirtualModule('Build') {
// Closure with all the features of usual module
echo "Hihi, I'm the virtual module"
MPLModule('Build', CFG) // Executing upper level Build module
}
pipeline {
...
stages {
stage( 'Build' ) {
MPLModule() // will execute virtual module first
}
...
}
}
Could be useful to simple test new modules functional, debugging or easy way to kickstart with the MPL.