Waldemar Zurowski
6ab9557061
Use safe navigation operator for correct field
...
when checking the time of previous build.
Handles an edge case when there is the very first build for the branch
2020-09-16 14:54:57 +02:00
Waldemar Zurowski
c387c2cb95
Synchronised changes with OS 4.4 branch
2020-09-16 10:23:11 +02:00
Ross Nicoll
bcce0e9519
INFRA-683 Move OS 4.4 release branch builds to linear ( #6705 )
...
* Do not use Security.addProvider(BouncyCastleProvider()) in tests, to avoid disruptions of other tests.
* Forcibly register security providers before starting Jimfs, to resolve a sequencing problem where Jimfs triggers loading of the SFTP filesystem provider, which in turn registers the standard BouncyCastle provider rather than the patched version Corda needs.
* INFRA-683 Move Corda OS release branch builds to serial (#6703 )
Co-authored-by: Waldemar Zurowski <waldemar.zurowski@r3.com>
Co-authored-by: Denis Rekalov <denis.rekalov@r3.com>
Co-authored-by: Waldemar Zurowski <waldemar.zurowski@r3.com>
2020-09-15 13:18:46 +01:00
Waldemar Żurowski
80bac915ee
INFRA-683: manual sync with enterprise 43 ( #6709 )
...
* Add support for handling release candidate for Docker publishing
* Re-enabled Sonatype check
* Artifactory build name includes branch / tag name
* Environment variables sorted alphabetically
2020-09-15 12:10:06 +01:00
Ross Nicoll
b3d9d1291f
INFRA-683 Move Corda OS release branch builds to serial ( #6703 )
...
Co-authored-by: Waldemar Zurowski <waldemar.zurowski@r3.com>
2020-09-14 11:29:42 +01:00
Razvan Codreanu
b2cb0cc51a
INFRA-608 Split out regression test stage ( #6619 )
...
Split out regression test stage to reduce fragility
2020-08-21 11:18:54 +01:00
Waldemar Zurowski
affd9ebad6
Merge branch 'release/os/4.5' into wz/merge-os-45-46-2020-08-07
2020-08-07 12:24:13 +02:00
Waldemar Zurowski
805e9e9f9f
NOTICK: Merging forward updates from OS 4.4 to OS 4.5
2020-08-07 06:16:53 +02:00
Waldemar Zurowski
56b574c66e
Fixed missing elements
2020-08-07 06:07:29 +02:00
Waldemar Żurowski
e524f41738
INFRA-542: Allow change of the default Nexus IQ stage parameter ( #6586 )
...
* adds a parameter to a build
* default value of the parameter is the same as original stage parameter
2020-08-06 20:20:19 +01:00
Waldemar Żurowski
d19c6dddaf
INFRA-541: Remove obsolete jenkins
prefix from Nexus AppID ( #6585 )
2020-08-06 20:17:15 +01:00
Jonathan Locke
530c5eadf8
INFRA-549: Commented out Sonatype checks during regression builds for now. ( #6528 )
...
Commented out Sonatype checks during regression builds for now.
2020-07-30 11:27:45 +01:00
Waldemar Zurowski
02990b9dc0
Merge branch 'release/os/4.5' into wz/merge-os-45-46-2020-07-30
2020-07-30 05:37:46 +01:00
Waldemar Żurowski
a81e871356
NOTICK: Reverted use of Artifactory cache mechanism ( #6526 )
2020-07-30 05:25:01 +01:00
Waldemar Zurowski
0b1ccb48d0
Merge branch 'release/os/4.5' into wz/merge-os-45-46-2020-07-23
2020-07-23 11:31:43 +01:00
Waldemar Zurowski
2e6bd97fe9
Updates
...
* INFRA-508: NexusIQ stage for GA releases updated to `release`
* do not truncate stdio when collecting JUnit tests
2020-07-23 10:46:32 +01:00
Waldemar Zurowski
49c86af354
Merge branch 'release/os/4.4' into wz/merge-os-44-45-2020-07-23
2020-07-23 10:39:12 +01:00
Waldemar Żurowski
14279a30cc
INFRA-508: NexusIQ stage for GA releases updated to release
( #6508 )
2020-07-23 10:36:48 +01:00
Waldemar Zurowski
8ee070953a
Merge branch 'release/os/4.5' into wz/merge-os-45-46-2020-07-22
2020-07-22 13:00:42 +01:00
Waldemar Zurowski
6413873f68
Merge branch 'release/os/4.4' into wz/merge-os-44-45-2020-07-22
2020-07-22 12:57:45 +01:00
Waldemar Żurowski
05532c0419
NexusIQ updates ( #6499 )
...
* every build related to Corda X.Y (GA, RC, HC, patch or snapshot) uses
the same NexusIQ application
* NexusIQ application application *has* to exist before a build starts
2020-07-22 12:41:22 +01:00
Waldemar Zurowski
a90197ed81
Merge branch 'release/os/4.5' into wz/merge-45-46-2020-07-21
2020-07-21 15:59:07 +01:00
Waldemar Zurowski
5ee2626530
Empty JUnit results are not allowed
2020-07-21 15:55:56 +01:00
Viktor Kolomeyko
3e9a8cdfcd
Merge remote-tracking branch 'origin/release/os/4.5' into vkolomeyko/os-4.5-os-4.6-merge
2020-07-20 15:16:33 +01:00
Viktor Kolomeyko
4491abd7ba
Merge remote-tracking branch 'origin/release/os/4.4' into vkolomeyko/os-4.4-os-4.5-merge
2020-07-20 11:51:08 +01:00
Waldemar Żurowski
309d2ec69f
INFRA-330 Use Artifactory as cache for all dependencies ( #6253 )
...
* Use a virtual repo (corda-remotes) containing all Corda repositories with dependencies
* activated when CORDA_USE_CACHE environment variable is set
* Update Jenkins configuration to use new functionality
* it does *not* affect local builds as long as environment variable is not set!
2020-07-17 09:39:45 +01:00
Razvan Codreanu
9b77f9a170
INFRA-435 Don't publish internal releases to Docker ( #6475 )
2020-07-16 16:46:10 +01:00
Waldemar Zurowski
36d70a6d9b
Merge branch 'release/os/4.5' into wz/merge-os-45-46-2020-07-15
2020-07-15 21:36:49 +01:00
Waldemar Zurowski
44b5fd1678
Merge branch 'release/os/4.4' into wz/merge-os-44-45-2020-07-15
2020-07-15 21:35:07 +01:00
Waldemar Zurowski
b58609daba
Correct name of Artifactory repository for publishing releases
2020-07-15 21:33:49 +01:00
Waldemar Zurowski
c8ca7cc579
Merge branch 'release/os/4.4' into wz/merge-45-46-2020-07-15
2020-07-15 12:12:29 +01:00
Waldemar Zurowski
f3d8d0d57d
Merge branch 'release/os/4.4' into wz/merge-44-45-2020-07-15
2020-07-15 10:24:45 +01:00
Waldemar Żurowski
ef9934ed4e
Added build discarder settings back ( #6465 )
...
builds are expired only after 14 days
2020-07-15 10:17:58 +01:00
LankyDan
fdae04fc28
Merge branch 'release/os/4.5' into dan/os-4.5-to-4.6-merge-2020-07-08
2020-07-08 10:44:47 +01:00
LankyDan
c06830d851
Merge branch 'release/os/4.4' into dan/os-4.4-to-4.5-merge-2020-07-01
...
# Conflicts:
# core/src/main/kotlin/net/corda/core/node/ServiceHub.kt
# node/src/integration-test-slow/kotlin/net/corda/node/services/statemachine/StatemachineGeneralErrorHandlingTest.kt
# node/src/integration-test-slow/kotlin/net/corda/node/services/statemachine/StatemachineKillFlowErrorHandlingTest.kt
# node/src/integration-test/kotlin/net/corda/node/flows/FlowEntityManagerTest.kt
# node/src/main/kotlin/net/corda/node/internal/AbstractNode.kt
# node/src/main/kotlin/net/corda/node/services/statemachine/TransitionExecutorImpl.kt
# node/src/main/kotlin/net/corda/node/services/statemachine/interceptors/HospitalisingInterceptor.kt
2020-07-01 17:32:36 +01:00
Razvan Codreanu
bf4d733336
INFRA-371 publish nightly and publish tag to docker hub steps ( #6399 )
2020-06-30 20:12:27 +01:00
Denis Rekalov
e75dc9e415
Merge branch 'release/os/4.5' into denis/CORDA-3856-amqp-header-os-4.6
2020-06-29 13:13:48 +01:00
Denis Rekalov
7686ca2944
Merge branch 'release/os/4.4' into denis/CORDA-3856-amqp-header-os-4.5
2020-06-29 12:35:05 +01:00
Waldemar Żurowski
b21a3c33cd
Added Sonatype check for regression builds ( #6401 )
2020-06-26 10:48:47 +01:00
Waldemar Żurowski
1a7e302d5f
Merge pull request #6385 from corda/release/os/4.5
...
NOTICK Merge OS 4.5 -> OS 4.6
2020-06-20 16:44:14 +01:00
Schife
6a12cf34ad
Merge branch 'release/os/4.4' of https://github.com/corda/corda into INFRA-357
...
Conflicts:
testing/DockerfileJDK11Azul
2020-06-20 11:22:30 +01:00
Razvan Codreanu
e021022d0d
INFRA-357 Publish build tag ( #6375 )
2020-06-20 11:08:52 +01:00
Waldemar Zurowski
1a4efbac7f
Merge branch 'release/os/4.5' into merge-45-to-46
2020-06-19 19:48:08 +01:00
Razvan Codreanu
618f7211bb
NOTICK fix regression jenkinsfile typo ( #6376 )
2020-06-19 18:25:08 +01:00
Waldemar Zurowski
68771cf430
Merge branch 'release/os/4.4' into merge-44-45
2020-06-19 11:02:34 +01:00
Euan Cairncross
4bfb595e57
INFRA-357 - Add release tag Jenkins build for OS 4.4 ( #6362 )
2020-06-18 23:46:29 +01:00
Razvan Codreanu
813e9dd242
INFRA-394 enable full junit log to avoid truncation ( #6368 )
2020-06-18 12:52:33 +01:00
Schife
c47c586955
Merge branches 'release/os/4.5' and 'release/os/4.6' of https://github.com/corda/corda into raz/os45to46
...
Conflicts:
Jenkinsfile
2020-06-12 17:28:40 +01:00
Schife
b39aaacd3a
Merge branch 'release/os/4.4' of https://github.com/corda/corda into raz/os44to45
2020-06-12 15:35:33 +01:00
Razvan Codreanu
2b7c220522
INFRA-387 preallocation and deployNodes migration to Code Checks ( #6339 )
...
* preallocate for slow integration tests as well
2020-06-12 15:30:15 +01:00
Ramzi El-Yafi
b43b34a94b
Merge remote-tracking branch 'origin/release/os/4.5' into ramzi/45-46-merge
2020-06-08 09:37:50 +01:00
Ramzi El-Yafi
40a29869c2
Merge remote-tracking branch 'origin/release/os/4.4' into ramzi/44-45-merge
2020-06-05 15:27:34 +01:00
Schife
5f6f36712f
INFRA-381 correctly merged jenkinsfile
2020-06-05 07:56:37 +01:00
Razvan Codreanu
f27240b1ad
INFRA-381 Removing sonarqube ( #6312 )
2020-06-04 15:06:36 +01:00
Ramzi El-Yafi
6ab6099075
[INFRA-368] Add deployNodes and install gradle tasks ( #6302 )
2020-06-03 14:05:12 +01:00
Waldemar Żurowski
5db44790d7
disableConcurrentBuilds
2020-05-13 17:10:46 +01:00
Stefano Franz
4edf618442
remove throttling
2020-05-13 16:39:55 +01:00
Razvan Codreanu
f4c1119727
INFRA-284 switching from local k8s label ( #6156 )
2020-04-17 15:53:10 +01:00
Razvan Codreanu
4210c0d81f
INFRA-284 switching from local k8s label ( #6157 )
2020-04-17 15:52:47 +01:00
Razvan Codreanu
2ad996c0bd
INFRA-284 Testing out new aks template ( #6150 )
...
* INFRA-284 Testing out new aks template
* INFRA-284 switching back to k8s on all files
2020-04-16 07:56:39 +01:00
Dimitris Gounaris
3dc60aa83f
Make sonarqube step resilient to errors ( #6128 )
...
Co-authored-by: Dimitris Gounaris <dimitrisgounaris@20LDN-MAC257.local>
2020-04-03 15:14:03 +01:00
Dimitris Gounaris
76cf4e6e66
TM-213: Add sonarqube configuration in gradle and jenkinsfile ( #6060 )
...
* Add sonarqube for regression builds
* Remove duplicated script tag
* Add detekt support to sonarqube
Co-authored-by: Dimitris Gounaris <dimitrisgounaris@20LDN-MAC257.local>
2020-04-01 11:03:01 +01:00
Razvan Codreanu
bd197b5229
TM-204 Modifying regression builds to prevent bad dependency graphs ( #6013 )
...
* TM-204 attempting to fix regression builds
* TM-204 attempting to fix regression builds
* TM-204 reverting spring boot version and only removing missing dependency
* TM-204 reverting to original build.gradle
* TM-204 re applying dependency
* TM-204 consolidating dependencies
* TM-204 setting spring boot dependency
* TM-204 reverting and upgrading dependency management plugin version in parent gradle file
* TM-204 apply dependency plugin differently
* TM-204 new gradle files
* TM-204 try and fix corda rpc evaluation
* TM-204 try and fix corda rpc evaluation
* TM-204 separate slow integration and smoke test
* TM-204 modifying regression builds to separate slow integration tests and smoke tests as they sometimes result in a bad gradle dependency graph
* TM-204 separating slow integration tests from the rest
* TM-204 change to allow ci03 to run this jenkinsfile
* TM-204 switching to aks label to allow testing on ci03
* TM-204 now that test was successful, switching back to correct prod label
2020-03-03 11:16:37 +00:00
Razvan Codreanu
c6ab07d92c
TM-197 Fix failing test caused by regression and ignoring flaky DistributedServiceTests ( #5934 )
...
* TM-197 Setting bouncy castle provider in order for the test to pass
* TM-197 setting timeout for all builds at 3 hours
* TM-197 ignoring unstable tests
2020-02-12 14:26:06 +00:00
Razvan Codreanu
42eca48a02
TM-197 Build stability changes ( #5947 )
...
* TM-197 switching 4.3 to use local k8s instances and also make the maximum duration of builds 3 hours, fix 1 test and ignore 2 flaky ones
* update to use local-k8s version of the plugin
Co-authored-by: Stefano Franz <roastario@gmail.com>
2020-02-12 13:58:30 +00:00
Stefano Franz
1d0918cdde
NOTICK - Speed up regression tests ( #5918 )
...
* speed up regression tests
* move to local-k8s for all Jenkins builds
2020-01-31 16:47:24 +00:00
Ramzi El-Yafi
ac8a4fc08c
TM-170 Generic on-demand-test configuration ( #5863 )
...
* Generic on-demand test configuration
* Rename library "magic" string from existing-build-control to
corda-shared-build-pipeline-steps
2020-01-24 11:26:52 +00:00
Ramzi El-Yafi
fe52a415fb
Manual fix of mergr for PR-5797 ( #5856 )
2020-01-24 11:26:52 +00:00
Ramzi El-Yafi
2809c0484d
TM-137 Daily email report for release branch regression tests ( #5797 )
...
* Daily email report for release branch regression tests
* Manual merge fix
2020-01-24 11:26:52 +00:00
Ramzi El-Yafi
9ae60a934c
Strategic fix for allure report generation memory issues ( #5845 )
2020-01-24 11:26:52 +00:00
Ramzi El-Yafi
ffe75db464
TM-170 Generic on-demand-test configuration ( #5863 )
...
* Generic on-demand test configuration
* Rename library "magic" string from existing-build-control to
corda-shared-build-pipeline-steps
2020-01-24 10:39:23 +00:00
Ramzi El-Yafi
b195e4f703
Manual fix of mergr for PR-5797 ( #5856 )
2020-01-16 11:55:01 +00:00
Ramzi El-Yafi
86347abe79
TM-137 Daily email report for release branch regression tests ( #5797 )
...
* Daily email report for release branch regression tests
* Manual merge fix
2020-01-14 11:52:04 +00:00
Ramzi El-Yafi
38fb51b74b
Strategic fix for allure report generation memory issues ( #5845 )
2020-01-14 11:10:42 +00:00
Ramzi El-Yafi
edd1205db1
OS 4.3 -> OS 4.4 Merge ( #5819 )
...
* Prevent on-demand tests re-triggering from branch indexing
* Mark integration test tasks with "big" node taint
* Jenkins file for nightly regression tests (#5786 )
* Jenkins file for nightly regression tests
* Use k8s instead of gke cluster
* DOCS: Update UAT.md (#5602 )
* Fix report generation against regression builds (#5818 )
* Prevent on-demand tests re-triggering from branch indexing
* Mark integration test tasks with "big" node taint
* Jenkins file for nightly regression tests (#5786 )
* Jenkins file for nightly regression tests
* Use k8s instead of gke cluster
Co-authored-by: Stefano Franz <roastario@gmail.com>
Co-authored-by: carolynequinn <44175553+carolynequinn@users.noreply.github.com>
2019-12-20 14:44:45 +00:00
Ramzi El-Yafi
bd436e640d
Fix report generation against regression builds ( #5818 )
2019-12-20 10:11:26 +00:00
Ramzi El-Yafi
3fc916fb6c
Add Allure report generation ( #5776 )
...
* Add Allure report generation
* change test artifact path for allure
2019-12-04 14:49:44 +00:00
Stefano Franz
698909a1ac
disable preallocation on regression builds ( #5743 )
2019-11-19 17:38:38 +00:00
Stefano Franz
138a2f114d
Refresh token by invoking KubeCTL before each Kuberenetes API invocation ( #5732 )
...
* fix merge issue with sidecar image work
* add logic to refresh token in GKE
* set streaming to true
* set streaming to true
* set streaming to false, and increment number of workers for regression test as approaching 1h limit
* set PR build to run unit and integration tests
* try method distribution to see if faster
* rename test stage to reflect the fact it runs unit tests
* remove commented out parallel unit test code
2019-11-19 15:01:42 +00:00
Stefano Franz
7fb404bd85
limit number of builds kept within jenkins history for regression builds ( #5693 )
2019-11-09 08:57:19 +00:00
Stefano Franz
5a0b8c7992
add extra whitespace in jenkins regression build command ( #5665 )
2019-11-04 13:26:43 +00:00
Stefano Franz
e09cd84339
add test time publishing to regression test build ( #5664 )
2019-11-04 13:05:13 +00:00
stefano
d54f2ddd87
fix Library import
2019-11-01 15:57:08 +00:00
stefano
e7e7de1d05
add regression test jenkins file
2019-11-01 15:53:05 +00:00
Stefano Franz
298c91ce82
Webook test branch ( #5528 )
...
* add ability to index by class OR method
* disable unit tests again
* pending commit
* stream output of build for debugging
* remove git from the base image
* re-enable NodeRPCTests
* add ability to distribute tests based on TeamCity CSV output for test times
* try enabling unit tests again after test distribution has been fixed
* refactor BucketingAllocator to be a class, which bucketingAllocatorTask delegates to.
* finishing touches for improved test distribution
* create new pipelines for builds
2019-10-08 16:33:24 +02:00