As build step QuickBuild should allow to put a bash/batch file content executed on node as a system script.
Currently you can select a script to execute as external file only.
Should be available to define inside QB script body as follow:
echo ${var.getValue("BUILD.NUMBER")} > build_number.log
cat build_number.log | grep ABC_ > build_major_number.log
and QB should execute it in environment as external script without need for physical file.
Description
As build step QuickBuild should allow to put a bash/batch file content executed on node as a system script.
Currently you can select a script to execute as external file only.
For example following script (test.sh):
echo $1 > build_number.log
cat build_number.log | grep ABC_ > build_major_number.log
Should be available to define inside QB script body as follow:
echo ${var.getValue("BUILD.NUMBER")} > build_number.log
cat build_number.log | grep ABC_ > build_major_number.log
and QB should execute it in environment as external script without need for physical file.