
vsankar821763 (Community Member) asked a question.
I am trying to create a pull request .. Appreciate if you can say me what configuration are needed for me to create a pull request
below is the samplescript which i tried with
node(){
checkout scm
def stdout = powershell(returnStdout: true, script: '''
$env:SRCCLR_API_TOKEN="xxxxxxxxxxxxxxxxxvh6zGsWaQaFRxWwwqvA"
$env:SRCCLR_SCM_TYPE="GITHUBENTERPRISE"
$env:SRCCLR_SCM_TOKEN="xxxxxxxxxxxxxxxxxxxxxxxxx"
$env:SRCCLR_SCM_URL="https://github.domain.net
iex ((New-Object System.Net.WebClient).DownloadString('https://download.srcclr.com/ci.ps1'));
srcclr scan --debug --json="vulnerablity.json" |Out-File -FilePath "vulnerability.json"
''')
.png)
tried with linux machine also , same issue
my srcclr.yml file
pr_on: Low
no_breakingg_updates: false
ignore_close_prs: true
gradle_location: ./gradlew
sh -s scan . --debug --loud --allow-dirty --pull-request
Veracode SCA scan completed but there was an error generating pull requests: Error pushing new branch to remote. (Return code: 128)
same error reported for gitLab too . Is the feature working for any one
https://community.veracode.com/s/question/0D53n00007ryGU5CAM/agent-sca-pull-requests-in-gitlab