| << Back to previous view |
[QB-3373] Embedded Scripts - Commented lines are not excluded from initial parsing
|
|
| 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. |