It looks like the pipeline is failing because there is a syntax error in one of your YAML environment configuration files (the error is: “While parsing a block mapping, did not find expected key.”)
This might mean the YAML parser found invalid formatting near line 57 of the file being loaded from /home/vsts/work/1/tools/resources/environments
This might be as simple as a missing colon, incorrect indentation, tabs instead of spaces, misplaced hyphen, or unclosed quote invalid list or mapping structure.
Check the YAML file associated with the branch “environment/revsit” and carefully inspect around line 57.
Also verify that all indentation uses spaces only, every key ends with a colon, list items use consistent hyphen formatting, quotes are properly closed, and there are no accidental extra characters
You can validate the YAML using VS Code with the YAML extension, Azure DevOps YAML validation, or an online YAML linter.
If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.
hth
Marcin