return (
<li>
{translate('onboarding.tutorial.with.azure_pipelines.BranchAnalysis.java_installer.title')}
- <ul className="list-styled">
+ <ul className="list-styled list-alpha">
<li>
{renderSentenceWithFieldAndValue({
field: translate(
highlightPrefixKeys="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare"
highlightKeys={['pipeline']}
/>
+ <ul className="list-styled list-alpha spacer-top">
+ <li>
+ <SentenceWithHighlights
+ translationKey="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.build_wrapper.ccpp.script"
+ highlightPrefixKeys={codeSnippetDownload[os].highlightScriptKey}
+ highlightKeys={['task', 'inline']}
+ />
+ <CodeSnippet snippet={codeSnippetDownload[os].script} />
+ </li>
+ </ul>
</li>
- <ul className="list-styled">
- <li>
- <SentenceWithHighlights
- translationKey="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.build_wrapper.ccpp.script"
- highlightPrefixKeys={codeSnippetDownload[os].highlightScriptKey}
- highlightKeys={['task', 'inline']}
- />
- <CodeSnippet snippet={codeSnippetDownload[os].script} />
- </li>
- </ul>
+
<li>
<SentenceWithHighlights
translationKey="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.ccpp"
highlightPrefixKeys="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare"
highlightKeys={['task', 'before']}
/>
+ <PrepareAnalysisCommand
+ buildTool={BuildTools.CFamily}
+ kind={PrepareType.StandAlone}
+ projectKey={projectKey}
+ />
</li>
- <PrepareAnalysisCommand
- buildTool={BuildTools.CFamily}
- kind={PrepareType.StandAlone}
- projectKey={projectKey}
- />
+
<li>
<SentenceWithHighlights
translationKey="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.build.ccpp"
highlightKeys={['task']}
/>
+ <ul className="list-styled list-alpha spacer-top">
+ <li>
+ <SentenceWithHighlights
+ translationKey="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.build_script.ccpp"
+ highlightKeys={['build_wrapper']}
+ />
+ <CodeSnippet snippet={codeSnippetDownload[os].scriptBuild} />
+ <CompilationInfo />
+ </li>
+ </ul>
</li>
- <ul className="list-styled">
- <li>
- <SentenceWithHighlights
- translationKey="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.build_script.ccpp"
- highlightKeys={['build_wrapper']}
- />
- <CodeSnippet snippet={codeSnippetDownload[os].scriptBuild} />
- <CompilationInfo />
- </li>
- </ul>
+
<li>
<SentenceWithHighlights
translationKey="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.run.ccpp"
translationKey="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare"
highlightKeys={['pipeline', 'task', 'before']}
/>
+ <PrepareAnalysisCommand
+ buildTool={BuildTools.DotNet}
+ kind={PrepareType.MSBuild}
+ projectKey={projectKey}
+ />
</li>
- <PrepareAnalysisCommand
- buildTool={BuildTools.DotNet}
- kind={PrepareType.MSBuild}
- projectKey={projectKey}
- />
<li>
<SentenceWithHighlights
translationKey="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.run"
translationKey="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare"
highlightKeys={['pipeline', 'task', 'before']}
/>
+ <PrepareAnalysisCommand
+ buildTool={BuildTools.Gradle}
+ kind={PrepareType.JavaMavenGradle}
+ projectKey={projectKey}
+ />
</li>
- <PrepareAnalysisCommand
- buildTool={BuildTools.Gradle}
- kind={PrepareType.JavaMavenGradle}
- projectKey={projectKey}
- />
<JavaToolInstallation />
'onboarding.tutorial.with.azure_pipelines.BranchAnalysis.java',
translate('onboarding.build', BuildTools.Gradle)
)}
+ <ul className="list-styled list-alpha big-spacer-bottom">
+ <li>
+ <SentenceWithHighlights
+ translationKey="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.java.settings"
+ highlightKeys={['section', 'option']}
+ />
+ </li>
+ </ul>
</li>
- <ul className="list-styled big-spacer-bottom">
- <li>
- <SentenceWithHighlights
- translationKey="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.java.settings"
- highlightKeys={['section', 'option']}
- />
- </li>
- </ul>
<PublishSteps />
</ol>
translationKey="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare"
highlightKeys={['pipeline', 'task', 'before']}
/>
+ <PrepareAnalysisCommand
+ buildTool={BuildTools.Gradle}
+ kind={PrepareType.JavaMavenGradle}
+ projectKey={projectKey}
+ />
</li>
- <PrepareAnalysisCommand
- buildTool={BuildTools.Gradle}
- kind={PrepareType.JavaMavenGradle}
- projectKey={projectKey}
- />
<JavaToolInstallation />
'onboarding.tutorial.with.azure_pipelines.BranchAnalysis.java',
translate('onboarding.build', BuildTools.Maven)
)}
+ <ul className="list-styled list-alpha big-spacer-bottom">
+ <li>
+ <SentenceWithHighlights
+ translationKey="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.java.settings"
+ highlightKeys={['section', 'option']}
+ />
+ </li>
+ </ul>
</li>
- <ul className="list-styled big-spacer-bottom">
- <li>
- <SentenceWithHighlights
- translationKey="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.java.settings"
- highlightKeys={['section', 'option']}
- />
- </li>
- </ul>
<PublishSteps />
</ol>
translationKey="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare"
highlightKeys={['pipeline', 'task', 'before']}
/>
+ <PrepareAnalysisCommand
+ buildTool={BuildTools.Other}
+ kind={PrepareType.StandAlone}
+ projectKey={projectKey}
+ />
</li>
- <PrepareAnalysisCommand
- buildTool={BuildTools.Other}
- kind={PrepareType.StandAlone}
- projectKey={projectKey}
- />
<li>
<SentenceWithHighlights
sonar.projectKey=${projectKey}`;
return (
- <ul className="list-styled">
+ <ul className="list-styled list-alpha spacer-top">
<li>
<SentenceWithHighlights
translationKey="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.endpoint"
}
.onboarding-step hr {
- margin-left: -54px;
+ margin-left: -72px;
}
.onboarding-step-number {
outline: none;
}
-.onboarding-step ol.list-styled {
- list-style: none;
- padding-left: 0;
- counter-reset: step-counter;
-}
-
.onboarding-step .markdown {
line-height: inherit;
}
+.onboarding-step ol.list-styled,
+.onboarding-step ul.list-styled {
+ padding-left: 18px;
+}
+
.onboarding-step ul.list-styled li {
margin-top: var(--gridSize);
margin-bottom: var(--gridSize);
margin-bottom: calc(2 * var(--gridSize));
}
-.onboarding-step ol.list-styled > li::before {
- display: inline-block;
- width: 16px;
- height: 16px;
- margin-right: 8px;
- color: #fff;
- font-size: 12px;
- line-height: 16px;
- text-align: center;
- background-color: #4b9fd5;
- border-radius: 50%;
- content: counter(li);
+.onboarding-step ol.list-roman {
+ list-style: lower-roman;
+}
+.onboarding-step ol.list-roman > li::marker {
+ font-weight: 400;
+}
+
+.onboarding-step ul.list-alpha {
+ list-style: lower-alpha;
+}
+.onboarding-step ol.list-styled:not(.list-roman) > li::marker,
+.onboarding-step ul.list-alpha > li::marker {
+ font-weight: 500;
+}
+
+.onboarding-step ul.list-alpha > li,
+.onboarding-step ol.list-roman > li {
+ margin-bottom: var(--gridSize);
}
const renderForm = () => (
<div className="boxed-group-inner">
- <h2 className="spacer-bottom spacer-top">
- {translate('onboarding.tutorial.with.gitlab_ci.env_variables.section.title')}
- </h2>
+ <ol className="list-styled">
+ <li>
+ <p className="big-spacer-bottom">
+ {translate('onboarding.tutorial.with.gitlab_ci.env_variables.section.title')}
+ </p>
- <FormattedMessage
- defaultMessage={translate(
- 'onboarding.tutorial.with.gitlab_ci.env_variables.section.description'
- )}
- id="onboarding.tutorial.with.gitlab_ci.env_variables.section.description"
- values={{
- /* This link will be added when the backend provides the project URL */
- link: <strong>{pipelineDescriptionLinkLabel}</strong>,
- }}
- />
-
- <ol className="list-styled big-spacer-top">
- <li className="big-spacer-bottom">
<FormattedMessage
- defaultMessage={fieldValueTranslation}
- id="onboarding.tutorial.with.gitlab_ci.env_variables.step1"
+ defaultMessage={translate(
+ 'onboarding.tutorial.with.gitlab_ci.env_variables.section.description'
+ )}
+ id="onboarding.tutorial.with.gitlab_ci.env_variables.section.description"
values={{
- extra: <ClipboardIconButton copyValue="SONAR_TOKEN" />,
- field: (
- <strong>
- {translate('onboarding.tutorial.with.gitlab_ci.env_variables.step1')}
- </strong>
- ),
- value: <code className="rule">SONAR_TOKEN</code>,
+ /* This link will be added when the backend provides the project URL */
+ link: <strong>{pipelineDescriptionLinkLabel}</strong>,
}}
/>
- </li>
- <TokenStepGenerator component={component} currentUser={currentUser} />
- <li className="big-spacer-bottom">
- {translate('onboarding.tutorial.with.gitlab_ci.env_variables.step3')}
- </li>
- <li className="big-spacer-bottom">
- {translate('onboarding.tutorial.with.gitlab_ci.env_variables.section.step4')}
- </li>
- </ol>
- <hr className="no-horizontal-margins" />
-
- <h2 className="spacer-bottom big-spacer-top">
- {translate('onboarding.tutorial.with.gitlab_ci.env_variables.section2.title')}
- </h2>
-
- <FormattedMessage
- defaultMessage={translate(
- 'onboarding.tutorial.with.gitlab_ci.env_variables.section2.description'
- )}
- id="onboarding.tutorial.with.gitlab_ci.env_variables.section2.description"
- values={{
- /* This link will be added when the backend provides the project URL */
- link: <strong>{pipelineDescriptionLinkLabel}</strong>,
- }}
- />
-
- <ol className="list-styled big-spacer-top big-spacer-bottom">
- <li className="big-spacer-bottom">
- <FormattedMessage
- defaultMessage={fieldValueTranslation}
- id="onboarding.tutorial.with.gitlab_ci.env_variables.step1"
- values={{
- extra: <ClipboardIconButton copyValue="SONAR_HOST_URL" />,
- field: (
- <strong>
- {translate('onboarding.tutorial.with.gitlab_ci.env_variables.step1')}
- </strong>
- ),
- value: <code className="rule">SONAR_HOST_URL</code>,
- }}
- />
+ <ul className="list-styled list-alpha big-spacer-top">
+ <li className="big-spacer-bottom">
+ <FormattedMessage
+ defaultMessage={fieldValueTranslation}
+ id="onboarding.tutorial.with.gitlab_ci.env_variables.step1"
+ values={{
+ extra: <ClipboardIconButton copyValue="SONAR_TOKEN" />,
+ field: (
+ <strong>
+ {translate('onboarding.tutorial.with.gitlab_ci.env_variables.step1')}
+ </strong>
+ ),
+ value: <code className="rule">SONAR_TOKEN</code>,
+ }}
+ />
+ </li>
+ <TokenStepGenerator component={component} currentUser={currentUser} />
+ <li className="big-spacer-bottom">
+ <FormattedMessage
+ defaultMessage={translate('onboarding.tutorial.with.gitlab_ci.env_variables.step3')}
+ id="onboarding.tutorial.with.gitlab_ci.env_variables.step3"
+ values={{
+ value: (
+ <strong>
+ {translate('onboarding.tutorial.with.gitlab_ci.env_variables.step3.value')}
+ </strong>
+ ),
+ }}
+ />
+ </li>
+ <li className="big-spacer-bottom">
+ <FormattedMessage
+ defaultMessage={translate(
+ 'onboarding.tutorial.with.gitlab_ci.env_variables.section.step4'
+ )}
+ id="onboarding.tutorial.with.gitlab_ci.env_variables.section.step4"
+ values={{
+ value: (
+ <strong>
+ {translate(
+ 'onboarding.tutorial.with.gitlab_ci.env_variables.section.step4.value'
+ )}
+ </strong>
+ ),
+ }}
+ />
+ </li>
+ </ul>
+ <hr className="no-horizontal-margins" />
</li>
- <li className="big-spacer-bottom">
+ <li>
+ <p className="big-spacer-bottom big-spacer-top">
+ {translate('onboarding.tutorial.with.gitlab_ci.env_variables.section2.title')}
+ </p>
+
<FormattedMessage
- defaultMessage={fieldValueTranslation}
- id="onboarding.tutorial.with.gitlab_ci.env_variables.step2"
+ defaultMessage={translate(
+ 'onboarding.tutorial.with.gitlab_ci.env_variables.section2.description'
+ )}
+ id="onboarding.tutorial.with.gitlab_ci.env_variables.section2.description"
values={{
- extra: <ClipboardIconButton copyValue={baseUrl} />,
- field: <strong>{translate('onboarding.tutorial.env_variables.field')}</strong>,
- value: <code className="rule">{baseUrl}</code>,
+ /* This link will be added when the backend provides the project URL */
+ link: <strong>{pipelineDescriptionLinkLabel}</strong>,
}}
/>
- </li>
- <li className="big-spacer-bottom">
- {translate('onboarding.tutorial.with.gitlab_ci.env_variables.step3')}
- </li>
- <li className="big-spacer-bottom">
- {translate('onboarding.tutorial.with.gitlab_ci.env_variables.section2.step4')}
+
+ <ul className="list-styled list-alpha big-spacer-top big-spacer-bottom">
+ <li className="big-spacer-bottom">
+ <FormattedMessage
+ defaultMessage={fieldValueTranslation}
+ id="onboarding.tutorial.with.gitlab_ci.env_variables.step1"
+ values={{
+ extra: <ClipboardIconButton copyValue="SONAR_HOST_URL" />,
+ field: (
+ <strong>
+ {translate('onboarding.tutorial.with.gitlab_ci.env_variables.step1')}
+ </strong>
+ ),
+ value: <code className="rule">SONAR_HOST_URL</code>,
+ }}
+ />
+ </li>
+ <li className="big-spacer-bottom">
+ <FormattedMessage
+ defaultMessage={fieldValueTranslation}
+ id="onboarding.tutorial.with.gitlab_ci.env_variables.step2"
+ values={{
+ extra: <ClipboardIconButton copyValue={baseUrl} />,
+ field: <strong>{translate('onboarding.tutorial.env_variables.field')}</strong>,
+ value: <code className="rule">{baseUrl}</code>,
+ }}
+ />
+ </li>
+ <li className="big-spacer-bottom">
+ <FormattedMessage
+ defaultMessage={translate('onboarding.tutorial.with.gitlab_ci.env_variables.step3')}
+ id="onboarding.tutorial.with.gitlab_ci.env_variables.step3"
+ values={{
+ value: (
+ <strong>
+ {translate('onboarding.tutorial.with.gitlab_ci.env_variables.step3.value')}
+ </strong>
+ ),
+ }}
+ />
+ </li>
+ <li className="big-spacer-bottom">
+ <FormattedMessage
+ defaultMessage={translate(
+ 'onboarding.tutorial.with.gitlab_ci.env_variables.section2.step4'
+ )}
+ id="onboarding.tutorial.with.gitlab_ci.env_variables.section2.step4"
+ values={{
+ value: (
+ <strong>
+ {translate(
+ 'onboarding.tutorial.with.gitlab_ci.env_variables.section.step4.value'
+ )}
+ </strong>
+ ),
+ }}
+ />
+ </li>
+ </ul>
+
+ <Button className="big-spacer-bottom" onClick={props.onDone}>
+ {translate('continue')}
+ </Button>
</li>
</ol>
-
- <Button className="big-spacer-bottom" onClick={props.onDone}>
- {translate('continue')}
- </Button>
</div>
);
<div
className="boxed-group-inner"
>
- <h2
- className="spacer-bottom spacer-top"
- >
- onboarding.tutorial.with.gitlab_ci.env_variables.section.title
- </h2>
- <FormattedMessage
- defaultMessage="onboarding.tutorial.with.gitlab_ci.env_variables.section.description"
- id="onboarding.tutorial.with.gitlab_ci.env_variables.section.description"
- values={
- {
- "link": <strong>
- onboarding.tutorial.with.gitlab_ci.env_variables.description.link
- </strong>,
- }
- }
- />
<ol
- className="list-styled big-spacer-top"
+ className="list-styled"
>
- <li
- className="big-spacer-bottom"
- >
+ <li>
+ <p
+ className="big-spacer-bottom"
+ >
+ onboarding.tutorial.with.gitlab_ci.env_variables.section.title
+ </p>
<FormattedMessage
- defaultMessage="onboarding.tutorial.env_variables"
- id="onboarding.tutorial.with.gitlab_ci.env_variables.step1"
+ defaultMessage="onboarding.tutorial.with.gitlab_ci.env_variables.section.description"
+ id="onboarding.tutorial.with.gitlab_ci.env_variables.section.description"
values={
{
- "extra": <ClipboardIconButton
- copyValue="SONAR_TOKEN"
- />,
- "field": <strong>
- onboarding.tutorial.with.gitlab_ci.env_variables.step1
+ "link": <strong>
+ onboarding.tutorial.with.gitlab_ci.env_variables.description.link
</strong>,
- "value": <code
- className="rule"
- >
- SONAR_TOKEN
- </code>,
}
}
/>
- </li>
- <TokenStepGenerator
- component={
- {
- "breadcrumbs": [],
- "key": "my-project",
- "name": "MyProject",
- "qualifier": "TRK",
- "qualityGate": {
- "isDefault": true,
- "key": "30",
- "name": "Sonar way",
- },
- "qualityProfiles": [
+ <ul
+ className="list-styled list-alpha big-spacer-top"
+ >
+ <li
+ className="big-spacer-bottom"
+ >
+ <FormattedMessage
+ defaultMessage="onboarding.tutorial.env_variables"
+ id="onboarding.tutorial.with.gitlab_ci.env_variables.step1"
+ values={
+ {
+ "extra": <ClipboardIconButton
+ copyValue="SONAR_TOKEN"
+ />,
+ "field": <strong>
+ onboarding.tutorial.with.gitlab_ci.env_variables.step1
+ </strong>,
+ "value": <code
+ className="rule"
+ >
+ SONAR_TOKEN
+ </code>,
+ }
+ }
+ />
+ </li>
+ <TokenStepGenerator
+ component={
{
- "deleted": false,
- "key": "my-qp",
- "language": "ts",
- "name": "Sonar way",
- },
- ],
- "tags": [],
- }
- }
- currentUser={
- {
- "dismissedNotices": {
- "educationPrinciples": false,
- },
- "groups": [],
- "isLoggedIn": true,
- "login": "luke",
- "name": "Skywalker",
- "scmAccounts": [],
- }
- }
- />
- <li
- className="big-spacer-bottom"
- >
- onboarding.tutorial.with.gitlab_ci.env_variables.step3
- </li>
- <li
- className="big-spacer-bottom"
- >
- onboarding.tutorial.with.gitlab_ci.env_variables.section.step4
- </li>
- </ol>
- <hr
- className="no-horizontal-margins"
- />
- <h2
- className="spacer-bottom big-spacer-top"
- >
- onboarding.tutorial.with.gitlab_ci.env_variables.section2.title
- </h2>
- <FormattedMessage
- defaultMessage="onboarding.tutorial.with.gitlab_ci.env_variables.section2.description"
- id="onboarding.tutorial.with.gitlab_ci.env_variables.section2.description"
- values={
- {
- "link": <strong>
- onboarding.tutorial.with.gitlab_ci.env_variables.description.link
- </strong>,
- }
- }
- />
- <ol
- className="list-styled big-spacer-top big-spacer-bottom"
- >
- <li
- className="big-spacer-bottom"
- >
- <FormattedMessage
- defaultMessage="onboarding.tutorial.env_variables"
- id="onboarding.tutorial.with.gitlab_ci.env_variables.step1"
- values={
- {
- "extra": <ClipboardIconButton
- copyValue="SONAR_HOST_URL"
- />,
- "field": <strong>
- onboarding.tutorial.with.gitlab_ci.env_variables.step1
- </strong>,
- "value": <code
- className="rule"
- >
- SONAR_HOST_URL
- </code>,
+ "breadcrumbs": [],
+ "key": "my-project",
+ "name": "MyProject",
+ "qualifier": "TRK",
+ "qualityGate": {
+ "isDefault": true,
+ "key": "30",
+ "name": "Sonar way",
+ },
+ "qualityProfiles": [
+ {
+ "deleted": false,
+ "key": "my-qp",
+ "language": "ts",
+ "name": "Sonar way",
+ },
+ ],
+ "tags": [],
+ }
}
- }
+ currentUser={
+ {
+ "dismissedNotices": {
+ "educationPrinciples": false,
+ },
+ "groups": [],
+ "isLoggedIn": true,
+ "login": "luke",
+ "name": "Skywalker",
+ "scmAccounts": [],
+ }
+ }
+ />
+ <li
+ className="big-spacer-bottom"
+ >
+ <FormattedMessage
+ defaultMessage="onboarding.tutorial.with.gitlab_ci.env_variables.step3"
+ id="onboarding.tutorial.with.gitlab_ci.env_variables.step3"
+ values={
+ {
+ "value": <strong>
+ onboarding.tutorial.with.gitlab_ci.env_variables.step3.value
+ </strong>,
+ }
+ }
+ />
+ </li>
+ <li
+ className="big-spacer-bottom"
+ >
+ <FormattedMessage
+ defaultMessage="onboarding.tutorial.with.gitlab_ci.env_variables.section.step4"
+ id="onboarding.tutorial.with.gitlab_ci.env_variables.section.step4"
+ values={
+ {
+ "value": <strong>
+ onboarding.tutorial.with.gitlab_ci.env_variables.section.step4.value
+ </strong>,
+ }
+ }
+ />
+ </li>
+ </ul>
+ <hr
+ className="no-horizontal-margins"
/>
</li>
- <li
- className="big-spacer-bottom"
- >
+ <li>
+ <p
+ className="big-spacer-bottom big-spacer-top"
+ >
+ onboarding.tutorial.with.gitlab_ci.env_variables.section2.title
+ </p>
<FormattedMessage
- defaultMessage="onboarding.tutorial.env_variables"
- id="onboarding.tutorial.with.gitlab_ci.env_variables.step2"
+ defaultMessage="onboarding.tutorial.with.gitlab_ci.env_variables.section2.description"
+ id="onboarding.tutorial.with.gitlab_ci.env_variables.section2.description"
values={
{
- "extra": <ClipboardIconButton
- copyValue="http://localhost:9000"
- />,
- "field": <strong>
- onboarding.tutorial.env_variables.field
+ "link": <strong>
+ onboarding.tutorial.with.gitlab_ci.env_variables.description.link
</strong>,
- "value": <code
- className="rule"
- >
- http://localhost:9000
- </code>,
}
}
/>
- </li>
- <li
- className="big-spacer-bottom"
- >
- onboarding.tutorial.with.gitlab_ci.env_variables.step3
- </li>
- <li
- className="big-spacer-bottom"
- >
- onboarding.tutorial.with.gitlab_ci.env_variables.section2.step4
+ <ul
+ className="list-styled list-alpha big-spacer-top big-spacer-bottom"
+ >
+ <li
+ className="big-spacer-bottom"
+ >
+ <FormattedMessage
+ defaultMessage="onboarding.tutorial.env_variables"
+ id="onboarding.tutorial.with.gitlab_ci.env_variables.step1"
+ values={
+ {
+ "extra": <ClipboardIconButton
+ copyValue="SONAR_HOST_URL"
+ />,
+ "field": <strong>
+ onboarding.tutorial.with.gitlab_ci.env_variables.step1
+ </strong>,
+ "value": <code
+ className="rule"
+ >
+ SONAR_HOST_URL
+ </code>,
+ }
+ }
+ />
+ </li>
+ <li
+ className="big-spacer-bottom"
+ >
+ <FormattedMessage
+ defaultMessage="onboarding.tutorial.env_variables"
+ id="onboarding.tutorial.with.gitlab_ci.env_variables.step2"
+ values={
+ {
+ "extra": <ClipboardIconButton
+ copyValue="http://localhost:9000"
+ />,
+ "field": <strong>
+ onboarding.tutorial.env_variables.field
+ </strong>,
+ "value": <code
+ className="rule"
+ >
+ http://localhost:9000
+ </code>,
+ }
+ }
+ />
+ </li>
+ <li
+ className="big-spacer-bottom"
+ >
+ <FormattedMessage
+ defaultMessage="onboarding.tutorial.with.gitlab_ci.env_variables.step3"
+ id="onboarding.tutorial.with.gitlab_ci.env_variables.step3"
+ values={
+ {
+ "value": <strong>
+ onboarding.tutorial.with.gitlab_ci.env_variables.step3.value
+ </strong>,
+ }
+ }
+ />
+ </li>
+ <li
+ className="big-spacer-bottom"
+ >
+ <FormattedMessage
+ defaultMessage="onboarding.tutorial.with.gitlab_ci.env_variables.section2.step4"
+ id="onboarding.tutorial.with.gitlab_ci.env_variables.section2.step4"
+ values={
+ {
+ "value": <strong>
+ onboarding.tutorial.with.gitlab_ci.env_variables.section.step4.value
+ </strong>,
+ }
+ }
+ />
+ </li>
+ </ul>
+ <Button
+ className="big-spacer-bottom"
+ onClick={[MockFunction]}
+ >
+ continue
+ </Button>
</li>
</ol>
- <Button
- className="big-spacer-bottom"
- onClick={[MockFunction]}
- >
- continue
- </Button>
</div>
`;
const isBitbucketCloud = alm === AlmKeys.BitbucketCloud;
const isGitHub = alm === AlmKeys.GitHub;
+ const renderForm = React.useCallback(
+ () => (
+ <div className="boxed-group-inner">
+ <p className="big-spacer-bottom">
+ {translate('onboarding.tutorial.with.jenkins.multi_branch_pipeline.intro')}
+ </p>
+ <ol className="list-styled">
+ <li>
+ <SentenceWithHighlights
+ highlightKeys={['new_item', 'type']}
+ translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step1"
+ />
+ </li>
+ <li>
+ <SentenceWithHighlights
+ highlightKeys={['tab', 'source']}
+ translationKey={`onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.${alm}`}
+ />
+ <ul className="list-styled list-alpha">
+ {isBitbucketServer && (
+ <>
+ <li>
+ <LabelActionPair translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.bitbucket.server" />
+ </li>
+ <li>
+ <LabelActionPair translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.bitbucket.creds" />
+ </li>
+ <li>
+ {projectBinding?.repository ? (
+ <LabelValuePair
+ translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.bitbucket.owner"
+ value={projectBinding.repository}
+ />
+ ) : (
+ <LabelActionPair translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.bitbucket.owner" />
+ )}
+ </li>
+ <li>
+ {projectBinding?.slug ? (
+ <LabelValuePair
+ translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.bitbucket.repo"
+ value={projectBinding.slug}
+ />
+ ) : (
+ <LabelActionPair translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.bitbucket.repo" />
+ )}
+ </li>
+ </>
+ )}
+ {isBitbucketCloud && (
+ <>
+ <li>
+ <LabelActionPair translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.bitbucketcloud.server" />
+ </li>
+ <li>
+ <LabelActionPair translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.bitbucketcloud.creds" />
+ </li>
+ <li>
+ {workspaceId ? (
+ <LabelValuePair
+ translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.bitbucketcloud.owner"
+ value={workspaceId}
+ />
+ ) : (
+ <LabelActionPair translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.bitbucketcloud.owner" />
+ )}
+ </li>
+ <li>
+ {projectBinding?.repository ? (
+ <LabelValuePair
+ translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.bitbucketcloud.repo"
+ value={projectBinding.repository}
+ />
+ ) : (
+ <LabelActionPair translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.bitbucketcloud.repo" />
+ )}
+ </li>
+ </>
+ )}
+ {isGitHub && (
+ <>
+ <li>
+ <LabelActionPair translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.github.creds" />
+ </li>
+ <li>
+ {almBinding !== undefined &&
+ projectBinding !== undefined &&
+ buildGithubLink(almBinding, projectBinding) !== null ? (
+ <LabelValuePair
+ translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.github.repo_url"
+ value={buildGithubLink(almBinding, projectBinding) as string}
+ />
+ ) : (
+ <LabelActionPair translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.github.repo_url" />
+ )}
+ </li>
+ </>
+ )}
+ {isGitLab && (
+ <>
+ <li>
+ <LabelActionPair translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.gitlab.creds" />
+ </li>
+ <li>
+ <LabelActionPair translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.gitlab.owner" />
+ </li>
+ <li>
+ <LabelActionPair translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.gitlab.repo" />
+ </li>
+ </>
+ )}
+ <li>
+ <strong>
+ {translate(
+ 'onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.behaviors.label'
+ )}
+ :
+ </strong>
+ <ol className="list-styled list-roman little-spacer-top abs-width-600">
+ <li>
+ <LabelActionPair
+ translationKey={`onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.behaviors.${
+ isGitLab ? 'branches_mrs' : 'branches_prs'
+ }`}
+ />
+ </li>
+ <li>
+ <LabelActionPair
+ translationKey={`onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.behaviors.${
+ isGitLab ? 'discover_mrs' : 'discover_prs'
+ }`}
+ />
+ </li>
+ <li>
+ <strong>
+ {translate(
+ 'onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.behaviors.ref_specs.label'
+ )}
+ :
+ </strong>
+ <ul className="list-styled little-spacer-top">
+ <li>
+ <SentenceWithHighlights
+ highlightKeys={['add', 'ref_spec']}
+ translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.behaviors.ref_specs.add_behaviour"
+ />
+ </li>
+ <li>
+ <SentenceWithHighlights
+ highlightKeys={['ref_spec']}
+ translationKey={`onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.behaviors.ref_specs.${
+ isGitLab ? 'set_mr_ref_specs' : 'set_pr_ref_specs'
+ }`}
+ />
+ <CodeSnippet
+ isOneLine={true}
+ snippet="+refs/heads/*:refs/remotes/@{remote}/*"
+ />
+ </li>
+ </ul>
+ </li>
+ </ol>
+ </li>
+ </ul>
+ <p className="big-spacer-left padder-left">
+ {translate(
+ 'onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.leave_defaults'
+ )}
+ </p>
+ </li>
+ <li>
+ <SentenceWithHighlights
+ highlightKeys={['tab']}
+ translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step3"
+ />
+ <ul className="list-styled list-alpha">
+ <li>
+ <LabelActionPair translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step3.mode" />
+ </li>
+ <li>
+ <LabelActionPair translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step3.script_path" />
+ </li>
+ </ul>
+ </li>
+ <li>
+ <SentenceWithHighlights
+ highlightKeys={['save']}
+ translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step4"
+ />
+ </li>
+ </ol>
+ <Button className="big-spacer-top" onClick={props.onDone}>
+ {translate('continue')}
+ <ChevronRightIcon size={rawSizes.baseFontSizeRaw} />
+ </Button>
+ </div>
+ ),
+ [
+ isBitbucketCloud,
+ isBitbucketServer,
+ isGitHub,
+ isGitLab,
+ workspaceId,
+ alm,
+ projectBinding,
+ almBinding,
+ props.onDone,
+ ]
+ );
+
return (
<Step
finished={finished}
onOpen={props.onOpen}
open={open}
- renderForm={() => (
- <div className="boxed-group-inner">
- <p className="big-spacer-bottom">
- {translate('onboarding.tutorial.with.jenkins.multi_branch_pipeline.intro')}
- </p>
- <ol className="list-styled">
- <li>
- <SentenceWithHighlights
- highlightKeys={['new_item', 'type']}
- translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step1"
- />
- </li>
- <li>
- <SentenceWithHighlights
- highlightKeys={['tab', 'source']}
- translationKey={`onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.${alm}`}
- />
- <ul className="list-styled">
- {isBitbucketServer && (
- <>
- <li>
- <LabelActionPair translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.bitbucket.server" />
- </li>
- <li>
- <LabelActionPair translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.bitbucket.creds" />
- </li>
- <li>
- {projectBinding?.repository ? (
- <LabelValuePair
- translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.bitbucket.owner"
- value={projectBinding.repository}
- />
- ) : (
- <LabelActionPair translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.bitbucket.owner" />
- )}
- </li>
- <li>
- {projectBinding?.slug ? (
- <LabelValuePair
- translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.bitbucket.repo"
- value={projectBinding.slug}
- />
- ) : (
- <LabelActionPair translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.bitbucket.repo" />
- )}
- </li>
- </>
- )}
- {isBitbucketCloud && (
- <>
- <li>
- <LabelActionPair translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.bitbucketcloud.server" />
- </li>
- <li>
- <LabelActionPair translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.bitbucketcloud.creds" />
- </li>
- <li>
- {workspaceId ? (
- <LabelValuePair
- translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.bitbucketcloud.owner"
- value={workspaceId}
- />
- ) : (
- <LabelActionPair translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.bitbucketcloud.owner" />
- )}
- </li>
- <li>
- {projectBinding?.repository ? (
- <LabelValuePair
- translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.bitbucketcloud.repo"
- value={projectBinding.repository}
- />
- ) : (
- <LabelActionPair translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.bitbucketcloud.repo" />
- )}
- </li>
- </>
- )}
- {isGitHub && (
- <>
- <li>
- <LabelActionPair translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.github.creds" />
- </li>
- <li>
- {almBinding !== undefined &&
- projectBinding !== undefined &&
- buildGithubLink(almBinding, projectBinding) !== null ? (
- <LabelValuePair
- translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.github.repo_url"
- value={buildGithubLink(almBinding, projectBinding) as string}
- />
- ) : (
- <LabelActionPair translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.github.repo_url" />
- )}
- </li>
- </>
- )}
- {isGitLab && (
- <>
- <li>
- <LabelActionPair translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.gitlab.creds" />
- </li>
- <li>
- <LabelActionPair translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.gitlab.owner" />
- </li>
- <li>
- <LabelActionPair translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.gitlab.repo" />
- </li>
- </>
- )}
- <li>
- <strong>
- {translate(
- 'onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.behaviors.label'
- )}
- :
- </strong>
- <ul className="list-styled little-spacer-top abs-width-600">
- <li>
- <LabelActionPair
- translationKey={`onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.behaviors.${
- isGitLab ? 'branches_mrs' : 'branches_prs'
- }`}
- />
- </li>
- <li>
- <LabelActionPair
- translationKey={`onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.behaviors.${
- isGitLab ? 'discover_mrs' : 'discover_prs'
- }`}
- />
- </li>
- <li>
- <strong>
- {translate(
- 'onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.behaviors.ref_specs.label'
- )}
- :
- </strong>
- <ul className="list-styled little-spacer-top">
- <li>
- <SentenceWithHighlights
- highlightKeys={['add', 'ref_spec']}
- translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.behaviors.ref_specs.add_behaviour"
- />
- </li>
- <li>
- <SentenceWithHighlights
- highlightKeys={['ref_spec']}
- translationKey={`onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.behaviors.ref_specs.${
- isGitLab ? 'set_mr_ref_specs' : 'set_pr_ref_specs'
- }`}
- />
- <CodeSnippet
- isOneLine={true}
- snippet="+refs/heads/*:refs/remotes/@{remote}/*"
- />
- </li>
- </ul>
- </li>
- </ul>
- </li>
- </ul>
- <p className="big-spacer-left padder-left">
- {translate(
- 'onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.leave_defaults'
- )}
- </p>
- </li>
- <li>
- <SentenceWithHighlights
- highlightKeys={['tab']}
- translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step3"
- />
- <ul className="list-styled">
- <li>
- <LabelActionPair translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step3.mode" />
- </li>
- <li>
- <LabelActionPair translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step3.script_path" />
- </li>
- </ul>
- </li>
- <li>
- <SentenceWithHighlights
- highlightKeys={['save']}
- translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step4"
- />
- </li>
- </ol>
- <Button className="big-spacer-top" onClick={props.onDone}>
- {translate('continue')}
- <ChevronRightIcon size={rawSizes.baseFontSizeRaw} />
- </Button>
- </div>
- )}
+ renderForm={renderForm}
stepNumber={1}
stepTitle={translate('onboarding.tutorial.with.jenkins.multi_branch_pipeline.title')}
/>
),
}}
/>
- <ul className="list-styled">
+ <ul className="list-styled list-alpha">
<li>
<LabelActionPair translationKey="onboarding.tutorial.with.jenkins.webhook.step1.name" />
</li>
highlightKeys={['triggers', 'option']}
translationKey="onboarding.tutorial.with.jenkins.webhook.bitbucketcloud.step2"
/>
- <ul className="list-styled">
+ <ul className="list-styled list-alpha">
<li>
<LabelActionPair translationKey="onboarding.tutorial.with.jenkins.webhook.bitbucketcloud.step2.repo" />
</li>
highlightKeys={['events']}
translationKey="onboarding.tutorial.with.jenkins.webhook.bitbucket.step2"
/>
- <ul className="list-styled">
+ <ul className="list-styled list-alpha">
<li>
<LabelActionPair translationKey="onboarding.tutorial.with.jenkins.webhook.bitbucket.step2.repo" />
</li>
translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.bitbucket"
/>
<ul
- className="list-styled"
+ className="list-styled list-alpha"
>
<React.Fragment>
<li>
onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.behaviors.label
:
</strong>
- <ul
- className="list-styled little-spacer-top abs-width-600"
+ <ol
+ className="list-styled list-roman little-spacer-top abs-width-600"
>
<li>
<LabelActionPair
</li>
</ul>
</li>
- </ul>
+ </ol>
</li>
</ul>
<p
translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step3"
/>
<ul
- className="list-styled"
+ className="list-styled list-alpha"
>
<li>
<LabelActionPair
translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.bitbucketcloud"
/>
<ul
- className="list-styled"
+ className="list-styled list-alpha"
>
<React.Fragment>
<li>
onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.behaviors.label
:
</strong>
- <ul
- className="list-styled little-spacer-top abs-width-600"
+ <ol
+ className="list-styled list-roman little-spacer-top abs-width-600"
>
<li>
<LabelActionPair
</li>
</ul>
</li>
- </ul>
+ </ol>
</li>
</ul>
<p
translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step3"
/>
<ul
- className="list-styled"
+ className="list-styled list-alpha"
>
<li>
<LabelActionPair
translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.bitbucketcloud"
/>
<ul
- className="list-styled"
+ className="list-styled list-alpha"
>
<React.Fragment>
<li>
onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.behaviors.label
:
</strong>
- <ul
- className="list-styled little-spacer-top abs-width-600"
+ <ol
+ className="list-styled list-roman little-spacer-top abs-width-600"
>
<li>
<LabelActionPair
</li>
</ul>
</li>
- </ul>
+ </ol>
</li>
</ul>
<p
translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step3"
/>
<ul
- className="list-styled"
+ className="list-styled list-alpha"
>
<li>
<LabelActionPair
translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.bitbucket"
/>
<ul
- className="list-styled"
+ className="list-styled list-alpha"
>
<React.Fragment>
<li>
onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.behaviors.label
:
</strong>
- <ul
- className="list-styled little-spacer-top abs-width-600"
+ <ol
+ className="list-styled list-roman little-spacer-top abs-width-600"
>
<li>
<LabelActionPair
</li>
</ul>
</li>
- </ul>
+ </ol>
</li>
</ul>
<p
translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step3"
/>
<ul
- className="list-styled"
+ className="list-styled list-alpha"
>
<li>
<LabelActionPair
translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.github"
/>
<ul
- className="list-styled"
+ className="list-styled list-alpha"
>
<React.Fragment>
<li>
onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.behaviors.label
:
</strong>
- <ul
- className="list-styled little-spacer-top abs-width-600"
+ <ol
+ className="list-styled list-roman little-spacer-top abs-width-600"
>
<li>
<LabelActionPair
</li>
</ul>
</li>
- </ul>
+ </ol>
</li>
</ul>
<p
translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step3"
/>
<ul
- className="list-styled"
+ className="list-styled list-alpha"
>
<li>
<LabelActionPair
translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.github"
/>
<ul
- className="list-styled"
+ className="list-styled list-alpha"
>
<React.Fragment>
<li>
onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.behaviors.label
:
</strong>
- <ul
- className="list-styled little-spacer-top abs-width-600"
+ <ol
+ className="list-styled list-roman little-spacer-top abs-width-600"
>
<li>
<LabelActionPair
</li>
</ul>
</li>
- </ul>
+ </ol>
</li>
</ul>
<p
translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step3"
/>
<ul
- className="list-styled"
+ className="list-styled list-alpha"
>
<li>
<LabelActionPair
translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.gitlab"
/>
<ul
- className="list-styled"
+ className="list-styled list-alpha"
>
<React.Fragment>
<li>
onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.behaviors.label
:
</strong>
- <ul
- className="list-styled little-spacer-top abs-width-600"
+ <ol
+ className="list-styled list-roman little-spacer-top abs-width-600"
>
<li>
<LabelActionPair
</li>
</ul>
</li>
- </ul>
+ </ol>
</li>
</ul>
<p
translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step3"
/>
<ul
- className="list-styled"
+ className="list-styled list-alpha"
>
<li>
<LabelActionPair
}
/>
<ul
- className="list-styled"
+ className="list-styled list-alpha"
>
<li>
<LabelActionPair
translationKey="onboarding.tutorial.with.jenkins.webhook.bitbucket.step2"
/>
<ul
- className="list-styled"
+ className="list-styled list-alpha"
>
<li>
<LabelActionPair
}
/>
<ul
- className="list-styled"
+ className="list-styled list-alpha"
>
<li>
<LabelActionPair
translationKey="onboarding.tutorial.with.jenkins.webhook.bitbucket.step2"
/>
<ul
- className="list-styled"
+ className="list-styled list-alpha"
>
<li>
<LabelActionPair
}
/>
<ul
- className="list-styled"
+ className="list-styled list-alpha"
>
<li>
<LabelActionPair
translationKey="onboarding.tutorial.with.jenkins.webhook.bitbucket.step2"
/>
<ul
- className="list-styled"
+ className="list-styled list-alpha"
>
<li>
<LabelActionPair
}
/>
<ul
- className="list-styled"
+ className="list-styled list-alpha"
>
<li>
<LabelActionPair
translationKey="onboarding.tutorial.with.jenkins.webhook.bitbucketcloud.step2"
/>
<ul
- className="list-styled"
+ className="list-styled list-alpha"
>
<li>
<LabelActionPair
}
/>
<ul
- className="list-styled"
+ className="list-styled list-alpha"
>
<li>
<LabelActionPair
translationKey="onboarding.tutorial.with.jenkins.webhook.bitbucketcloud.step2"
/>
<ul
- className="list-styled"
+ className="list-styled list-alpha"
>
<li>
<LabelActionPair
}
/>
<ul
- className="list-styled"
+ className="list-styled list-alpha"
>
<li>
<LabelActionPair
translationKey="onboarding.tutorial.with.jenkins.webhook.bitbucketcloud.step2"
/>
<ul
- className="list-styled"
+ className="list-styled list-alpha"
>
<li>
<LabelActionPair
<Alert className="spacer-top" variant="info">
{translate('onboarding.tutorial.with.jenkins.dotnet.msbuild.prereqs.info')}
</Alert>
- <ul className="list-styled">
+ <ol className="list-styled list-roman">
<li>
<SentenceWithHighlights
highlightKeys={['msbuild']}
<code className="rule">Default MSBuild</code>
<ClipboardIconButton copyValue="Default MSBuild" />
</li>
- </ul>
+ </ol>
</li>
);
}
<Alert className="spacer-top" variant="info">
{translate('onboarding.tutorial.with.jenkins.dotnet.scanner.prereqs.info')}
</Alert>
- <ul className="list-styled">
+ <ol className="list-styled list-roman">
<li>
<SentenceWithHighlights
highlightKeys={['path']}
translationKey="onboarding.tutorial.with.jenkins.dotnet.scanner.prereqs.step5"
/>
</li>
- </ul>
+ </ol>
</li>
);
}
>
onboarding.tutorial.with.jenkins.dotnet.msbuild.prereqs.info
</Alert>
- <ul
- className="list-styled"
+ <ol
+ className="list-styled list-roman"
>
<li>
<SentenceWithHighlights
copyValue="Default MSBuild"
/>
</li>
- </ul>
+ </ol>
</li>
`;
>
onboarding.tutorial.with.jenkins.dotnet.scanner.prereqs.info
</Alert>
- <ul
- className="list-styled"
+ <ol
+ className="list-styled list-roman"
>
<li>
<SentenceWithHighlights
translationKey="onboarding.tutorial.with.jenkins.dotnet.scanner.prereqs.step5"
/>
</li>
- </ul>
+ </ol>
</li>
`;
onboarding.tutorial.with.bitbucket_pipelines.variables.intro.link=Repository settings > Repository variables
onboarding.tutorial.with.bitbucket_pipelines.variables.name.sentence=In the {name} field, enter
onboarding.tutorial.with.bitbucket_pipelines.variables.name.sentence.name=Name
-onboarding.tutorial.with.bitbucket_pipelines.variables.add.sentence=Click on {add}
+onboarding.tutorial.with.bitbucket_pipelines.variables.add.sentence=Click on {add}.
onboarding.tutorial.with.bitbucket_pipelines.variables.add.sentence.add=Add
-onboarding.tutorial.with.bitbucket_pipelines.variables.secured.sentence=Make sure {secured} is check
+onboarding.tutorial.with.bitbucket_pipelines.variables.secured.sentence=Make sure {secured} is check.
onboarding.tutorial.with.bitbucket_pipelines.variables.secured.sentence.secured=Secured
onboarding.tutorial.with.github_action.create_secret.title=Create GitHub Secrets
onboarding.tutorial.with.github_action.secret.intro.link=Settings > Secrets
onboarding.tutorial.with.github_action.secret.name.sentence=In the {name} field, enter
onboarding.tutorial.with.github_action.secret.name.sentence.name=Name
-onboarding.tutorial.with.github_action.secret.new.sentence=Click on {new_secret}
+onboarding.tutorial.with.github_action.secret.new.sentence=Click on {new_secret}.
onboarding.tutorial.with.github_action.secret.new.sentence.new_secret=New repository secret
-onboarding.tutorial.with.github_action.secret.add.sentence=Click on {add_secret}
+onboarding.tutorial.with.github_action.secret.add.sentence=Click on {add_secret}.
onboarding.tutorial.with.github_action.secret.add.sentence.add_secret=Add secret
onboarding.tutorial.with.github_action.yaml.title=Create Workflow YAML File
onboarding.tutorial.with.github_action.yaml.create_yml=Create or update your {file} YAML file with the following content:
onboarding.tutorial.with.gitlab_ci.env_variables.title=Add environment variables
onboarding.tutorial.with.gitlab_ci.env_variables.description.link=Settings > CI/CD > Variables
-onboarding.tutorial.with.gitlab_ci.env_variables.section.title=a. Define the SonarQube Token environment variable
+onboarding.tutorial.with.gitlab_ci.env_variables.section.title=Define the SonarQube Token environment variable.
onboarding.tutorial.with.gitlab_ci.env_variables.section.description=In GitLab, go to {link} to add the following variable and make sure it is available for your project:
onboarding.tutorial.with.gitlab_ci.env_variables.edit.token.tooltip=Use an existing token or generate a new one.
onboarding.tutorial.with.gitlab_ci.env_variables.step1=Key
-onboarding.tutorial.with.gitlab_ci.env_variables.step3=Uncheck the "Protect Variable" checkbox
-onboarding.tutorial.with.gitlab_ci.env_variables.section.step4=Check the "Mask Variable" checkbox
-onboarding.tutorial.with.gitlab_ci.env_variables.section2.title=b. Define the SonarQube URL environment variable
+onboarding.tutorial.with.gitlab_ci.env_variables.step3=Uncheck the {value} checkbox.
+onboarding.tutorial.with.gitlab_ci.env_variables.step3.value=Protect Variable
+onboarding.tutorial.with.gitlab_ci.env_variables.section.step4=Check the {value} checkbox.
+onboarding.tutorial.with.gitlab_ci.env_variables.section.step4.value=Mask Variable
+onboarding.tutorial.with.gitlab_ci.env_variables.section2.title=Define the SonarQube URL environment variable.
onboarding.tutorial.with.gitlab_ci.env_variables.section2.description=Still in {link} add a new variable and make sure it is available for your project:
-onboarding.tutorial.with.gitlab_ci.env_variables.section2.step4=Leave the "Mask variable" checkbox unchecked
+onboarding.tutorial.with.gitlab_ci.env_variables.section2.step4=Leave the {value} checkbox unchecked.
onboarding.tutorial.with.gitlab_ci.yml.title=Create or update the configuration file
onboarding.tutorial.with.gitlab_ci.yml.description=Create or update your {filename} file with the following content.
onboarding.tutorial.with.gitlab_ci.yml.filename=.gitlab-ci.yml
onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.bitbucketcloud.creds.label=Credentials
onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.bitbucketcloud.creds.action=select the Bitbucket Cloud credentials.
onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.bitbucketcloud.owner.label=Owner
-onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.bitbucketcloud.owner.action=enter your workspace ID
+onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.bitbucketcloud.owner.action=enter your workspace ID.
onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.bitbucketcloud.repo.label=Repository
onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.bitbucketcloud.repo.action=select the repository you want to analyze.
onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.behaviors.label=Behaviors
-onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.behaviors.branches_prs.action=Exclude branches that are also filed as PRs
+onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.behaviors.branches_prs.action=Exclude branches that are also filed as PRs.
onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.behaviors.branches_prs.label=Discover branches
-onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.behaviors.branches_mrs.action=Exclude branches that are also filed as MRs
+onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.behaviors.branches_mrs.action=Exclude branches that are also filed as MRs.
onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.behaviors.branches_mrs.label=Discover branches
-onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.behaviors.discover_prs.action=The current pull request revision
+onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.behaviors.discover_prs.action=The current pull request revision.
onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.behaviors.discover_prs.label=Discover pull requests from origin
-onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.behaviors.discover_mrs.action=The current merge request revision
+onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.behaviors.discover_mrs.action=The current merge request revision.
onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.behaviors.discover_mrs.label=Discover merge requests from origin
onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.behaviors.ref_specs.label=Specify ref specs
onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.behaviors.ref_specs.add_behaviour.sentence=By default, this behavior is not active. If you do not see it, click on {add} to see the list of available behaviors, and select {ref_spec}.
onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.behaviors.ref_specs.add_behaviour.sentence.add=Add
-onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.behaviors.ref_specs.add_behaviour.sentence.ref_spec=Specify ref specs
+onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.behaviors.ref_specs.add_behaviour.sentence.ref_spec=Specify ref specs
onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.behaviors.ref_specs.set_pr_ref_specs.sentence=In order to correctly compute new code for Pull Requests, the scanner will need the refs of the target branch. Make sure the {ref_spec} value will include any target branches (the default value should be enough). Example:
onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.behaviors.ref_specs.set_pr_ref_specs.sentence.ref_spec=Ref Spec
onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.behaviors.ref_specs.set_mr_ref_specs.sentence=In order to correctly compute new code for Merge Requests, the scanner will need the refs of the target branch. Make sure the {ref_spec} value will include any target branches (the default value should be enough). Example:
onboarding.tutorial.with.jenkins.jenkinsfile.gradle.step2.sentence=Add the following to your {file} file:
onboarding.tutorial.with.jenkins.jenkinsfile.dotnet.build_agent=Choose your build agent.
-onboarding.tutorial.with.jenkins.dotnet.msbuild.prereqs.title.sentence=Prerequisite: Add a {default_msbuild} tool
+onboarding.tutorial.with.jenkins.dotnet.msbuild.prereqs.title.sentence=Prerequisite: Add a {default_msbuild} tool.
onboarding.tutorial.with.jenkins.dotnet.msbuild.prereqs.title.sentence.default_msbuild=MSBuild
onboarding.tutorial.with.jenkins.dotnet.msbuild.prereqs.info=This step need to be done only once per jenkins instance.
onboarding.tutorial.with.jenkins.dotnet.msbuild.prereqs.step1.sentence=In Jenkins, make sure to have the {msbuild} installed.
onboarding.tutorial.with.jenkins.dotnet.msbuild.prereqs.step3.sentence.name=Name
-onboarding.tutorial.with.jenkins.dotnet.scanner.prereqs.title.sentence=Prerequisite: Add a {default_scanner} tool
+onboarding.tutorial.with.jenkins.dotnet.scanner.prereqs.title.sentence=Prerequisite: Add a {default_scanner} tool.
onboarding.tutorial.with.jenkins.dotnet.scanner.prereqs.title.sentence.default_scanner=SonarScanner for MSBuild
onboarding.tutorial.with.jenkins.dotnet.scanner.prereqs.info=This step needs to be done only once per jenkins instance or if you need different scanner versions.
onboarding.tutorial.with.jenkins.dotnet.scanner.prereqs.step1.sentence=In Jenkins, navigate to {path}.
onboarding.tutorial.with.jenkins.dotnet.scanner.prereqs.step1.sentence.path=Manage Jenkins > Global Tool Configuration
-onboarding.tutorial.with.jenkins.dotnet.scanner.prereqs.step2.sentence=Under {default_scanner} click on {add_scanner_for_msbuild}
+onboarding.tutorial.with.jenkins.dotnet.scanner.prereqs.step2.sentence=Under {default_scanner} click on {add_scanner_for_msbuild}.
onboarding.tutorial.with.jenkins.dotnet.scanner.prereqs.step2.sentence.default_scanner=SonarScanner for MSBuild
onboarding.tutorial.with.jenkins.dotnet.scanner.prereqs.step2.sentence.add_scanner_for_msbuild=Add SonarScanner for MSBuild
onboarding.tutorial.with.jenkins.dotnet.scanner.prereqs.step3.sentence=Choose a {name} that will be used in the last step:
onboarding.tutorial.with.azure_pipelines.ExtensionInstallation.sentence.link=SonarQube extension
onboarding.tutorial.with.azure_pipelines.ExtensionInstallation.sentence.button=Get it free
onboarding.tutorial.with.azure_pipelines.ServiceEndpoint.title=Add a new SonarQube Service Endpoint in your project
-onboarding.tutorial.with.azure_pipelines.ServiceEndpoint.step1.sentence=In Azure DevOps, go to {menu}
+onboarding.tutorial.with.azure_pipelines.ServiceEndpoint.step1.sentence=In Azure DevOps, go to {menu}.
onboarding.tutorial.with.azure_pipelines.ServiceEndpoint.step1.sentence.menu=Project settings > Service connections
-onboarding.tutorial.with.azure_pipelines.ServiceEndpoint.step2.sentence=Add a new service connection of type {type}
+onboarding.tutorial.with.azure_pipelines.ServiceEndpoint.step2.sentence=Add a new service connection of type {type}.
onboarding.tutorial.with.azure_pipelines.ServiceEndpoint.step2.sentence.type=SonarQube
onboarding.tutorial.with.azure_pipelines.ServiceEndpoint.step3.sentence=Enter your SonarQube server url: {url} {button}
onboarding.tutorial.with.azure_pipelines.ServiceEndpoint.step4.sentence=Enter an existing token, or a newly generated one
-onboarding.tutorial.with.azure_pipelines.ServiceEndpoint.step5.sentence=Enter a memorable connection name
-onboarding.tutorial.with.azure_pipelines.ServiceEndpoint.step6.sentence=Create the service connection
+onboarding.tutorial.with.azure_pipelines.ServiceEndpoint.step5.sentence=Enter a memorable connection name.
+onboarding.tutorial.with.azure_pipelines.ServiceEndpoint.step6.sentence=Create the service connection.
onboarding.tutorial.with.azure_pipelines.BranchAnalysis.title=Configure analysis
onboarding.tutorial.with.azure_pipelines.BranchAnalysis.info=The following steps assume you are using the Azure Pipelines classic editor. Check out our {doc_link} for the YAML counterpart.
onboarding.tutorial.with.azure_pipelines.BranchAnalysis.info.doc_link=Azure DevOps integration page
onboarding.tutorial.with.azure_pipelines.BranchAnalysis.build_wrapper.ccpp.nix.sentence.task=Bash script
onboarding.tutorial.with.azure_pipelines.BranchAnalysis.build_wrapper.ccpp.win.sentence.inline=inline
onboarding.tutorial.with.azure_pipelines.BranchAnalysis.build_wrapper.ccpp.nix.sentence.inline=inline
-onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.ccpp.sentence=Add a new {task} task {before} your build task
+onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.ccpp.sentence=Add a new {task} task {before} your build task.
onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare_additional.ccpp=In {additional} in the {advanced} section, add a new property to set the output directory to which the Build Wrapper should write its results: {property} {button}
onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare_additional.ccpp.additional=Additional Properties
onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare_additional.ccpp.advanced=Advanced
onboarding.tutorial.with.azure_pipelines.BranchAnalysis.build_script.ccpp.sentence=Run {build_wrapper} executable. Pass in as the arguments (1) the output directory configured in the previous task and (2) the command that runs a clean build of your project (not an incremental build). Example:
onboarding.tutorial.with.azure_pipelines.BranchAnalysis.build_script.ccpp.sentence.build_wrapper=Build Wrapper
onboarding.tutorial.with.azure_pipelines.BranchAnalysis.run.ccpp.sentence=Add a new {task} task {after} your build task. Consider running this task right after the previous one as the build environment should not be significantly altered before running the analysis.
-onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.sentence=In Azure DevOps, create or edit a build {pipeline} and add a new {task} task {before} your build task
+onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.sentence=In Azure DevOps, create or edit a build {pipeline} and add a new {task} task {before} your build task:
onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.sentence.pipeline=Pipeline
onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.sentence.task=Prepare Analysis Configuration
onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.sentence.before=before
-onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.endpoint.sentence=Select the {endpoint} you created in Step 2
+onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.endpoint.sentence=Select the {endpoint} you created in Step 2.
onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.endpoint.sentence.endpoint=SonarQube server endpoint
-onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.run_analysis=Under {section}, select {run_analysis_value}
+onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.run_analysis=Under {section}, select {run_analysis_value}.
onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.run_analysis.section=Choose the way to run the analysis
onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.run_analysis.values.dotnet=Integrate with MSBuild
onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.run_analysis.values.maven=Integrate with Maven or Gradle
onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.run_analysis.values.gradle=Integrate with Maven or Gradle
onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.run_analysis.values.cfamily=Use standalone scanner
onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.run_analysis.values.other=Use standalone scanner
-onboarding.tutorial.with.azure_pipelines.BranchAnalysis.manual.sentence=Select the {mode} mode
+onboarding.tutorial.with.azure_pipelines.BranchAnalysis.manual.sentence=Select the {mode} mode.
onboarding.tutorial.with.azure_pipelines.BranchAnalysis.manual.sentence.mode=Manually provide configuration
-onboarding.tutorial.with.azure_pipelines.BranchAnalysis.run.sentence=Add a new {task} task {after} your build task
+onboarding.tutorial.with.azure_pipelines.BranchAnalysis.run.sentence=Add a new {task} task {after} your build task.
onboarding.tutorial.with.azure_pipelines.BranchAnalysis.run.sentence.task=Run Code Analysis
onboarding.tutorial.with.azure_pipelines.BranchAnalysis.run.sentence.after=after
onboarding.tutorial.with.azure_pipelines.BranchAnalysis.run.key.sentence=In the {project_key} field, enter {key} {button}
onboarding.tutorial.with.azure_pipelines.BranchAnalysis.advanced_properties.sentence=Expand the {section} and replace the {properties} with the following snippet
onboarding.tutorial.with.azure_pipelines.BranchAnalysis.advanced_properties.sentence.section=Advanced section
onboarding.tutorial.with.azure_pipelines.BranchAnalysis.advanced_properties.sentence.properties=Additional Properties
-onboarding.tutorial.with.azure_pipelines.BranchAnalysis.java_installer.title=Add a new Java tool installer task
+onboarding.tutorial.with.azure_pipelines.BranchAnalysis.java_installer.title=Add a new Java tool installer task:
onboarding.tutorial.with.azure_pipelines.BranchAnalysis.java_installer.sentence=Under {field}, select {value}
onboarding.tutorial.with.azure_pipelines.BranchAnalysis.java_installer.java_version=JDK version
onboarding.tutorial.with.azure_pipelines.BranchAnalysis.java_installer.or_higher=(or higher)
onboarding.tutorial.with.azure_pipelines.BranchAnalysis.java_installer.java_architecture=JDK architecture
onboarding.tutorial.with.azure_pipelines.BranchAnalysis.java_installer.java_source=JDK source
onboarding.tutorial.with.azure_pipelines.BranchAnalysis.java_installer.pre-installed=Pre-installed
-onboarding.tutorial.with.azure_pipelines.BranchAnalysis.java=Edit or add a new {0} task
+onboarding.tutorial.with.azure_pipelines.BranchAnalysis.java=Edit or add a new {0} task:
onboarding.tutorial.with.azure_pipelines.BranchAnalysis.java.settings.sentence=Under {section}, check {option}
onboarding.tutorial.with.azure_pipelines.BranchAnalysis.java.settings.sentence.section=Code Analysis
onboarding.tutorial.with.azure_pipelines.BranchAnalysis.java.settings.sentence.option=Run SonarQube or SonarCloud Analysis
-onboarding.tutorial.with.azure_pipelines.BranchAnalysis.publish_qg.sentence=Add a new {task} task to publish SonarQube's Quality Gate results on your build pipeline summary
+onboarding.tutorial.with.azure_pipelines.BranchAnalysis.publish_qg.sentence=Add a new {task} task to publish SonarQube's Quality Gate results on your build pipeline summary.
onboarding.tutorial.with.azure_pipelines.BranchAnalysis.publish_qg.info.sentence1=This task may increase your build time as your pipeline will have to wait for SonarQube to process the analysis report. It is highly recommended but optional.
onboarding.tutorial.with.azure_pipelines.BranchAnalysis.publish_qg.sentence.task=Publish Quality Gate Result
-onboarding.tutorial.with.azure_pipelines.BranchAnalysis.continous_integration.sentence=Under the {tab} tab of your pipeline, check {continuous_integration} and select all the branches for which you want the SonarQube analysis to run automatically
+onboarding.tutorial.with.azure_pipelines.BranchAnalysis.continous_integration.sentence=Under the {tab} tab of your pipeline, check {continuous_integration} and select all the branches for which you want the SonarQube analysis to run automatically.
onboarding.tutorial.with.azure_pipelines.BranchAnalysis.continous_integration.sentence.tab=Triggers
onboarding.tutorial.with.azure_pipelines.BranchAnalysis.continous_integration.sentence.continuous_integration=Enable continuous integration
onboarding.tutorial.with.azure_pipelines.BranchAnalysis.continous_integration.no_branches.sentence=Under the {tab} tab of your pipeline, check {continuous_integration} and select the main branch