Commit Graph

175 Commits

Author SHA1 Message Date
Sebastian Sdorra
dda761ffc2 Fix unit tests on Java 11 (#1483)
The unit test I18nServlet and MultiParentClassLoaderTest are failing on Java 11.
This is because they mock ClassLoaders which cause a jvm error.

The following tickets describe the problem in more detail:

- https://bugs.openjdk.java.net/browse/JDK-8254969
- https://github.com/mockito/mockito/issues/2043
- https://github.com/mockito/mockito/issues/1696
2020-12-18 14:23:36 +01:00
Eduard Heimbuch
a4f559f9c1 Downgrade Jenkins JDK version to Java 8 (#1473)
* Downgrade Jenkins JDK version to Java 8

The unit tests cannot run properly with Java 11.
We have to downgrade our image to use Java 8
instead until we have fixed this issue.

* Fix unit tests that have not been adapted during
   the failed builds

Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
2020-12-14 11:40:50 +01:00
Eduard Heimbuch
fd898240af Update java 2020-11-03 10:31:12 +01:00
Sebastian Sdorra
ef983b4483 Merge with support/2.6.x branch 2020-10-20 07:55:29 +02:00
Sebastian Sdorra
46bcaa4eff Set support/2.6.x as development and main branch in order to release 2.6.3 2020-10-16 11:46:25 +02:00
Sebastian Sdorra
7ecbd632ba Make development and main branch configurable 2020-10-16 11:43:55 +02:00
Sebastian Sdorra
d6a5c54aba Create junit reports for cypress test and do not fail the build 2020-08-25 11:17:05 +02:00
Sebastian Sdorra
bd08fdbe86 Archive cypress videos and screenshots 2020-08-25 10:31:40 +02:00
Sebastian Sdorra
3d6173c0df Install build packages which are required for cypress e2e tests 2020-08-25 09:45:52 +02:00
Sebastian Sdorra
f0a6a4240b remove wait for sonarqube qualitygate
We do not longer wait for the sonarqube webhook, because nearly every build fails with a timeout.
Incresing the timeout is also no option, because it is already relative high.
2020-06-17 15:31:46 +02:00
Sebastian Sdorra
f085cb7dae write release descriptor to website repository during deploy 2020-06-03 14:41:03 +02:00
Sebastian Sdorra
c26a89680f remove outdated comment 2020-05-27 12:27:03 +02:00
Sebastian Sdorra
10353e015f exclude scm-it from unit test stage 2020-05-27 12:26:11 +02:00
Sebastian Sdorra
a8a7bfb33c added missing profile name in deploy stage 2020-05-26 13:18:59 +02:00
Sebastian Sdorra
de13c90d7d do not activate packaging with performRelease, it must be now activated manually 2020-05-26 13:11:33 +02:00
Sebastian Sdorra
c016cf4dff exclude childs of scm-packaging not only the parent 2020-05-26 11:01:24 +02:00
Sebastian Sdorra
5d8c669b3a fix wrong quotes on excludes 2020-05-26 10:11:19 +02:00
Sebastian Sdorra
0afbd51272 added gpg signing 2020-05-26 09:47:38 +02:00
Sebastian Sdorra
df1c8f5084 quote list of module exclusions 2020-05-26 07:19:46 +02:00
Sebastian Sdorra
a167ed333c build scm-packaging only during deployment 2020-05-25 15:11:21 +02:00
Sebastian Sdorra
2a2fcc318f create reproducible snapshot versions for docker and re enable presentation environment stage 2020-05-25 13:53:44 +02:00
Sebastian Sdorra
92bd41d99f Merge branch 'develop' into feature/packaging 2020-05-25 06:57:22 +02:00
René Pfeuffer
4b8dc4a036 Merge pull request #1163 from scm-manager/bugfix/increase_sq_timeout
increase sonarqube timeout to 10 minutes
2020-05-24 17:07:44 +02:00
Sebastian Sdorra
addf59c965 increase sonarqube timeout to 10 minutes 2020-05-24 15:20:28 +02:00
Sebastian Sdorra
93eab621ed Merge branch 'develop' into feature/packaging
# Conflicts:
#	Jenkinsfile
#	pom.xml
2020-05-23 15:27:43 +02:00
Sebastian Sdorra
9caa3c1b4a use packages instead of packages-test 2020-05-23 15:02:47 +02:00
Sebastian Sdorra
131a302ae8 Merge pull request #1158 from scm-manager/feature/sonar-exclude-frontend-tests
Feature/sonar exclude frontend tests
2020-05-19 11:27:50 +02:00
Sebastian Sdorra
5f2a049c16 do not measure coverage for frontend stories 2020-05-19 10:48:04 +02:00
Konstantin Schaper
448dfb4511 Exclude frontend unit tests from sonar qube code coverage 2020-05-19 08:03:33 +02:00
Sebastian Sdorra
e63889ec8b use packages.scm-manager.org instead of maven.scm-manager.org 2020-05-18 13:46:04 +02:00
Sebastian Sdorra
01a2d6c33a remove old packaging 2020-05-17 12:43:56 +02:00
Sebastian Sdorra
f090c9a6d3 use packages-test for maven repositories 2020-05-17 10:23:29 +02:00
René Pfeuffer
d1c6a33c67 Mark 'develop' as integration branch 2020-05-12 13:05:30 +02:00
René Pfeuffer
567bd26687 Use default version of ces build lib 2020-05-12 11:59:23 +02:00
Sebastian Sdorra
0fc0b71c0b remove Lifecycle stage 2020-05-10 21:47:35 +02:00
Sebastian Sdorra
accdccc5b1 use SonarQube from ces-build-lib 2020-05-10 21:44:13 +02:00
Sebastian Sdorra
339b67f051 update build agent to 11.0.7_10 and mount docker socket 2020-05-10 21:18:51 +02:00
René Pfeuffer
d77d3eb201 Push latest tag for docker 2020-04-22 10:09:38 +02:00
René Pfeuffer
80b843d0bf Reset to original master branch
In case the master branch had been checked out before
with a different commit from an earlier build, we
reset it to the commit from origin.
2020-04-09 21:07:54 +02:00
René Pfeuffer
63b7a1f5a4 Fix config call 2020-03-26 18:43:00 +01:00
Sebastian Sdorra
9a18a1c201 merge with develop branch 2020-03-13 08:06:34 +01:00
Sebastian Sdorra
d64827fc8a fetch branches before master checkout 2020-03-13 07:51:07 +01:00
René Pfeuffer
39bf636e03 Add comments 2020-03-12 10:36:13 +01:00
Sebastian Sdorra
f4962b2ea2 remove old comment 2020-03-11 15:39:31 +01:00
Sebastian Sdorra
997c5b3ce1 fix broken docker image version 2020-03-11 15:36:59 +01:00
Sebastian Sdorra
625bba8cfb fixed missing hypen in snapshot version 2020-03-11 15:30:24 +01:00
Sebastian Sdorra
4f49002f63 tricking lerna to skip worktree clean check 2020-03-11 14:31:21 +01:00
Sebastian Sdorra
bf5be402e0 fixed wrong credentials of maven repository 2020-03-11 14:03:06 +01:00
Sebastian Sdorra
49d62a6559 update pipeline to automate releases 2020-03-11 11:10:06 +01:00
René Pfeuffer
4b1c74fa78 Try other jgit configuration to prevent flappy git integration tests 2020-03-10 08:25:39 +01:00