I am trying to build a simple android project and publish artifact to jfrog. I am unable to publish using Jenkins. When i try with Windows cmd, it gets published. Please advise. I get below error in Jenkins
FAILURE: Build failed with an exception.
\Jenkins\workspace\artifactory\androidlogin\loginTemplate\platforms\android\CordovaLib\cordova.gradle' line: 117
What went wrong: A problem occurred evaluating root project 'android'.
Unable to determine Android SDK directory.