Commit Graph

338 Commits

Author SHA1 Message Date
Sébastien Lesaint
5ffbca28be SONAR-12252 upgrade language plugins to latest version 2019-10-15 11:52:16 +02:00
Sébastien Lesaint
51a0370450 fix SonarQube scanner not picking Java language version 2019-10-11 20:21:06 +02:00
Julien Lancelot
056302d0d5 SONAR-12460 Support GitLab Authentication 2019-09-23 20:21:07 +02:00
Sébastien Lesaint
6e203c337d enable testFixtures plugin only on projects with testFixtures source 2019-09-23 20:21:06 +02:00
Pierre Guillot
4d950b9bb3 SONAR-12358 upgrade hazelcast 2019-09-13 20:21:03 +02:00
Sébastien Lesaint
f0f55945b8 use testFixtures instead of test configuration of webserver-ws 2019-09-02 20:21:04 +02:00
Sébastien Lesaint
a1e6688b26 "yarn install" should be executed with option "--frozen-lockfile" 2019-08-30 20:21:02 +02:00
Pierre Guillot
c48a71298c ORCH-437 upgrade orchestrator 2019-08-29 20:21:03 +02:00
Sébastien Lesaint
28147b8b05 update javax-servlet-api to 3.1.0
this is a forgotten version upgrade. recent version of Tomcat support 3.1.0
2019-08-14 20:21:12 +02:00
Michal Duda
d57f3071ec SONAR-12384 update gradle build 2019-08-12 20:21:13 +02:00
Sébastien Lesaint
a5c7558400 remove DBUnit 2019-08-09 20:21:24 +02:00
Pierre Guillot
e0cfd1559e SONAR-12363 upgrade jackson version 2019-08-07 20:21:22 +02:00
Pierre Guillot
2e062ee472 SONAR-12362 upgrade tomcat version for security patches 2019-08-07 20:21:22 +02:00
Pierre Guillot
6d87a8d778 Revert "SONAR-12358 fix SSF 85"
This reverts commit 659dc21781b018f5197fa432217e5959044eef7e.
2019-07-31 20:21:14 +02:00
Pierre Guillot
376b23c1a0 SONAR-12358 fix SSF 85 2019-07-31 20:21:14 +02:00
Evgeny Mandrikov
6fa9cf49b7 Usage of Gradle option "--parallel" should be safe
Gradle should not execute several "yarn install" in parallel,
because Yarn doesn't support concurrent access to its global cache.

