Commit graph

33 commits

Author SHA1 Message Date
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
Moritz Eysholdt
a65917cfb1 [gradle] consume and provide local maven repos
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2016-06-17 11:53:45 +02:00
Moritz Eysholdt
2d82866ded send messages to slack
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2016-06-16 15:54:25 +02:00
Miro Spönemann
80c4266713 Skip uploadArchives for test projects 2016-06-15 16:40:42 +02:00
Miro Spönemann
342b401270 Added deployment configuration 2016-06-15 11:03:53 +02:00
Moritz Eysholdt
886754f3c7 added Jenkinsfile
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2016-06-14 15:22:09 +02:00