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
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