Coder Social home page Coder Social logo

Comments (2)

eranturgeman avatar eranturgeman commented on July 22, 2024

Hello @MounikaBandaru8 and thank you for using Frogbot!
As it seems from the single error line you provided there is an issue with the schema of frogbot-config.yml or withthe file's location.
Can you please provide the frogbot-config.yml you use and its path from your root directory in your main/master branch?

from frogbot.

MounikaBandaru8 avatar MounikaBandaru8 commented on July 22, 2024

Hii thanks for the reply,
Actually i followed this documentation https://docs.jfrog-applications.jfrog.io/jfrog-applications/frogbot/setup-frogbot/setup-frogbot-using-jenkins
here they didnt mentioned in any step to create frogbot-config.yaml file.
This is the pipeline script in jenkins
// Run the job once a day
CRON_SETTINGS = '''0 0 * * *'''

pipeline {
agent{
node {
label 'API-PERFORMANCE-TEST'
}

}

triggers {
    cron(CRON_SETTINGS)
}

environment {

    // [Mandatory]
    // Username of the account associated with the Git access token
    JF_GIT_USERNAME = "Mounika"

    // [Mandatory]
    // Owner of the repository
    // BitbucketServer note: Private projects should start with the prefix: "~"
   // JF_GIT_OWNER = "SWFTA"
    JF_GIT_OWNER="SWFTA"
    

    // [Mandatory]
    // Name of the repository to scan
    JF_GIT_REPO = "functional-test"

    // [Mandatory]
    // Name of the git provider, one of the following: [bitbucketServer,github,gitlab,azureRepos]
    JF_GIT_PROVIDER = "bitbucketServer"

    // [Mandatory]
    // JFrog platform URL (This functionality requires version 3.29.0 or above of Xray)
    JF_URL =  credentials("JF_URL")
    // [Mandatory if JF_USER and JF_PASSWORD are not provided]
    // JFrog access token with 'read' permissions for Xray
    JF_ACCESS_TOKEN = credentials("JF_ACCESS_TOKEN")
    // [Mandatory]
    // GitHub enterprise server access token with the following permissions:
    // Read and Write access to code, pull requests, security events, and workflows
    JF_GIT_TOKEN =  credentials("JF_GIT_TOKEN")
    
    

}

stages {

    stage('Download Frogbot') {
        steps {
            script{
                      powershell "Set-ExecutionPolicy Bypass -Scope CurrentUser -Force; Invoke-WebRequest -Uri 'https://releases.jfrog.io/artifactory/frogbot/v2/[RELEASE]/frogbot-windows-amd64/frogbot.exe' -OutFile './frogbot.exe'"
                        bat 'dir'
            }
        }
    }

    stage('Scan Repository') {
steps {
    
     bat '.\\frogbot.exe scan-repository'
}

}

}

}
and this is the error i am encountering
[Error] Get "/rest/api/1.0/projects/SWFTA/repos/functional-test/raw/.frogbot/frogbot-config.yml?at=": unsupported protocol scheme ""

can you please check this and help me out

from frogbot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.