whitesource / unified-agent-distribution

51 stars 48 forks source link

Version 21.6.2 wrongly interprets`gradle.preferredEnvironment` #14

Closed tkurylek closed 2 years ago

tkurylek commented 2 years ago

Hello Whitesource Team!

According to the documentation of Unified Agent Configuration when gradle.preferredEnvironment is set to wrapper the gradlew command will be used instead of gradle to execute gradle CLI. However, since 21.6.2 the library seems to accept only gradle.preferredEnvironment=gradlew for this purpose, ignoring gradle.preferredEnvironment=wrapper and introducing incompatibility between 21.6.2 and 21.6.1 versions.

Could you correct the documentation page or accept the old wrapper value in 21.6.2?

Thank you.

LenaKleyner commented 2 years ago

@tkurylek thanks for opening this.

We've just released a fix 21.6.2.2 addressing this. Please let us know if this indeed resolved this issue.

Thanks,

Lena

tkurylek commented 2 years ago

Hi @LenaKleyner I can confirm that the issue is resolved in this version. Thank you for looking at this so quickly!