Description of the issue
I’m having issues with running gradle wrapper on Ubuntu 22.04. I have a script step which runs just two commands, cd into project’s main folder and then gradle wrapper. When it’s used on Ubuntu 20.04 everything works, but when i change to Ubuntu 22.04 i get error
gradle: command not found
I know gradle is not preinstalled on this stack anymore, but i think gradle wrapper doesn’t require gradle to be installed? It should install required version. That’s what i’ve read on other forums, correct me if i’m wrong, maybe i misunderstood that.
I have gradle-wrapper.jar and gradle-wrapper.properties commited to my repository.
Environment:
Where did the issue happen?
Ubuntu 22.04
Script 1.2.1
Reproducibility
- Does a “Rebuild” help? (You can trigger a rebuild from the Build’s page, by clicking the “Rebuild” button in the top right corner of a finished build) : NO
- _Does a rebuild without caches help? : NO
- Does the issue happen sporadically, or every time? : Everytime
- Does upgrading the build Step to the latest version help? : NO
- When did the issue start? : After changing stack to Ubuntu 22.04