1 changed file
bitbucket-pipelines.yml | ||
Add comment 1 image: maven:3.3.9
Add comment 2
Add comment 3 Minus pipelines:
Add comment 4 Minus default:
Add comment 5 Minus - step:
Add comment 3 Plus definitions:
Add comment 6 4 caches:
Add comment 5 Plus sonar: ~/.sonar/cache
Add comment 6 Plus steps:
Add comment 7 Plus - step: &build-test-sonarcloud
Add comment 8 Plus name: Build, test and analyze on SonarCloud
Add comment 9 Plus caches:
Add comment 7 10 - maven
Add comment 11 Plus - sonar
Add comment 8 12 script:
Add comment 9 Minus - mvn -B verify
Add comment 13 Plus - mvn -B org.jacoco:jacoco-maven-plugin:prepare-agent verify sonar:sonar -Dsonar.projectKey=sonarsource_sample-maven-project -Dsonar.organization=sonarsource-bitbucket
Add comment 14 Plus artifacts:
Add comment 15 Plus - target/**
Add comment 16 Plus
Add comment 17 Plus pipelines:
Add comment 18 Plus default:
Add comment 19 Plus - step: *build-test-sonarcloud
Add comment 20 Plus pull-requests:
Add comment 21 Plus '**':
Add comment 22 Plus - step: *build-test-sonarcloud
Add comment 10 23