Job failed: prepare environment: invalid content type for windows Executor using fleeting-plugin-aws
Hi, I am using fleeting-plugin-aws with windows executor.
Upon job assigned to a windows executor, it immediately hit errors to execute any jobs during preparing environment with an error below.
"ERROR: Job failed: prepare environment: invalid content type. Check https://docs.gitlab.com/runner/shells/index.html#shell-profile-loading for more information."
Did a bit of googling, looks like removing .bash_logout will resolve the issue for linux executor. For windows executor, no clue how to proceed. Wonder is it a bug or I miss out something? Appreciated for advice.
- gitlab-runner: 15.11.0
- Platform: Windows
- executor: instance
- Shell: powershell/pwsh
Edited by KC OOI