| << Back to previous view |
[QB-793] direct bash/batch file content inside QuickBuild script body
|
|
| Status: | Closed |
| Project: | QuickBuild |
| Component/s: | None |
| Affects Version/s: | 3.1.15 |
| Fix Version/s: | 5.1.16 |
| Type: | Improvement | Priority: | Major |
| Reporter: | Rafal Krzysztoforski | Assigned To: | Robin Shen |
| Resolution: | Fixed | Votes: | 2 |
| Remaining Estimate: | Unknown | Time Spent: | Unknown |
| Original Estimate: | Unknown | ||
| Environment: | any | ||
| 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. |