<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>gitlab调用sonar进行代码安全检查的CI/CD配置 &#8211; moneyslow.com</title>
	<atom:link href="https://moneyslow.com/tag/gitlab%e8%b0%83%e7%94%a8sonar%e8%bf%9b%e8%a1%8c%e4%bb%a3%e7%a0%81%e5%ae%89%e5%85%a8%e6%a3%80%e6%9f%a5%e7%9a%84ci-cd%e9%85%8d%e7%bd%ae/feed" rel="self" type="application/rss+xml" />
	<link>https://moneyslow.com</link>
	<description>making money with technology</description>
	<lastBuildDate>Fri, 26 Mar 2021 09:53:53 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.4</generator>
	<item>
		<title>gitlab调用sonar进行代码安全检查的CI/CD配置</title>
		<link>https://moneyslow.com/gitlab%e8%b0%83%e7%94%a8sonar%e8%bf%9b%e8%a1%8c%e4%bb%a3%e7%a0%81%e5%ae%89%e5%85%a8%e6%a3%80%e6%9f%a5%e7%9a%84ci-cd%e9%85%8d%e7%bd%ae.html</link>
		
		<dc:creator><![CDATA[moneyslow]]></dc:creator>
		<pubDate>Fri, 26 Mar 2021 09:50:48 +0000</pubDate>
				<category><![CDATA[newest]]></category>
		<category><![CDATA[gitlab调用sonar进行代码安全检查的CI/CD配置]]></category>
		<guid isPermaLink="false">https://moneyslow.com/?p=13020</guid>

					<description><![CDATA[sonar中建立token： http://8.8.8.8:9000/account/security/ 生成的串对应关系： SONAR_LOGIN 5164e9f1fde59212313123123123ee3cfc49212b0a4 SONAR_PROJECTKEY asfaffa-php-check gitlab设置CI/CD变量： gitlab项目中编写.gitlab-ci.yml 脚本： stages: - analysis sonar_code_analysis: stage: analysis image: emeraldsquad/sonar-scanner variables: SONAR_URL: http://8.8.8.8:9000 only: - master script: - sonar-scanner -Dsonar.host.url=$SONAR_URL -Dsonar.login=$SONAR_LOGIN -Dsonar.analysis.mode=preview -Dsonar.gitlab.project_id=$CI_PROJECT_PATH -Dsonar.gitlab.commit_sha=$CI_COMMIT_SHA -Dsonar.gitlab.ref_name=$CI_COMMIT_REF_NAME -Dsonar.projectKey=$SONAR_PROJECTKEY -Dsonar.sources=. -Dsonar.exclusions=vendor/**]]></description>
		
		
		
			</item>
	</channel>
</rss>
