Commit graph

55 commits

Author SHA1 Message Date
Christian Dietrich
164165c432 update to maven 3.8.5
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2022-03-16 05:39:17 +01:00
Christian Dietrich
d88be1f672 Revert "test with newest platform artifacts"
This reverts commit dd6435e0c8.
2021-12-28 17:16:07 +01:00
Christian Dietrich
dd6435e0c8 test with newest platform artifacts
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2021-12-28 17:09:47 +01:00
Christian Dietrich
0fc2bfd789 update to maven 3.8.4
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2021-12-10 16:01:39 +01:00
Christian Dietrich
e73d69ebc4 [eclipse/xtext#2005] update to maven 3.8.3
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2021-10-06 18:36:54 +02:00
Christian Dietrich
fc8ae5f685 [eclipse/xtext#1995] switch from adoptopenjdk to termurin and provide java 17 jdk
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2021-09-22 18:54:23 +02:00
Christian Dietrich
2156252f88 update to maven 3.8.2
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2021-08-22 09:05:44 +02:00
Christian Dietrich
ec81829f15 replace latest with 16 latest
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2021-08-19 20:37:45 +02:00
Christian Dietrich
af55dff51f [eclipse/xtext#1987] Fix agent label deprecation
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2021-08-13 15:47:00 +02:00
Christian Dietrich
881749ed4a update to maven 3.8.1
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2021-05-21 10:22:04 +02:00
Nico Prediger
683d6fc4cf
[NONE] Fix missing params issue 2020-10-12 09:58:36 +02:00
Karsten Thoms
58d33491fd [eclipse/xtext#1812] Change display name computation
Synched file with implementation from xtext-eclipse

Signed-off-by: Karsten Thoms <karsten.thoms@karakun.com>
2020-08-19 01:40:42 +02:00
Karsten Thoms
752afe3711 [eclipse/xtext#1812] Simplify function javaVersion()
Signed-off-by: Karsten Thoms <karsten.thoms@karakun.com>
2020-08-17 08:50:07 +02:00
Karsten Thoms
76907b6575 [eclipse/xtext#1812] Use explicit Maven version
Signed-off-by: Karsten Thoms <karsten.thoms@karakun.com>
2020-08-17 08:43:39 +02:00
Karsten Thoms
d086b5089a [eclipse/xtext#1812] Display JDK version
Signed-off-by: Karsten Thoms <karsten.thoms@karakun.com>
2020-07-06 14:11:17 +02:00
Karsten Thoms
e9cffa7411 [eclipse/xtext#1812] Propage JDK_VERSION to downstream job
Signed-off-by: Karsten Thoms <karsten.thoms@karakun.com>
2020-07-02 13:48:38 +02:00
Karsten Thoms
fc656ef923 [eclipse/xtext#1812] Use centos-7 pod template & config. JDK
The centos-7 pod template provides a configuration suitable for most
builds. This makes the configuration of the custom container obsolete.

Additionally JDK versions are now selectable by parameter.

Signed-off-by: Karsten Thoms <karsten.thoms@karakun.com>
2020-06-29 09:59:57 +02:00
Christian Dietrich
a82d34d8d1 [eclipse/xtext#1801] increase build timeout
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-06-15 13:53:02 +02:00
Karsten Thoms
ae10bace43 [eclipse/xtext#1769] Removed jnlp image name from pod template
Signed-off-by: Karsten Thoms <karsten.thoms@karakun.com>
2020-05-25 17:37:51 +02:00
Karsten Thoms
582ea14f9d [eclipse/xtext#1595] Escape branch name for k8s label
The k8s agent label becomes invalid when the branch name contains '/'.
ERROR: Labels must follow required specs -
https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set

This change escapes the slash character by underscore.

Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2020-01-20 15:41:16 +01:00
Christian Dietrich
d9b15ed91a [eclipse/xtext#1561] removed superfluous timestamps() config
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2019-10-16 20:46:46 +02:00
Christian Dietrich
14ec337307 fixed settings.xml config in Jenkinsfile
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2019-09-28 10:47:22 +02:00
Nico Prediger
5c3683c635 [eclipse/xtext#1526] Replace Jenkinsfile with content of CBI.Jenkinsfile
This commit purposefully introduces a duplicate Jenkinsfile,
which is meant to be kept long enough for all
branches to receive it.

After this and when the Jenkins jobs point to the new Jenkinsfile,
CBI.Jenkinsfile can be removed without losing build histories in Jenkins

Signed-off-by: Nico Prediger <mail@nicoprediger.de>
2019-07-25 13:23:26 +02:00
Karsten Thoms
63549e32f1 [eclipse/xtext#1508] Fix regression
'No such property: TRIGGER_DOWNSTREAM_BUILD'

Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2019-07-10 23:45:17 +02:00
Karsten Thoms
f614afde0f [eclipse/xtext#1508] Trigger downstream build
Introduce boolean parameter TRIGGER_DOWNSTREAM_BUILD. The parameter
defaults to false normally except for milestone/release branches.
When the TRIGGER_DOWNSTREAM_BUILD flag is set, a test for a downstream
job with the same branch name is done via a curl command. When the
downstream job exists, it is triggered and the parameter value
TRIGGER_DOWNSTREAM_BUILD is propagated.

Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2019-07-10 11:14:56 +02:00
Karsten Thoms
62eab504db [eclipse/xtext#1500] Improve Slack notification
- Reduce envName to known environments per Jenkinsfile type:
  - Jenkinsfile: remove CBI
  - CBI.Jenkinsfile: remove CBI & TF
  - CBI.Jenkinsfile: rename JIPP => JIRO
- Mark FAILURE, ABORTED, NOT_BUILD red
- Report FIXED only when the previous build was finished not with
SUCCESS

Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2019-07-04 09:41:02 +02:00
Christian Dietrich
20667db3ac
Merge pull request #1166 from Hejado/np_issue1463
[eclipse/xtext#1463] Configure timeout & timestamps
2019-06-07 14:18:15 +02:00
Nico Prediger
29bbc7ad3f [eclipse/xtext#1463] Configure timeout & timestamps
Signed-off-by: Nico Prediger <mail@nicoprediger.de>
2019-06-07 11:12:52 +02:00
Nico Prediger
5f69edaaba [eclipse/xtext#1481] Delete org/eclipse/[xtext|xtend] from local .m2
Signed-off-by: Nico Prediger <mail@nicoprediger.de>
2019-06-07 09:32:52 +02:00
Karsten Thoms
90c2d10179 [releng] Prepare migration to JIRO
- [eclipse/xtext#1431] Add resource limits to fix OOM failures
- [eclipse/xtext#1463] Configure job timeouts
- [eclipse/xtext#1465] Use declarative JUnit step
- [eclipse/xtext#1467] Add JIRO as known environment qualifier for build
notification message

Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2019-05-21 11:01:27 +02:00
Karsten Thoms
3eaf869086 [eclipse/xtext#1384] Change Jenkinsfile to Declarative Pipeline
- externalized build steps into shell scripts for convenient local usage
- added Slack notifications
- configure Maven default goal

Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2019-04-17 13:45:15 +02:00
Karsten Thoms
cedd5f30af [eclipse/xtext#1224] Detect local Jenkins environment
Build steps defined in Jenkinsfile pass the built-in environment
variable 'JENKINS_URL' to the Gradle/Maven executions. This is evaluated
in the build scripts for upstream repository URLs. On Xtext JIPP this
will use upstream repos from JIPP. In local builds outside of Jenkins
the property defaults to Typefox CI like before.

Extend function jenkinsPipelineRepo() by upstreamBranch parameter and use this in the call.

Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-09-13 23:55:46 +02:00
Karsten Thoms
8f4213bbbc [eclipse/xtext#1149] Suppress Maven download messages
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2017-11-16 09:31:59 +01:00
Miro Spönemann
89663f6eb9 [build] Test failures make the build 'unstable', not 'failed'; removed obsolete Slack notifications 2017-09-05 15:02:42 +02:00
Miro Spönemann
64700b13f0 [build] Clean xtend-gen before build 2017-01-24 15:24:03 +01:00
Miro Spönemann
c5d26b41b5 [build] Default behavior is to skip the Xtend compiler; activate it with -PcompileXtend=true 2017-01-06 13:57:23 +01:00
Miro Spönemann
aeedcc8ef3 [build] Added BuildDiscarderProperty 2016-12-22 10:09:40 +01:00
Miro Spönemann
1882ad530d [build] Clean locally installed artifacts before Maven build 2016-12-12 10:38:52 +01:00
Miro Spönemann
57650c54f3 Updated to Jenkins version of p2gen plugin 2016-12-08 11:22:30 +01:00
Miro Spönemann
f5f2371777 Merged clean tasks 2016-12-08 11:22:30 +01:00
Miro Spönemann
7d93aed54f Added p2 repo build 2016-12-06 09:52:34 +01:00
Miro Spönemann
661c9ccced Updated to Gradle 3.2 2016-11-18 09:49:49 +01:00
Miro Spönemann
cf71598677 Fixed #45: Made public snapshots + local repo the default configuration 2016-07-20 11:46:34 +02:00
Miro Spönemann
cf60532d44 [build] Moved repository configuration to separate file 2016-07-14 12:22:33 +02:00
Miro Spönemann
0ecb81948d [builde] Readded 'clean' task to enforce running tests 2016-07-14 11:25:18 +02:00
Miro Spönemann
67afccbfbe [build] Apply POM configuration also to local repository, clean local repo 2016-07-14 11:20:44 +02:00
Christian Dietrich
13b95a0d00 always run everything
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2016-06-28 09:34:25 +02:00
Moritz Eysholdt
82f5ebc352 [Jenkinsfile] always collect test results
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2016-06-19 12:48:14 +02:00
Christian Dietrich
d8664b01a8 added test results to Jenkinsfile
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2016-06-17 18:31:28 +02:00
Moritz Eysholdt
825ba2fb46 also tell build to create local maven repo
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2016-06-17 11:56:34 +02:00