"task1.mustRunAfter(task2)" ordering has an effect only when both
tasks are scheduled for execution, however currently task
":private:docs:yarn" is not executed during execution of "gradle build".
Therefore "mustRunAfter" should be established between all pairs of
"yarn install" tasks to define their total order and to prevent their
concurrent execution even in case when one or more of these tasks not
scheduled.
2019-07-26 20:21:46 +02:00
Simon Brandhof
4042a05701 SC-795 drop SonarCloud-related modules 2019-07-26 20:21:46 +02:00
Duarte Meneses
2ffc1c1e25 SONAR-12331 Failure at scanner startup when using an early access JRE (because of Gson) 2019-07-24 08:49:42 +02:00
Duarte Meneses
e4c5ada51d Clean deps 2019-07-17 20:21:13 +02:00
Jacek
ce6584b41d Update orchestrator version to latest released 3.26.0.2111 (#1908) 2019-07-10 17:22:54 +02:00
Sébastien Lesaint
4103f40cf5 SONAR-12251 use MsSQL JDBC driver build for Java 11 2019-07-10 08:36:54 +02:00
Simon Brandhof
66d4e6772a SONAR-12246 Remove unused mysql files 2019-07-10 08:36:51 +02:00
Simon Brandhof
5785e1d36c Use Orchestrator RELEASE 2019-07-01 11:52:08 +02:00
Evgeny Mandrikov
b426dd7d8b Output of "javadoc" build tasks should not depend on build number 2019-06-28 08:45:47 +02:00
Evgeny Mandrikov
9ac5c03a53 Usage of Gradle option "--parallel" should be safe
Gradle should not execute several "yarn install" in parallel,
because Yarn doesn't support concurrent access to its global cache.
2019-06-28 08:45:47 +02:00
Julien HENRY
01b285cacc SONAR-12228 Upgrade OkHttp to 3.14.2 2019-06-28 08:45:46 +02:00
Michal Duda
7054dc9bf9 SONAR-12182 drop "sonar.branch" from SQ 2019-06-15 20:21:05 +02:00
Sébastien Lesaint
f7c8d40ae5 SONAR-11871 upgrade elasticsearch to 6.8.0 2019-06-07 20:21:16 +02:00
Evgeny Mandrikov
2ef053d67d Build task ":server:sonar-web:yarn_run" should produce same result outside of CI
While this adds quite some overhead, benefit is that
remote Gradle cache entry can be used locally.
2019-06-07 20:21:13 +02:00
Evgeny Mandrikov
e5f2fdce2f Do not disable recording of code coverage in builds outside of CI
While this adds little overhead, benefit is that
remote Gradle cache entry can be used locally.
2019-06-04 20:21:14 +02:00
Duarte Meneses
c4840639eb SONAR-12037 Run cluster ITs on Cirrus 2019-06-03 20:21:18 +02:00
Duarte Meneses
46b784e1d1 SONAR-11941 Support Oracle 19c 2019-05-31 20:21:12 +02:00
Duarte Meneses
bce7a89a9d Set target and source compatibility for Java 8 for IDEs to load correct language level 2019-05-29 20:21:13 +02:00
Evgeny Mandrikov
94f632211d Gradle cache key for "test" tasks should not depend on build number
Since Gradle 5.0 JaCoCo plugin works with the build cache and parallel
test execution, so this change allows to enable build cache for "test"
tasks in Cirrus CI.
2019-05-28 20:21:09 +02:00
Grégoire Aubert
d98ea4bead SONAR-12109 Fix initial vendor bundle size, and re-activate bundle size checking on CI 2019-05-24 20:21:09 +02:00
Duarte Meneses
09fe643e48 Use "--release" javac option also for tests 2019-05-17 20:21:08 +02:00
Duarte Meneses
d9038b1a79 SONAR-12108 Use SQLServer driver compiled for JRE 8 2019-05-16 20:21:09 +02:00
Duarte Meneses
4b3f7d6e87 Build with Java 11 2019-05-16 20:21:09 +02:00
Simon Brandhof
400a31228d SONARCLOUD-644 fix conflict on javax.email 2019-05-14 20:21:11 +02:00
Tibor Blenessy
1fd715525d Use JaCoCo xml report for coverage (see MMF-1651) (#1526) 2019-05-13 20:21:17 +02:00
Duarte Meneses
cfcd9fa1d8 Upgrade sonar scanner plugin to v2.7.1 2019-05-10 20:21:41 +02:00
Evgeny Mandrikov
a16c34cb9a Since Gradle 5.0 JaCoCo plugin works with the build cache and parallel test execution 2019-05-10 20:21:41 +02:00
Evgeny Mandrikov
3831ff61b7 Upgrade protobuf-gradle-plugin to 0.8.8 2019-05-09 20:21:09 +02:00
Duarte Meneses
f5d436dfcd SONAR-12016 Upgrade SQL Server JDBC Driver v7.2.2 2019-04-30 20:21:08 +02:00
Duarte Meneses
f9adb5f7a8 SONAR-11941 Support Oracle 18c 2019-04-30 20:21:08 +02:00
Duarte Meneses
ff9286920b Upgrade jjwt to v0.10.5 for compatibility with Java 11 2019-04-30 20:21:08 +02:00
Duarte Meneses
599b07aa02 Upgrade shadow plugin to v5.0.0 2019-04-30 20:21:08 +02:00
Duarte Meneses
67bbf94270 Upgrade assertj-core to 3.12.2 and assertj-guava to 3.2.1 for compatibility with Java 11 2019-04-30 20:21:07 +02:00
Duarte Meneses
452a3196d7 Update mybatis to v3.5.1 and mockito to v2.22 2019-04-30 20:21:07 +02:00
Duarte Meneses
15bb1b349e Add missing dependency 'javax.annotation-api' with Java 11 2019-04-30 20:21:07 +02:00
Simon Brandhof
f79d8ec43a SONAR-12000 upgrade commons-codec to 1.12 2019-04-29 20:21:06 +02:00
Sébastien Lesaint
c58d901db8 SONAR-10725 stabilize version of jsoup dependency 2019-04-26 20:21:06 +02:00
Janos Gyerik
518ef24fa4 Add sonar.buildString to builds 2019-04-26 20:21:06 +02:00
Sébastien Lesaint
d9e7cb0204 SONAR-11757 add HtmlFragmentAssert and MimeMessageAssert 2019-04-23 10:37:56 +02:00
Julien Lancelot
3415d88ee4 Upgrade Orchestrator to 3.24.0.1993 2019-04-04 20:21:04 +02:00
Julien Lancelot
03da034980 Upgrade Orchestrator to 3.22.0.1791 (embedding scanner 3.3.0.1492) 2019-04-03 20:21:06 +02:00
Grégoire Aubert
50a5072f5f Update webpack dependencies 2019-03-29 09:44:59 +01:00
Simon Brandhof
8e0777254f Document and upgrade Gradle plugins 2019-03-27 20:21:04 +01:00
Sébastien Lesaint
4e700ebad3 SONAR-11792 update ES compile dependency to 6.6.2 2019-03-19 20:21:24 +01:00
Duarte Meneses
9559abc791 SONAR-11835 Upgrade protobuf v3.7 2019-03-19 20:21:19 +01:00
Julien HENRY
3fcfd3fb44 SONAR-11487 Update OkHttp to 3.14.0 2019-03-18 20:20:58 +01:00
Julien HENRY
f6b2a269c4 SONAR-11795 Drop persistit and move coverage measures computation to CE side 2019-03-08 20:20:55 +01:00
Michal Duda
f1a6f4027d SONAR-11783 updated minor version of jackson libraries 2019-03-08 20:20:55 +01:00
Simon Brandhof
a19ab13f45 SONAR-11680 upgrade Tomcat to 8.5.38 2019-03-07 20:21:00 +01:00
David Rautureau
1c4a379d8d Use Artifactory Cloud (#1175) 2019-02-27 20:20:49 +01:00
Simon Brandhof
27d19d7a35 SONAR-11680 upgrade Tomcat to 8.5.37 2019-02-11 09:11:43 +01:00
Simon Brandhof
8b7cd93d7a Revert "SONAR-11680 upgrade Tomcat to 8.5.37"
This reverts commit 1d12ea0bec.
2019-02-07 17:11:32 +01:00
Simon Brandhof
1d12ea0bec SONAR-11680 upgrade Tomcat to 8.5.37 2019-02-07 17:08:19 +01:00
Simon Brandhof
2505fcc145 Enforce build reproducibility by fixing year in copyright headers 2019-01-16 09:42:58 +01:00
Julien HENRY
364678884b Revert "SONAR-11487 Update OKHttp to 3.11.0"
This reverts commit 8c4f5e460f7400358c20606e5708f5bc5ea4c966.
2018-11-16 20:21:07 +01:00
Julien HENRY
7603295e6d SONAR-11487 Update OKHttp to 3.11.0 2018-11-15 20:20:59 +01:00
Pascal Mugnier
458617e27f SONARCLOUD-45 Advertise featured projects on SonarCloud
* Update code to use the new homepage.json file
* Update fields name
* Add business metric project_public_projects
* Add business metric project_public_loc
* generator of JSON input for SonarCloud homepage
* add generator zip to burgr
* add integration test
* rename "7dNewPullRequests" to "newPullRequests7d"
* Use new 'newPullRequests7d' field
2018-11-01 09:32:49 +01:00
Simon Brandhof
2e599500c5 Use released version of Orchestrator 3.22
[skip ci]
2018-10-03 20:20:52 +02:00
Tom
b5691a997d Replace bintray urls with binaries.sonarsource.com 2018-10-03 09:28:20 +02:00
Simon Brandhof
5f29e7fbfc Fix JaCoCo inclusions 2018-09-21 20:20:54 +02:00
Simon Brandhof
7c794b63a1 SONAR-11268 autoconfig of branch/PR analysis on Cirrus 2018-09-19 10:54:37 +02:00
Simon Brandhof
92b3cb4a98 Fix javadoc encoding 2018-09-19 10:51:43 +02:00
Simon Brandhof
3f671cfcac SONAR-11268 replace Jenkins by Cirrus CI 2018-09-19 10:51:43 +02:00
Eric Hartmann
8a2e911024 Upgrade DBCP 2018-09-07 20:20:55 +02:00
Simon Brandhof
96836ee48e Use inclusion list of file suffixes for license check 2018-08-27 20:21:57 +02:00
Simon Brandhof
560aa9070d Upgrade versions of nodejs and yarn
and use a consistent version across modules
2018-08-27 20:21:57 +02:00
Simon Brandhof
aa107388ac Upgrade Orchestrator to 3.21 2018-08-17 20:21:32 +02:00
Simon Brandhof
5c73266180 Use release version of Orchestrator 2018-08-16 09:45:56 +02:00
Julien Lancelot
898cf6341b Improve search for protobuf files in Intellij
* Apply protobuf plugin pnly when needed
* Exclude protobuf files in generated jar
* Fix usage of 'ide' gradle task
* Enable protobuf plugin only on relevant modules
2018-08-09 20:20:51 +02:00
Simon Brandhof
689a424f73 Mark protobuf Java code as generated in Intellij
[skip ci]
2018-07-30 20:21:23 +02:00
Simon Brandhof
c6a19fae1b Upgrade Orchestrator to 3.20.0.1686
ORCH-426 should fix the false-positives on Oracle tests
2018-07-30 20:21:23 +02:00
Eric Hartmann
9973bacbfa SONAR-10860 Make sonar-web cacheable with sonar-docs 2018-06-29 09:10:19 +02:00
Eric Hartmann
769673ede1 SONAR-10860 Add a zip for documentation 2018-06-29 09:10:18 +02:00
Julien Lancelot
dc5796f962 SONARCLOUD-82 Do not call muppet when downgrading an inactive org. 2018-06-29 09:10:17 +02:00
Simon Brandhof
35b0b905bb Fix the pom of the artifacts deployed from pull requests 2018-06-19 18:34:42 +02:00
Simon Brandhof
335cb65754 Fix configuration of Artifactory in QA tests (#400) 2018-06-19 18:34:42 +02:00
Sébastien Lesaint
b4eb0429be make yguard.xml files available from burgr 2018-06-19 18:34:24 +02:00
Simon Brandhof
414fe2a804 Consistent groupId for private modules 2018-06-14 20:20:53 +02:00
Simon Brandhof
df42631726 SONAR-10690 upgrade to released orchestrator 3.19 2018-06-12 20:21:04 +02:00
Sébastien Lesaint
c4723543ce WIP make ITs run with Core Extensions 2018-06-12 20:21:03 +02:00
Simon Brandhof
7391d7cca8 SONAR-10689 use enterprise edition in IT PluginsTest 2018-06-12 20:21:02 +02:00
Simon Brandhof
080086fbf2 Add Gradle task printDependencies 2018-06-12 20:21:02 +02:00
Simon Brandhof
2e762529ec SONARCLOUD-56 support SonarCloud in billing integration tests 2018-06-12 20:21:02 +02:00
Simon Brandhof
197cdc3b55 SONAR-10687 split editions 2018-06-12 20:21:02 +02:00
Simon Brandhof
02f499b51b SONAR-10690 upgrade orchestrator to support editions 2018-06-12 20:21:00 +02:00
Eric Hartmann
d5576133cb BUILD-646 Add Editions to ARTIFACTS_TO_PUBLISH 2018-06-12 20:20:58 +02:00
Eric Hartmann
1dc4a86ad6 SONAR-10687 Create and upload a zip per edition 2018-06-12 20:20:58 +02:00
Julien HENRY
72b91edd71 SONAR-10802 Add TFS PR decoration ITs 2018-06-06 20:20:51 +02:00
Simon Brandhof
7fb43549fb Upgrade MySQL driver from 5.1.42 to 5.1.46 2018-05-14 20:20:48 +02:00
Simon Brandhof
9f450751b9 Upgrade postgresql driver from 42.2.1 to 42.2.2
Fixes a few bugs that should not impact us.
https://jdbc.postgresql.org/documentation/changelog.html#version_42.2.2
2018-05-14 20:20:48 +02:00
Simon Brandhof
63aceccdf9 Upgrade various libraries 2018-05-14 20:20:48 +02:00
Simon Brandhof
bab3c7d684 SONAR-10608 upgrade Jackson to fix vulnerabilities 2018-05-14 20:20:48 +02:00
Simon Brandhof
8daa57d2c7 Upgrade Orchestrator to released version 3.18 2018-05-11 20:20:46 +02:00
Simon Brandhof
95b338ed1b SONAR-10608 Fix vulnerabilities in Jackson JSON parser 2018-04-26 20:20:49 +02:00
Eric Hartmann
9b7da25a62 SONAR-6949 Increase crypted password size 2018-04-17 20:20:47 +02:00
Eric Hartmann
3cc3a8e9e2 Revert "SONAR-6949 Increase crypted password size"
This reverts commit 8e3729ab43842b5f23c431afdd5153c75530aa1d.
2018-04-12 20:20:49 +02:00
Eric Hartmann
93f01b8b2d SONAR-6949 Increase crypted password size 2018-04-12 20:20:49 +02:00
Simon Brandhof
7265b97750 Drop unused dependency org.elasticsearch.test:framework 2018-04-12 20:20:48 +02:00
Simon Brandhof
74a8a758bc Fix build warning "unknown file extension: xxx.pdf" 2018-04-12 20:20:48 +02:00
Simon Brandhof
fb450dde72 Remove unused dependency com.github.tlrx:elasticsearch-test 2018-04-12 20:20:48 +02:00
David Rautureau
f239ffffd3 Fix Artifactory properties 2018-04-10 20:20:54 +02:00
Simon Brandhof
6f01667e7d Remove license noisy logs in build 2018-04-10 20:20:54 +02:00
Simon Brandhof
689bd9e74a Drop calls to Dev Update Center from integration tests 2018-04-05 20:20:48 +02:00
David Rautureau
f71e993f3e Fix publication 2018-04-04 14:40:50 +02:00
David Rautureau
81e92fa096 Fix build 2018-04-04 14:39:44 +02:00
David Rautureau
8955ad9bad BUILD-631 Check project dependencies versions [ci skip] 2018-04-04 14:25:33 +02:00
David Rautureau
a70aa466e5 BUILD-630 Generate javadoc ad sources jars with Gradle only on release branches 2018-04-04 14:25:32 +02:00
David Rautureau
c9e60ded9b BUILD-612 Implement the check of source headers 2018-04-04 14:25:32 +02:00
Simon Brandhof
8c95c38d3a Use repox for Gradle plugins 2018-03-28 20:20:59 +02:00
Simon Brandhof
09d9a4f22e SONAR-9801 Drop noisy logs about java.util.Collections at startup
Upgrading MyBatis from 3.4.4 to 3.4.6 drops the log.
See https://github.com/mybatis/mybatis-3/issues/929
2018-03-28 20:20:59 +02:00
Simon Brandhof
6b44584c0f Fix project versioning 2018-03-23 20:20:53 +01:00
David Rautureau
99da49bb3b Enable deployment of artifacts on release branches 2018-03-22 12:37:47 +01:00
Simon Brandhof
0a9d9db7f8 Single Gradle build for SQ and core plugins 2018-03-22 12:37:47 +01:00
Julien HENRY
4ba6d39806 Force Javadoc encoding to fix build on Windows 2018-03-15 15:57:29 +01:00
Simon Brandhof
8ab2074c40 Fix Gradle hack to resolve Jetty dependency
by upgrading Jetty
2018-03-15 09:42:29 +01:00
Eric Hartmann
d59e156545
Fix Gradle build without credentials 2018-03-15 09:38:35 +01:00
Eric Hartmann
7324f17d4b
Allow to define Artifactory credentials in gradle.properties 2018-03-15 08:03:56 +01:00
Sébastien Lesaint
30aed40665 [build] support optional run of tests in parallel
use -PmaxParallelTests=X (eg, X=4) as command line argument of ./gradlew
2018-03-13 09:12:09 +01:00
Simon Brandhof
b8634fb7e4 Document how to open project in IDE 2018-03-12 09:24:24 +01:00
Simon Brandhof
a0a43512f8 Upgrade mockito from 2.13 to 2.15 2018-03-12 09:24:23 +01:00
David Rautureau
6e548f76fc Add missing properties in Artifactory build info 2018-03-12 09:18:51 +01:00
Simon Brandhof
b048235e14 Add missing dependencies in sonar-scanner-engine 2018-03-09 16:15:11 +01:00
David Rautureau
1a17e4302e Move To Gradle 2018-03-09 11:33:38 +01:00