AGorr125347 (Community Member) asked a question.

I am attempting to integrate a SourceClear scan into an Azure DevOps build using a AzurePowerShell task. The task does execute but ultimately fails with this message:

No supported build system found. Please see our list of supported systems

More details follow. The task:

 

- task: AzurePowerShell@5

 displayName: 'SourceClear Scan'

 inputs:

  azureSubscription: '{subscription here}'

  ScriptType: InlineScript

  Inline: |

   $Env:SRCCLR_API_TOKEN="{token here}"

   

   Set-ExecutionPolicy AllSigned -Scope Process -Force

   

   iex ((New-Object System.Net.WebClient).DownloadString('https://download.srcclr.com/ci.ps1'))

   

   srcclr scan $(Build.SourcesDirectory) --debug

  azurePowerShellVersion: LatestVersion

 condition: succeededOrFailed()

 

To be honest I do not know much about the script other than it is used successfully in another build pipeline for a different source code repository

 

The project that fails is .NET Core 3.1

 

Any suggestions for what I need to modify to complete a successful scan?

What other information can I provide to assist with diagnosing this issue?

 


Topics (2)

No articles found
Loading

Ask the Community

Get answers, share a use case, discuss your favorite features, or get input from the community.