aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web
diff options
context:
space:
mode:
authormickael-caro-sonarsource <50556955+mickael-caro-sonarsource@users.noreply.github.com>2019-07-08 13:30:11 +0200
committersonartech <sonartech@sonarsource.com>2019-07-10 08:36:51 +0200
commitfbcd3b7693d858542eb778baf6e85ebedea3b51a (patch)
treeef62594a7dcd744ba689556671c156f1a2bdb1b9 /server/sonar-web
parent8d317e8bffa615d38ecc24d5715060f66f58860a (diff)
downloadsonarqube-fbcd3b7693d858542eb778baf6e85ebedea3b51a.tar.gz
sonarqube-fbcd3b7693d858542eb778baf6e85ebedea3b51a.zip
MMF-1737 Analyze Bitbucket repositories with Azure Pipelines (#1879)
* SC-762- Tutorial for new BbC projects should mention support of Azure Pipelines * Updated tutorial for bitbucketcloud * SC-801 - Organization and its eventual app install related entity are now mandatory while targeting a bound project on ALMs. * SC-801 --TEMP Added INFO logs * SC-801 - Added back return of alm binding if no project alm is present. * SC-801 - Fixed added log, failing unit tests before. * SC-801 - Added extra logs (TEMP) * SC-801 - Reverted unwanted imports. * SC-801 - Adaptation of UT following the add of logs TO BE REVERTED ONCE OK * SC-801 - Changed newly added log levels to debug to see if they are popping in the CE logs. * SC-801 - Add constant for Bitbucket API Version in its REST client. * SC-760 - Updated documentation to support Azure Pipelines. * SC-801 - Reverted all temporary logs * fixup! SC-760 - remove inside file links to avoid failing of unint tests. * SC-801 - Fixes after review * SC-760 - Splited documentation to 3 in total, with azure pipelines and bitbucket pipelines. * SC-762 - Updated Snapshot * SC-762 - Updated onboarding tutorial + documentation * SC-762 - Updated formating of .tsx following yarn validate. * SC-801 - Added unit tests + removed codesmell * SC-760 - Updated documentation markdowns for Bitbucket. * SC-801 - Removed unused import. * SC-801 - Updated failing unit tests. * SC-801 - Fix typo * SC-801 - Resolving issues following analysis by SQ
Diffstat (limited to 'server/sonar-web')
-rw-r--r--server/sonar-web/src/main/js/apps/tutorials/analyzeProject/AnalyzeTutorialSuggestion.tsx14
-rw-r--r--server/sonar-web/src/main/js/apps/tutorials/analyzeProject/__tests__/__snapshots__/AnalyzeTutorialSuggestion-test.tsx.snap17
2 files changed, 12 insertions, 19 deletions
diff --git a/server/sonar-web/src/main/js/apps/tutorials/analyzeProject/AnalyzeTutorialSuggestion.tsx b/server/sonar-web/src/main/js/apps/tutorials/analyzeProject/AnalyzeTutorialSuggestion.tsx
index fb2428ad727..4eca0f23f76 100644
--- a/server/sonar-web/src/main/js/apps/tutorials/analyzeProject/AnalyzeTutorialSuggestion.tsx
+++ b/server/sonar-web/src/main/js/apps/tutorials/analyzeProject/AnalyzeTutorialSuggestion.tsx
@@ -27,25 +27,21 @@ import { Alert } from '../../../components/ui/Alert';
export function TutorialSuggestionBitbucket() {
return (
<Alert className="big-spacer-bottom" variant="info">
- <p>{translate('onboarding.project_analysis.commands_for_analysis')}</p>
- <p>{translate('onboarding.project_analysis.suggestions.bitbucket')}</p>
<FormattedMessage
- defaultMessage={translate('onboarding.project_analysis.simply_link')}
- id={'onboarding.project_analysis.simply_link'}
+ defaultMessage={translate('onboarding.project_analysis.suggestions.bitbucket')}
+ id={'onboarding.project_analysis.suggestions.bitbucket'}
values={{
link: (
<a
- href={
- getBaseUrl() +
- '/documentation/integrations/bitbucketcloud/#analyzing-with-pipelines'
- }
+ href={getBaseUrl() + '/documentation/integrations/bitbucketcloud/'}
rel="noopener noreferrer"
target="_blank">
- {translate('onboarding.project_analysis.guide_to_integrate_pipelines')}
+ {translate('onboarding.project_analysis.guide_to_integrate_bitbucket_cloud')}
</a>
)
}}
/>
+ <p>{translate('onboarding.project_analysis.suggestions.bitbucket_extra')}</p>
</Alert>
);
}
diff --git a/server/sonar-web/src/main/js/apps/tutorials/analyzeProject/__tests__/__snapshots__/AnalyzeTutorialSuggestion-test.tsx.snap b/server/sonar-web/src/main/js/apps/tutorials/analyzeProject/__tests__/__snapshots__/AnalyzeTutorialSuggestion-test.tsx.snap
index e89e8e2d821..42c061fdfd5 100644
--- a/server/sonar-web/src/main/js/apps/tutorials/analyzeProject/__tests__/__snapshots__/AnalyzeTutorialSuggestion-test.tsx.snap
+++ b/server/sonar-web/src/main/js/apps/tutorials/analyzeProject/__tests__/__snapshots__/AnalyzeTutorialSuggestion-test.tsx.snap
@@ -5,27 +5,24 @@ exports[`renders bitbucket tutorial correctly 1`] = `
className="big-spacer-bottom"
variant="info"
>
- <p>
- onboarding.project_analysis.commands_for_analysis
- </p>
- <p>
- onboarding.project_analysis.suggestions.bitbucket
- </p>
<FormattedMessage
- defaultMessage="onboarding.project_analysis.simply_link"
- id="onboarding.project_analysis.simply_link"
+ defaultMessage="onboarding.project_analysis.suggestions.bitbucket"
+ id="onboarding.project_analysis.suggestions.bitbucket"
values={
Object {
"link": <a
- href="/documentation/integrations/bitbucketcloud/#analyzing-with-pipelines"
+ href="/documentation/integrations/bitbucketcloud/"
rel="noopener noreferrer"
target="_blank"
>
- onboarding.project_analysis.guide_to_integrate_pipelines
+ onboarding.project_analysis.guide_to_integrate_bitbucket_cloud
</a>,
}
}
/>
+ <p>
+ onboarding.project_analysis.suggestions.bitbucket_extra
+ </p>
</Alert>
`;