Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

by default analyzePullRequests should be false #731

Merged
merged 4 commits into from
Oct 5, 2021
Merged

by default analyzePullRequests should be false #731

merged 4 commits into from
Oct 5, 2021

Conversation

s2oBCN
Copy link
Member

@s2oBCN s2oBCN commented Oct 4, 2021

From this isssue #663
Instead of change all the 'quickstarters' is better to change the default behaviour.

Detailed explanation:

As we are always asking for the report of the branch, not for a report of a PR. Then, by default, we should generate a report for the branch, not for the PR.

@@ -50,7 +50,7 @@ class ScanWithSonarStage extends Stage {
.toList()
}
if (!config.containsKey('analyzePullRequests')) {
config.analyzePullRequests = true
config.analyzePullRequests = false
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If true, it will generate a report for the PR, not for the Branch in SonarQu

Copy link
Member

@michaelsauter michaelsauter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look fine to me.

In the future it would be nice to get the PR analysis feature back as I believe that is the only way to really benefit from SQ as a developer. if you don't have PR integration it is just a pain ...

@s2oBCN s2oBCN merged commit 0a8112c into master Oct 5, 2021
@s2oBCN s2oBCN deleted the bugfix/663 branch October 5, 2021 09:42
s2oBCN added a commit that referenced this pull request Oct 5, 2021
* by default analyzePullRequests should be false

(cherry picked from commit 0a8112c)
s2oBCN added a commit that referenced this pull request Oct 5, 2021
* by default analyzePullRequests should be false

(cherry picked from commit 0a8112c)
s2oBCN added a commit that referenced this pull request Nov 5, 2021
* Fix document history in cftp (#707)

remove issues that does not belongs to the cftp document

* by default analyzePullRequests should be false (#731)

* by default analyzePullRequests should be false

* Fix/ra matrix table fit in page 4x (#735)

Add method to convert to nonbreakable unicode charater

* add check for Sonar background task with retry

* add typecheck skip

* move retry to function

* fix text and add check for unknown status

* add examples for the new api and file used

* fix CodeNarc violations

* fix tests

* fix tests, move getTaskResult to service

* update changelog

* When two coded tests are linked to the same test issue the… (#737)

[EDPC-350] When two coded tests are linked to the same test issue the pipeline doesn't fails

* [EDPC-993] The Developer Preview fails because "Duplicated Tests" (#741)

* [EDPC-993] The Developer Preview fails because "Duplicated Tests"

- Added param checkDuplicateTestResults in computeTestDiscrepancies to check or not the duplicate tests results
- Added param checkDuplicateTestResults in matchTestIssuesAgainstTestResults to check or not the duplicate tests results
- In the creation of the documents TRC and CFTR the call to computeTestDiscrepancies method is with the param matchTestIssuesAgainstTestResults=false
  to avoid to check duplications in test results

* Feature/improve functiona testing (#743)

* update date_creation in wiremock files

* Add ods-saas-service component (#607)

* Integrate ods-saas-service component type

* Refactor and create unit test for LeVADocumentUseCase.getReferencedDocumentsVersion (#744)

* Added getVersion

* Updated changelog

(cherry picked from commit f1ea9b7)

* Fix/remove from tip non intalled components (#751)

* Remove from TIP non installed components

(cherry picked from commit 8ddf143)

Co-authored-by: Jorge Romero <jorge.romeropalma@gmail.com>
Co-authored-by: braisvq1996 <bvq1996@gmail.com>
Co-authored-by: Michael Sauter <michael.sauter@boehringer-ingelheim.com>
Co-authored-by: Angel MP <angelmp.mail@gmail.com>
Co-authored-by: Martin Etmajer <martin.etmajer@boehringer-ingelheim.com>
Co-authored-by: Hector Rodriguez Cornejo <hrcornejo@gmail.com>
s2oBCN added a commit that referenced this pull request Nov 30, 2021
* Fix document history in cftp (#707)

remove issues that does not belongs to the cftp document

* by default analyzePullRequests should be false (#731)

* by default analyzePullRequests should be false

* Fix/ra matrix table fit in page 4x (#735)

Add method to convert to nonbreakable unicode charater

* add check for Sonar background task with retry

* add typecheck skip

* move retry to function

* fix text and add check for unknown status

* add examples for the new api and file used

* fix CodeNarc violations

* fix tests

* fix tests, move getTaskResult to service

* update changelog

* When two coded tests are linked to the same test issue the… (#737)

[EDPC-350] When two coded tests are linked to the same test issue the pipeline doesn't fails

* [EDPC-993] The Developer Preview fails because "Duplicated Tests" (#741)

* [EDPC-993] The Developer Preview fails because "Duplicated Tests"

- Added param checkDuplicateTestResults in computeTestDiscrepancies to check or not the duplicate tests results
- Added param checkDuplicateTestResults in matchTestIssuesAgainstTestResults to check or not the duplicate tests results
- In the creation of the documents TRC and CFTR the call to computeTestDiscrepancies method is with the param matchTestIssuesAgainstTestResults=false
  to avoid to check duplications in test results

* Feature/improve functiona testing (#743)

* update date_creation in wiremock files

* Add ods-saas-service component (#607)

* Integrate ods-saas-service component type

* Refactor and create unit test for LeVADocumentUseCase.getReferencedDocumentsVersion (#744)

* Added getVersion

* Updated changelog

(cherry picked from commit f1ea9b7)

* Fix/remove from tip non intalled components (#751)

* Remove from TIP non installed components

(cherry picked from commit 8ddf143)

Co-authored-by: Jorge Romero <jorge.romeropalma@gmail.com>
Co-authored-by: braisvq1996 <bvq1996@gmail.com>
Co-authored-by: Michael Sauter <michael.sauter@boehringer-ingelheim.com>
Co-authored-by: Angel MP <angelmp.mail@gmail.com>
Co-authored-by: Martin Etmajer <martin.etmajer@boehringer-ingelheim.com>
Co-authored-by: Hector Rodriguez Cornejo <hrcornejo@gmail.com>
s2oBCN added a commit that referenced this pull request Dec 1, 2021
* Fix document history in cftp (#707)

remove issues that does not belongs to the cftp document

* by default analyzePullRequests should be false (#731)

* by default analyzePullRequests should be false

* Fix/ra matrix table fit in page 4x (#735)

Add method to convert to nonbreakable unicode charater

* add check for Sonar background task with retry

* add typecheck skip

* move retry to function

* fix text and add check for unknown status

* add examples for the new api and file used

* fix CodeNarc violations

* fix tests

* fix tests, move getTaskResult to service

* update changelog

* When two coded tests are linked to the same test issue the… (#737)

[EDPC-350] When two coded tests are linked to the same test issue the pipeline doesn't fails

* [EDPC-993] The Developer Preview fails because "Duplicated Tests" (#741)

* [EDPC-993] The Developer Preview fails because "Duplicated Tests"

- Added param checkDuplicateTestResults in computeTestDiscrepancies to check or not the duplicate tests results
- Added param checkDuplicateTestResults in matchTestIssuesAgainstTestResults to check or not the duplicate tests results
- In the creation of the documents TRC and CFTR the call to computeTestDiscrepancies method is with the param matchTestIssuesAgainstTestResults=false
  to avoid to check duplications in test results

* Feature/improve functiona testing (#743)

* update date_creation in wiremock files

* Add ods-saas-service component (#607)

* Integrate ods-saas-service component type

* Refactor and create unit test for LeVADocumentUseCase.getReferencedDocumentsVersion (#744)

* Added getVersion

* Updated changelog

(cherry picked from commit f1ea9b7)

* Fix/remove from tip non intalled components (#751)

* Remove from TIP non installed components

(cherry picked from commit 8ddf143)

Co-authored-by: Jorge Romero <jorge.romeropalma@gmail.com>
Co-authored-by: braisvq1996 <bvq1996@gmail.com>
Co-authored-by: Michael Sauter <michael.sauter@boehringer-ingelheim.com>
Co-authored-by: Angel MP <angelmp.mail@gmail.com>
Co-authored-by: Martin Etmajer <martin.etmajer@boehringer-ingelheim.com>
Co-authored-by: Hector Rodriguez Cornejo <hrcornejo@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants