Process Flow - WithCredentials block usage
Start Pipeline
Enter withCredentials block
Credentials injected as env vars
Use credentials inside block
Exit withCredentials block
Credentials removed from env
Continue pipeline
The pipeline starts, enters the withCredentials block where credentials are injected as environment variables, uses them securely inside the block, then removes them after exiting the block.