#Dagger module Sonarcloud and veracode
1 messages · Page 1 of 1 (latest)
I've got some SDK code that runs Sonar, so maybe I can help. What issue are you facing?
When I use the module that I see in Daggerverse I can't do it successfully.
Do you have an error message?
✔ connect 0.5s
✔ loading module 13.7s
✘ parsing command line arguments 0.0s
! required flag(s) "source", "token" not set
Full trace at https://dagger.cloud/jmontoyah/traces/4ec5afc83e467c8eeeac4afa91c2d257
Error: required flag(s) "source", "token" not set
Run 'dagger call sonar --help' for usage.
Do you have a token available to set?
In our setup, we have an ENV var SONAR_TOKEN in our CI we can use
With modules, there are a couple of ways to pass secrets
https://docs.dagger.io/features/secrets/