frogbot icon indicating copy to clipboard operation
frogbot copied to clipboard

Receiving error: ./frogbot: No such file or directory

Open vbaranwal24 opened this issue 2 months ago • 1 comments

Hi Team,

I am trying to automate frogbot scan on my organization using azure pipeline when a PR is raised.

inputs: script: | getFrogbotScriptPath=$(if [ -z "$JF_RELEASES_REPO" ]; then echo "https://releases.jfrog.io"; else echo "${JF_URL}/artifactory/${JF_RELEASES_REPO}"; fi) curl -fLg "$getFrogbotScriptPath/artifactory/frogbot/v2/[RELEASE]/getFrogbot.sh" | sh ./frogbot cfpr

From the above script from frogbot setup (https://docs.jfrog-applications.jfrog.io/jfrog-applications/frogbot/setup-frogbot/setup-frogbot-using-azure-pipelines), my org was blocking to download getFrogbot.sh, so we have downloaded this file manually and kept it in project folder same root location where frogbot.yml is present and changed the above script to just like below:

    inputs:
      script: ./frogbot spr

Now when we run the pipeline, we are getting ./frogbot: No such file or directory

Not sure what is causing the issue. Can someone please help resolve this.

vbaranwal24 avatar Apr 23 '24 05:04 vbaranwal24