File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
src/test/java/org/jenkinsci/plugins/workflow/libs Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -282,7 +282,7 @@ public class SCMSourceRetrieverTest {
282282 }
283283
284284 @ Issue ("JENKINS-69731" )
285- @ Test public void checkDefaultVersion_BRANCH_NAME_MBP () throws Exception {
285+ @ Test public void checkDefaultVersion_MBP_BRANCH_NAME () throws Exception {
286286 // Create a MultiBranch Pipeline job instantiated from Git
287287 // and check behaviors with BRANCH_NAME="master",
288288 // BRANCH_NAME="feature", and BRANCH_NAME="bogus"
@@ -425,10 +425,11 @@ public class SCMSourceRetrieverTest {
425425 }
426426
427427 @ Issue ("JENKINS-69731" )
428- @ Test public void checkDefaultVersion_BRANCH_NAME_notAllowed () throws Exception {
428+ @ Test public void checkDefaultVersion_MBP_BRANCH_NAME_notAllowed () throws Exception {
429429 // Test that lc.setAllowBRANCH_NAME(false) causes
430- // @Library('libname@${BRANCH_NAME}') to always
431- // fail, while fixed branch names should work.
430+ // @Library('libname@${BRANCH_NAME}') to always fail
431+ // (not treated as a "version override" for funny
432+ // branch name that is literally "${BRANCH_NAME}").
432433
433434 sampleRepo .init ();
434435 sampleRepo .write ("vars/myecho.groovy" , "def call() {echo 'something special'}" );
You can’t perform that action at this time.
0 commit comments