Commit graph

592 commits

Author SHA1 Message Date
Christoph Wolfes
cfdfed410a updates java version and jaxb dep to work with java 11 2020-08-19 09:30:02 +02:00
Philipp Pixel
c602b83282
Support Java 11 JDK: replace maven plugin and legacy runtime libs
Cobertura is a maven plugin for test reporting. Cobertura is going to be
abandoned in terms of supporting Java versions >= 8. In order to natively
support Java 11 a different maven plugin was already used in the Jenkinsfile,
Jacoco. Jacoco is supports Java 11 out of the box. Only the already used
version needed a small upgrade to work.

Additionally, some runtime libraries are no longer bundled with Java 11
(like com.sun.* or Java EE libraries). These dependencies are now added
as explicit dependencies in the pom file.
2020-05-07 15:05:28 +02:00
schnatterer
1cb8440818
Jenkins: Use stable ces-build-lib version 2020-02-11 16:10:59 +01:00
Johannes Schnatterer
b3f14c3114 Jenkins: Update ces-build-lib in order to fix #6 2019-05-10 16:15:49 +02:00
Robert Auer
a99b5f3e16
Merge pull request #5 from cloudogu/feature/4_update_jenkinsfile
Updates jenkinsfile
2019-02-18 07:31:59 +01:00
CloudoguNguyen
827a7ff7bd Updates jenkinsfile
Removes parallel execution of stages "test" and "integration test"
2019-02-04 14:39:34 +01:00
Robert Auer
c98cfbc6b4
Fix typo 2018-12-07 08:03:15 +01:00
Johannes Schnatterer
083e4eff69 Creates a CES-specific readme 2018-11-01 10:18:51 +01:00
Johannes Schnatterer
032c176eb2 Jenkins: Adapts stage names to cloudogu best practices 2018-07-31 10:09:55 +02:00
Johannes Schnatterer
e410409931 Jenkins: Deploy to Nexus 3 2018-07-25 14:24:26 +02:00
Johannes Schnatterer
6efb656930 Jenkins: Verify integration tests.
Makes Jenkins fail on failing integration test.
2018-07-24 10:31:45 +02:00
Johannes Schnatterer
96703840b6 #1 Jenkins: Trigger SonarQube via ces-build-lib 2018-07-24 08:51:16 +02:00
Johannes Schnatterer
cd65c32c2e Jenkins: Simplifies pipeline 2018-07-18 17:06:10 +02:00
Johannes Schnatterer
79b6805639 Updates to newest ces-build-lib version.
Allows nexus deployment even when the hostname contains dots or starts with a number...
2018-07-10 16:42:15 +02:00
Johannes Schnatterer
d94ecfaa3f Introduces ces-build-lib for maven and deployment to nexus 2018-07-09 16:22:39 +02:00
Sebastian Sdorra
d5d8a83ddc Merge branch 'master' of https://ecosystem.cloudogu.com/scm/git/qs-tag/spring-petclinic 2018-05-16 16:42:53 +02:00
Johannes Schnatterer
54d996f402 Jenkins: Disables concurrent builds.
Because ITs use the same port causing random failures on concurrent builds.
2018-01-09 16:20:24 +01:00
Johannes Schnatterer
3c5b37e451 Jenkins: Init global variables in order to avoid NPE.
Occurs in Jenkins ver. 2.73.3 and Pipeline: Groovy Plugin 2.42.

java.lang.NullPointerException
	at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.GroovyCallSiteSelector.isVarArgsMethod(GroovyCallSiteSelector.java:231)
	at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.GroovyCallSiteSelector.findMatchingMethod(GroovyCallSiteSelector.java:200)
	at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.GroovyCallSiteSelector.staticMethod(GroovyCallSiteSelector.java:193)
	at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SandboxInterceptor.onStaticCall(SandboxInterceptor.java:153)
	at org.kohsuke.groovy.sandbox.impl.Checker$2.call(Checker.java:186)
	at org.kohsuke.groovy.sandbox.impl.Checker.checkedStaticCall(Checker.java:190)
	at org.kohsuke.groovy.sandbox.impl.Checker.checkedCall(Checker.java:97)
	at com.cloudbees.groovy.cps.sandbox.SandboxInvoker.methodCall(SandboxInvoker.java:17)
	at WorkflowScript.run(WorkflowScript:42)
	at ___cps.transform___(Native Method)
