|
(→AHPSCRIPTS-6)
|
(→Perforce: Read File From Depot Without Syncing and Parse Using Regex)
|
| Line 105: | |||
| stampContext.put("Revision", "" + value);</pre> | stampContext.put("Revision", "" + value);</pre> | ||
| + | = Get Latest Published Change ID = | ||
| + | * '''ChangeSetHelper''' is only available in 3.6+ | ||
| + | ==== AHPSCRIPTS-82 ==== | ||
| + | <pre>${bsh:changes=ChangeSetHelper.getChangeSetArray(); if (changes != null && changes.length > 0) { return changes[0].getChangeId(); \} else { return "no revision"; \}}</pre> | ||