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 {
282
282
}
283
283
284
284
@ Issue ("JENKINS-69731" )
285
- @ Test public void checkDefaultVersion_BRANCH_NAME_MBP () throws Exception {
285
+ @ Test public void checkDefaultVersion_MBP_BRANCH_NAME () throws Exception {
286
286
// Create a MultiBranch Pipeline job instantiated from Git
287
287
// and check behaviors with BRANCH_NAME="master",
288
288
// BRANCH_NAME="feature", and BRANCH_NAME="bogus"
@@ -425,10 +425,11 @@ public class SCMSourceRetrieverTest {
425
425
}
426
426
427
427
@ Issue ("JENKINS-69731" )
428
- @ Test public void checkDefaultVersion_BRANCH_NAME_notAllowed () throws Exception {
428
+ @ Test public void checkDefaultVersion_MBP_BRANCH_NAME_notAllowed () throws Exception {
429
429
// 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}").
432
433
433
434
sampleRepo .init ();
434
435
sampleRepo .write ("vars/myecho.groovy" , "def call() {echo 'something special'}" );
You can’t perform that action at this time.
0 commit comments