2017-12-12 12:46:44 +01:00
Johannes Schnatterer
6ec7e7eee2 Jenkins: Removes deploy application stage.
Makes pipeline less dependent to its environment. No longer needs a preconfigured slave an a host to deploy the petclinic to via SSH. The demo content can now be used on more environments.
2017-12-12 09:25:47 +01:00
Johannes Schnatterer
b5b2dcf1c1 Jenkins: Discover FQDN from env var instead of using hard-coded one.
Makes pipeline less dependent to environment.
2017-12-12 09:22:29 +01:00
Sebastian Sdorra
fd8aca6d44 added smeagol configuration 2017-11-03 14:55:32 +01:00
Johannes Schnatterer
ef3e3defd4 Jenkins: Archive JUnit results also on failing tests 2017-10-10 16:46:19 +02:00
Johannes Schnatterer
e92ae405dd Jenkins: Run Test & Deploy stages in parallel 2017-10-09 15:31:28 +02:00
Philipp Czora
f4ebbafc14 Adds .smeagol.yml and renames smeagol main page 2017-10-09 15:02:25 +02:00
Philipp Czora
a33431821b Adds smeagol example 2017-10-09 09:56:08 +02:00
Philipp Czora
0f708a3709 Unignores integration test 2017-10-05 12:47:23 +02:00
Philipp Czora
3ca5d64a22 Adds integration test & edits Jenkins pipeline accordingly 2017-10-05 10:00:45 +02:00
Sebastian Sdorra
67481fe73b Fixes ansible deployment 2017-09-27 08:53:56 +02:00
Sebastian Sdorra
d55ae63656 Use snapshot version for demo 2017-09-27 08:37:58 +02:00
Sebastian Sdorra
f24fb87c1e Adds basic ansible deployment 2017-09-26 17:30:07 +02:00
Sebastian Sdorra
63d5dd3299 Fixes build and nexus deployment 2017-09-26 16:34:57 +02:00
Sebastian Sdorra
3b471b46c5 Adds Jenkinsfile 2017-09-25 15:14:26 +02:00
Jeric Bryle Sy Dy
cdbfafe077 set pet to owner to avoid null owner when user gets an error on new pet page 2017-09-21 13:31:05 +01:00
Dave Syer
101c9dc690 Update Spring Boot and Thymeleaf versions 2017-06-30 11:07:07 +01:00
Antoine Rey
ffa967c94b spring-petclinic-angular1 repo renamed to spring-petclinic-angularjs 2017-04-12 21:41:00 +02:00
Antoine Rey
fd1c742d4f Do not fail maven build when git directing is missing 2017-03-06 08:12:14 +00:00
Stephane Nicoll
f792522b3d Merge pull request #229 from henri-tremblay:ehcacheback
* pr/229:
  Polish contribution
  Put Ehcache back
2017-02-17 12:32:01 +01:00
Stephane Nicoll
75912a06c5 Polish contribution
Closes gh-229
2017-02-17 12:30:57 +01:00
Henri Tremblay
443d35eae2 Put Ehcache back 2017-02-17 06:22:26 -05:00
Dave Syer
63dadcc07f Make all entity fields private
Encapsulation is better that way (and tere is a getter for all of them
anyway).
2017-02-03 10:04:36 +00:00
Dave Syer
0a51540ad0 Fix serializability of Vet 2017-02-03 10:03:11 +00:00
Stephane Nicoll
be13722cc5 Polish 2017-02-03 08:37:02 +01:00
Stephane Nicoll
d2ec371496 Restore actuator access with Spring Boot 1.5 2017-02-03 08:36:48 +01:00
Stephane Nicoll
126bd97971 Polish 2017-02-03 08:36:08 +01:00
Dave Syer
c7657df854 Remove ehcache (at least temporarily)
The fact that it was still there on the classpath means it needs to
be configured (and fails silently if you don't). Removed to give
us some tmie to reconsider.
2017-02-02 16:04:55 +00:00
Huang YunKun
e8882e8b27 Update CacheConfig link 2017-02-02 16:56:54 +01:00
Dave Syer
90b8df9319 Update to 1.5.1 2017-01-31 15:51:55 +00:00
Dave Syer
80269539e2 Configure caching properly to avoid error in vets 2017-01-08 15:45:30 +00:00
Dave Syer
0f840cd50b Change artifactId to 'spring-petclinic' 2016-12-20 10:47:45 +00:00
Dave Syer
6da37c30d3 Use default cache configuration 2016-12-06 12:04:23 +00:00