-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Receiving error: ./frogbot: No such file or directory #688
Comments
Hello @vbaranwal24, thank you for using Frogbot! If I understand correctly, it seems that your organization is blocking the download of getFrogbot.sh from https://releases.jfrog.io/. As a workaround, you manually downloaded the script into ./frogbot and attempted to execute it manually. Please let me know if I misunderstood. Regarding your solution, it's important to note that Frogbot is not intended to be used in the manner you described. Here are some suggestions that may help address your issue: Confirm the flow you were trying to run. You mentioned wanting to perform a scan upon PR, but provided the script for Scan-repository. Please ensure that you have configured the pipeline for the scan-pr flow, as the CI files may differ from each other. |
Hello @vbaranwal24 |
Sure. Close it.
From: Eran Turgeman ***@***.***>
Date: Thursday, May 30, 2024 at 6:16 PM
To: jfrog/frogbot ***@***.***>
Cc: Vishal Baranwal ***@***.***>, Mention ***@***.***>
Subject: Re: [jfrog/frogbot] Receiving error: ./frogbot: No such file or directory (Issue #688)
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
Hello @vbaranwal24<https://github.com/vbaranwal24>
Did my suggestion helped fixing your issue? Can I close this ticket?
—
Reply to this email directly, view it on GitHub<#688 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BFZODGS5OXZZIXMNECKD24TZE4NRVAVCNFSM6AAAAABGUCASYKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZZGQ4DAMJQHA>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
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:
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.
The text was updated successfully, but these errors were encountered: