I'm working with azure build pipeline to setup middleware application continues build.
I configured self hosted agent inside my ubuntu box and installed groovy using SDK mam.
Below are the as steps configured while installing groovy.
curl -s get.sdkman.io | bash
source "root/.sdkman/bin/sdkman-init.sh"
sdk list groovy
sdk install groovy 2.5.8
groovy --version
Inside the ubuntu vm, when I am executing i can able to list groovy version.
But same thing when I am using same command using Azure pipeline I'm getting error like permission denied, with groovy command not found.
Can you you some one assist me how to make it work groovy inside the azure pipeline task.