2020
11-25
11-25
通过pipeline配置sonar自动化实现过程解析
1.sonar配置webhooks,2.url填写jenkins的地址:http://jenkinsurl/sonarqube-webhook/3.前提:jenkins配置好sonar的scanner服务地址node{stage('gitcheckout'){echo'Thisisagitcheckoutstep'checkoutpoll:false,scm:[$class:'GitSCM',branches:[[name:'*/master']],doGenerateSubmoduleConfigurations:false,extensions:[],submoduleCfg:[],userRemoteConfigs:[[credentialsId:'git-',...
继续阅读 >