René Pfeuffer
4b1c74fa78
Try other jgit configuration to prevent flappy git integration tests
2020-03-10 08:25:39 +01:00
René Pfeuffer
2d117648ba
Add possibility to set jgit nfs related config
...
It may be necessary for users to configure jgit behaviour related to
file handling. This commit makes the following two configurations
available (among others):
- core.trustfolderstat
- core.supportsatomicfilecreation
2020-03-09 16:44:42 +01:00
Sebastian Sdorra
d350177b3f
migrate Jenkinsfile from mercurial to git
2020-03-09 08:01:36 +01:00
Sebastian Sdorra
be66f57c49
fix missing image for maven execution
2020-03-03 11:16:12 +01:00
Sebastian Sdorra
21bb9351d2
use jdk 11 in docker for ci build
2020-03-03 11:13:11 +01:00
Rene Pfeuffer
eb81bf4005
Enable tests for mercurial
...
Therefore disable build in docker and use native worker.
2020-02-27 08:36:47 +01:00
Sebastian Sdorra
5cd28f27c6
removed deprecated warnings plugin
2020-02-26 15:14:45 +01:00
Sebastian Sdorra
412cae3c21
do not try to archive restdocs package, because it does not exists anymore
2020-02-25 11:12:04 +01:00
Rene Pfeuffer
94add329eb
Remove wait time for leak preventor
...
This is no longer necessary due to the new SimpleClassLoaderLifeCycle,
that is configured in the jetty startup for integration tests in the
poms of scm-webapp and scm-it.
2020-02-06 10:00:44 +01:00
Sebastian Sdorra
7f471168b6
use jdk-11 for ci builds
2020-02-04 16:07:24 +01:00
Rene Pfeuffer
6a1e153935
Increase timeout
2020-01-31 13:30:15 +01:00
Sebastian Sdorra
98febefa64
fix sonarqube code coverage
2020-01-13 15:56:28 +01:00
Sebastian Sdorra
dce437b82e
do not mark build as unstable if iqserver is not able to analyze
2019-12-19 11:01:12 +01:00
Rene Pfeuffer
fb8d512ec6
Fix integration tests
...
Without this flag, the server will not be shutdown fast
enough between the integration tests of scm-webapp and
scm-it. Therefore the new server cannot start correctly
whicht results in an error (ShutdownMonitor already started)
2019-12-06 13:45:10 +01:00
Sebastian Sdorra
ea2f27b876
use default branch as main branch for jenkins and sonarqube
2019-11-28 10:46:19 +01:00
Sebastian Sdorra
c34900aa30
revert defaultValue change again
2019-08-07 09:15:07 +02:00
Sebastian Sdorra
e9454bb779
revert defaultValue for dockerTag
2019-08-07 07:21:30 +02:00
Sebastian Sdorra
ce882d2ee7
use single quotes for string without interpolation
2019-08-06 16:50:28 +02:00
Sebastian Sdorra
9f0ebe57cd
set default dockerTag to latest
...
Jenkins treat every build parameter as environment variable and empty or null values lead to an error, see https://issues.jenkins-ci.org/browse/JENKINS-38608
2019-08-06 13:57:28 +02:00
Sebastian Sdorra
681d81a8fa
set description for builds with dockerTag parameter
2019-08-06 13:49:04 +02:00
Sebastian Sdorra
036a759447
set defaultValue of dockerTag parameter to an empty string
2019-08-06 13:45:10 +02:00
Sebastian Sdorra
c885385ca4
fix null value as environment variable
2019-08-06 13:32:31 +02:00
Sebastian Sdorra
09068a55d4
push extra docker image tag with hash and version
2019-08-06 13:02:57 +02:00
Sebastian Sdorra
13b5bcbb29
fixed broken build
2019-08-06 11:36:31 +02:00
Sebastian Sdorra
254665099c
added parameter for extra docker tag
2019-08-06 11:32:05 +02:00
Sebastian Sdorra
f6fd25cbc3
reactivate jenkins lifecycle stage
2019-07-31 13:26:58 +02:00
René Pfeuffer
643ed0142a
Deactivate iq server check
2019-02-21 13:32:27 +01:00
Sebastian Sdorra
dfd187a247
integrate sonatype lifecycle analysis into jenkins build
2019-01-30 11:25:01 +01:00
Sebastian Sdorra
f22abaf0e2
fix restdoc generation and append restdoc artifact to buildjob
2019-01-28 14:28:34 +01:00
Sebastian Sdorra
b2e1dcf0e9
archive artifacts if the build runs on the main branch
2019-01-16 14:40:34 +01:00
René Pfeuffer
59e90c0204
Suppress sonar using maven property
2018-12-04 15:52:02 +01:00
Sebastian Sdorra
2383702417
change timeout from 20 to 30 minutes
2018-11-30 09:54:55 +01:00
Johannes Schnatterer
24052d7896
Jenkins: Increases SonarCloud timeout to 5 minutes.
...
Every now and then sonarcloud is under pressure and needs longer
than 2 minutes to call our quality gate webhook.
2018-10-09 11:17:06 +02:00
Sebastian Sdorra
8b81898f7e
Merged in feature/disable_concurrent_builds (pull request #78 )
...
Disable concurrent builds
2018-09-27 11:13:21 +00:00
René Pfeuffer
d8a1089750
Run docker build and deployment only for main branch
2018-09-25 09:22:25 +02:00
Sebastian Sdorra
9e69603de1
added commit hash to docker image tag and trigger deployment job
2018-09-24 17:13:47 +02:00
Sebastian Sdorra
7aeec36120
rename docker build stage to docker
2018-09-24 14:45:15 +02:00
Sebastian Sdorra
a9e590d474
push latest tag of docker image
2018-09-24 14:34:37 +02:00
Sebastian Sdorra
8e153bf95d
merge repository heads
2018-09-24 14:33:45 +02:00
René Pfeuffer
4fb1fd59ba
Fix docker name
2018-09-24 14:18:24 +02:00
Sebastian Sdorra
db2c7fd509
build only on nodes with label docker
2018-09-24 13:04:03 +02:00
Sebastian Sdorra
c0aaf2f5cb
added docker image build step
2018-09-24 13:03:02 +02:00
René Pfeuffer
e95802490e
new branch
2018-09-21 09:07:12 +02:00
Johannes Schnatterer
2c752f9e8b
Jenkins: Add a global build timeout
...
Prepares migration to oss.cloudogu.com.
There, we're recognized some builds that hang for hours after some
errors.
2018-09-12 18:01:00 +02:00
Johannes Schnatterer
f9a9a94a3f
Jenkins: Run maven build in docker.
...
Prepares migration to oss.cloudogu.com.
There, we're only running on one build node, where concurrent builds
result in failing integration tests, because they all bind to port 8081.
2018-09-12 17:59:03 +02:00
Johannes Schnatterer
006a496d08
Jenkins: Changes name of Sonar instance.
...
Prepares migration to oss.cloudogu.com.
There already is an instance called "sonarcloud.io", which refers to a
different sonarcloud organization.
2018-09-07 10:29:58 +02:00
Sebastian Sdorra
eaa99bf445
mark build as unstable, if an integration test fails
2018-08-07 16:05:44 +02:00
René Pfeuffer
a33c524611
Add integration test stage in CI build
2018-08-06 16:37:22 +02:00
Johannes Schnatterer
ea0aeb9706
Jenkins: Also send "still unstable" emails
2018-07-25 16:27:36 +02:00
Sebastian Sdorra
947b9497d7
set build to unstable if a unit test fails
2018-07-24 10:51:24 +02:00