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
Johannes Schnatterer
ffd69f053c
Jenkins: Success builds when the Quality Gate is passed
2018-07-16 11:54:35 +02:00
Johannes Schnatterer
62e48df785
Jenkins: Also waits for SonarQube quality goal status for PRs.
2018-07-16 11:38:04 +02:00
Johannes Schnatterer
73e6983ad6
Jenkins: Fixes repo name for SonarQube PR analysis
2018-07-12 13:05:42 +02:00
Johannes Schnatterer
36e5a5fc8b
Jenkins: Allows for concurrent builds.
...
On Cloudbees every build is started on a new worker. So no need to
restrict execution.
2018-07-12 13:04:06 +02:00
Johannes Schnatterer
f3374255b5
Jenkins: Declares main branch earlier in the build.
...
Fixes No such property: mainBranch for class: groovy.lang.Binding
2018-07-12 11:46:50 +02:00
Johannes Schnatterer
9519255f8c
Jenkins: Do release build only on main branch.
...
JavaDoc takes ages, we want faster feedback!
2018-07-12 11:15:24 +02:00
Johannes Schnatterer
41a937c15c
Enables syntax completion for ces-build-lib in Jenkinsfile
2018-07-12 11:06:54 +02:00
Johannes Schnatterer
f8b8400dce
Jenkins: Remove maven opts.
...
Randomly failing builds (during JavaDoc or SonarQube) were more likely
to be caused by using "small" instances by default on cloudbees.
2018-07-12 11:01:37 +02:00
Johannes Schnatterer
461645ede9
Jenkins: Tell SQ 2.0.0-m3 is the base branch for now
2018-07-12 10:55:03 +02:00
Johannes Schnatterer
b4a0578ad3
Jenkins: Send emails to last committer only
2018-07-12 10:32:24 +02:00
Johannes Schnatterer
5697c850f3
Jenkins: Updates SonarQube analysis props for SonarCloud and BitBucket.
2018-07-11 18:23:49 +02:00
Johannes Schnatterer
e15787631c
Jenkins: No longer archive artifacts.
...
This consume a lot of space on Jenkins and is not needed very often.
If needed we should deploy SNAPSHOTs to nexus.
2018-07-11 18:10:29 +02:00
Johannes Schnatterer
7cfcc48995
Jenkins: Ignore JavaDoc errors for now.
...
JDK8 is more strict, we should fix this before the next release.
But not at the point where we're migrating our Jenkins.
2018-07-11 18:09:06 +02:00
Johannes Schnatterer
2588dc9271
Jenkins: Use a defined SDK > 1.8.0 u101, as required by maven.
2018-07-11 18:07:26 +02:00
René Pfeuffer
03d5995929
Add release flag to jenkins file
2018-06-27 16:22:39 +02:00
Johannes Schnatterer
21a6b0050a
Jenkins: Find maven warnings and visualize in job
2018-06-27 11:41:25 +02:00
Johannes Schnatterer
e41083628d
Jenkins: Send mail to standard recipients on failed builds.
...
findEmailRecipients() from ces-build-lib works only for Git, not for
hg Repos.
2018-06-27 11:40:29 +02:00
René Pfeuffer
fc55813889
Do not build with profile 'release'
2018-06-07 10:42:25 +02:00
René Pfeuffer
00000a25fd
Set profile for jenkins build
2018-06-04 14:08:54 +02:00
René Pfeuffer
979bbf4084
Add checkout step in jenkins script
2018-05-31 13:48:09 +02:00
René Pfeuffer
b87cb003a4
Add Jenkinsfile
2018-05-31 12:34:34 +02:00