You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello @mdasberg can U add like a property to run or not run sonar, something like this:
function exec() {
var child = grunt.util.spawn({
cmd: 'sonar-runner',
args: getSonarArguments(data, options),
opts: {
stdio: 'inherit'
}
}, function (error, result, code) {
if (code !== 0) {
return grunt.log.error('The following error occured while trying to upload to sonar: ' + error);
} else {
grunt.log.writeln('Uploaded information to sonar.');
}
donePromise();
});
}
//Will skip sonar runner if we haven\'t local sonar or we run sonar like post build task on Jenkins
if (options.runSonar){
exec();
}
The text was updated successfully, but these errors were encountered:
Hello @mdasberg can U add like a property to run or not run sonar, something like this:
The text was updated successfully, but these errors were encountered: