@@ -881,11 +881,11 @@ protected static Throwable reportSuspectedMethodTooLarge(Throwable x) {
881881 } else if (overflowedClassName .contains ("/" )) {
882882 // quote the step/class name pretty:
883883 // FAILED to parse 'stepName' due to...
884- overflowedClassNameReport = "presumed JSL class '" + overflowedClassName + "'" ;
884+ overflowedClassNameReport = "presumed PGL ( JSL) class '" + overflowedClassName + "'" ;
885885 } else {
886886 // quote the step/class name pretty:
887887 // FAILED to parse 'stepName' due to...
888- overflowedClassNameReport = "presumed JSL step '" + overflowedClassName + "'" ;
888+ overflowedClassNameReport = "presumed PGL ( JSL) step '" + overflowedClassName + "'" ;
889889 }
890890
891891 // Short message suffices, not much that a pipeline developer
@@ -901,15 +901,16 @@ protected static Throwable reportSuspectedMethodTooLarge(Throwable x) {
901901 actionableMsg .append ("; please refactor to simplify code structure" );
902902 if (overflowedClassNameReport .contains ("WorkflowScript" )
903903 || CLASSNAME_SCRIPTNUM_PATTERN .matcher (overflowedClassName ).find ()) {
904- actionableMsg .append (" and/or move logic to a Jenkins Shared Library" );
904+ actionableMsg .append (" and/or move logic to a Pipeline Groovy library"
905+ + "(aka Jenkins Shared Library in some documentation)" );
905906 }
906907 if (xMsgStart .length () > 0 ) {
907908 actionableMsg .append (":\n -----\n " ).append (xMsgStart .toString ());
908909 }
909910 if (overflowedClassNameBreadcrumbs .length () > 0 ) {
910911 actionableMsg
911- .append (
912- " \n Groovy code trail (mentions of pipeline WorkflowScript and/or your JSL in larger stack trace):\n " )
912+ .append (" \n Groovy code trail (mentions of pipeline WorkflowScript "
913+ + " and/or your PGL ( JSL) in larger stack trace):\n " )
913914 .append (overflowedClassNameBreadcrumbs );
914915 }
915916 if (xMsgStart .length () > 0 ) {
0 commit comments