Skip to content

Commit 6dfdbdf

Browse files
committed
Added not about ambiguous credentials in hg and git material
1 parent 9bab297 commit 6dfdbdf

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

README.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,14 @@ You are advised to utilize `username` and `encrypted_password` for passing in ma
553553
}
554554
```
555555

556-
Instead of `encrypted_password` you may specify `password` but `encrypted_password` makes more sense considering that the value is stored in SCM.
556+
- Instead of `encrypted_password` you may specify `password` but `encrypted_password` makes more sense considering that the value is stored in SCM.
557+
- Specifying credentials both in `attributes` and `url` will result in a validation error e.g.
558+
```log
559+
INVALID MERGED CONFIGURATION
560+
Number of errors: 1+
561+
1. Ambiguous credentials, must be provided either in URL or as attributes.;;
562+
- For Config Repo: https://your.config.repo.url at cbb047d78c239ab23b9565099e800c6fe4cc0anc
563+
```
557564

558565
## Svn
559566

@@ -611,7 +618,15 @@ You are advised to utilize `username` and `encrypted_password` for passing in ma
611618
"encrypted_password": "encrypted_value"
612619
}
613620
```
614-
Instead of `encrypted_password` you may specify `password` but `encrypted_password` makes more sense considering that the value is stored in SCM.
621+
622+
- Instead of `encrypted_password` you may specify `password` but `encrypted_password` makes more sense considering that the value is stored in SCM.
623+
- Specifying credentials both in `attributes` and `url` will result in a validation error e.g.
624+
```log
625+
INVALID MERGED CONFIGURATION
626+
Number of errors: 1+
627+
1. Ambiguous credentials, must be provided either in URL or as attributes.;;
628+
- For Config Repo: https://your.config.repo.url at cbb047d78c239ab23b9565099e800c6fe4cc0anc
629+
```
615630

616631
In addition to that, you can also leverage `branch` attribute to specify the branch for material
617632

0 commit comments

Comments
 (0)