gradle-jenkins-jobdsl-plugin
gradle-jenkins-jobdsl-plugin copied to clipboard
Unable to run dslGenerateXML task in Windows
Hello,
I ran into an issue while running the following command on Windows 10:
gradlew clean dslGenerateXml
I'm running into following error: "CreateProcess error=206, The filename or extension is too long".
While this task is working fine in RHEL OS. I think it seems to be an issue with classpath and windows limit. I tried various ways to mitigate this (uber/pathing jar etc.,), but no success.
I'm using Gradle 5.4.1. Can you please help address this issue.
TIA.
One of our team members had the same issue and issue was related to wrong gradle version used. He used "gradlew task" instead of "./gradlew task", one takes gradle from project config, and one takes it from system environments. I don't know if this s a solution but worth to try
@stridertheranger : Did @vudzkostek's tip help you fixing this issue? Or is it still there?
I recently tried with the latest version of Gradle 5.6 and it seems that the issue still persists when invoked via windows. I believe the issue is related to executing generating dsl via "gradlew clean dslGenerateXml" command.