How to use this appendix
Read this preventatively when preparing a lab or when you want to understand common environmental surprises.
This appendix is preventative. Read it before troubleshooting a failure.
H.1 Jenkins running as a Windows service may see a different PATH
A command can work in your interactive PowerShell window and still fail in Jenkins with messages such as:
'dotnet' is not recognized...
or:
'git' is not recognized...
Why:
- Jenkins may run as a Windows service.
- Services can have a different environment from your signed-in desktop session.
- PATH changes made after Jenkins started may not be visible until the service restarts.
Check from Jenkins itself:
bat 'where git'
bat 'where dotnet'
bat 'git --version'
bat 'dotnet --info'
H.2 localhost Jenkins cannot receive a normal GitHub webhook
GitHub cannot send an Internet webhook to:
http://localhost:8080/
on your private PC.
For the first labs, use:
- manual Build Now, or
- SCM polling for learning.
Later, use a properly secured reachable Jenkins server or another deliberate connectivity solution.
H.3 Build success does not imply test success
This is intentional:
Restore PASS
Build PASS
Test FAIL
A compiler checks whether code can be compiled. Tests check expected behavior.
H.4 Static HTML has no required compile step
Do not invent a compile stage just to make the pipeline look like the C# pipeline.
A static-site pipeline can legitimately be:
Checkout → Validate → Test → Deploy
H.5 aws s3 sync --delete is destructive
Without --delete, S3 objects absent from the local source normally remain.
With --delete, destination objects missing from the source can be removed.
First lab recommendation:
aws s3 sync .\site "s3://<BUCKET-NAME>"
Only add:
--delete
after the destination is understood.
H.6 AWS CLI v1 is no longer the preferred baseline
AWS CLI v1 entered maintenance mode on July 15, 2026 and reaches end of support on July 15, 2027. See the AWS announcement. Use AWS CLI v2 for this guide unless a specific compatibility exercise says otherwise.
H.7 Hosted runner/agent images change over time
Values such as:
windows-latest
are moving labels, not permanent OS/version guarantees.
For reproducibility:
- record the actual hosted image used by a successful run;
- pin versions where the platform supports and the guide needs it;
- re-verify periodically.
H.8 GitHub Action major versions change
Actions such as checkout, setup-dotnet, and upload-artifact have versioned major releases.
Guide maintenance must periodically confirm:
- the major version is still supported;
- no breaking migration guidance applies;
- examples match current GitHub documentation.
H.9 Secret values should never be copied into troubleshooting output
When diagnosing AWS/GitHub/Jenkins authentication:
- show credential IDs or variable names;
- do not print secret values;
- redact tokens from screenshots and logs.
H.10 PowerShell 5.1 and PowerShell 7 are related but not identical
The command names:
powershell.exe
pwsh
refer to different PowerShell generations.
The guide should identify which one is being used in each verified lab and avoid assuming every script behaves identically on both.