<< Back to previous view

[QB-3373] Embedded Scripts - Commented lines are not excluded from initial parsing
Created: 16/Apr/19  Updated: 16/Apr/19

Status: Open
Project: QuickBuild
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: J. Mash Assigned To: Robin Shen
Resolution: Unresolved Votes: 0
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown


 Description   
Consider the following script example:

1: ${groovy:
2: //if (build.isBroken()) {
3: // println( "build is broken..." );
4: //}
5: println( "Test..." );
6: }

In this case, the script will fail to compile due to the unescaped bracket on line 4, but it's commented out and probably shouldn't be parsed at all.
Generated at Thu Apr 18 23:39:58 UTC 2024 using JIRA 189.