Automatic CD blocked by linux agents only running powershell.exe
in build goals of pom.xml
#38
Labels
bug
Something isn't working
Reproduction steps
pom.xml
run a powershell scripte.g:
Our use case: https://github.com/jenkinsci/uipath-automation-package-plugin/blob/8b71aa4c7815988f3cc6ab9b6a6207c8d4363d49/pom.xml#L123-L129
Expected Results
Expected release to be executed
Actual Results
The release failed cause the agent did not have
powershell.exe
Example: https://github.com/jenkinsci/uipath-automation-package-plugin/actions/runs/11416796536/job/31768407458
Anything else?
In the
pom.xml
we run a powershell script in the build goals, but the agent building plugin for the release in the github workflow is a linux agent thus it won't be capable of building the plugin.github-reusable-workflows/.github/workflows/maven-cd.yml
Line 75 in 72bf2ab
Another thing is that this is not happening in the Jenkins pipelines as they are building with a windows agent (e.g: https://ci.jenkins.io/job/Plugins/job/uipath-automation-package-plugin/job/develop/10/)
We have this release blocker issue, could you please provide assistance or suggest a solution on how we can solve it?
The text was updated successfully, but these errors were encountered: