Commit Graph

31 Commits

Author SHA1 Message Date
Mat Sutcliffe
4030a1a730 [Jenkinsfile] Check that submodules contain a branch pointing to HEAD with the same name as the superproject branch. 2019-09-16 22:40:46 +01:00
Mat Sutcliffe
6dffe81391 [Jenkinsfile] Configure a proper quality gate in recordIssues.
Differential Revision: https://dev.swift-project.org/D109
2019-09-16 22:40:43 +01:00
Mat Sutcliffe
4fa9c5b765 [Jenkinsfile] New branch naming scheme. 2019-05-22 13:41:08 +01:00
Mat Sutcliffe
8915625357 [Jenkinsfile] Configuration to discard old builds. 2019-05-13 11:20:32 +02:00
Mat Sutcliffe
821ebffbcf [Jenkinsfile] Publish artifacts to datastore for both dev and release branches. 2019-05-13 11:20:32 +02:00
Mat Sutcliffe
c1f0aa72b7 [Jenkinsfile] Removed redundant redefinitions of global variables. 2019-05-13 11:20:31 +02:00
Mat Sutcliffe
32a3c561f7 [Jenkinsfile] Use Warnings Next Generation plugin 2019-05-13 11:20:31 +02:00
Mat Sutcliffe
bb59007656 D99 Enable compiler caches 2019-04-12 13:30:48 +01:00
Roland Rossgotterer
5ea8b7376e Limit symbol file uploading to develop and release branches 2019-02-22 20:36:25 +00:00
Mat Sutcliffe
a627752d44 [Jenkinsfile] Ref D94 Send notification to Discord. 2019-02-22 20:35:52 +00:00
Mat Sutcliffe
a8eec53b92 [Jenkinsfile] Regex: escape . character and don't assume version parts are single digits. 2019-02-22 20:35:52 +00:00
Mat Sutcliffe
e5ed034023 Pruned gitignore files. 2019-02-22 20:35:21 +00:00
Mat Sutcliffe
86b236e366 [Jenkinsfile] Slack notification: use STAGING_REF if available, instead of branch name. 2019-02-22 20:35:21 +00:00
Mat Sutcliffe
b213a90741 [Jenkinsfile] Reverted "Run arc patch when triggered by Differential."
Not needed when using a staging repository.
2019-02-22 20:35:20 +00:00
Mat Sutcliffe
96b77c64d8 [Jenkinsfile] Shebang needed for bash to recognise the here-string syntax. 2019-02-22 20:35:15 +00:00
Mat Sutcliffe
e61cdda8cf [Jenkinsfile] Use 'master' node for steps that don't actually compile code.
This avoids unnecessary delays by reducing contention with the 'linux' node
when multiple branches are building.
2019-02-22 20:35:14 +00:00
Mat Sutcliffe
ac91c8fa09 [Jenkinsfile] Using scm.branches for Slack as BRANCH_NAME is only available in multi-branch jobs. 2019-02-22 20:35:14 +00:00
Mat Sutcliffe
cec893cc27 [Jenkinsfile] Added an emoji in slack notification message. 2019-02-22 20:35:14 +00:00
Mat Sutcliffe
f86e938943 [Jenkinsfile] Extra info in Slack notification for Differential builds. 2019-02-22 20:35:14 +00:00
Mat Sutcliffe
836c38e50e [Jenkinsfile] Post comment on Differential revision when build finishes. 2019-02-22 20:35:13 +00:00
Mat Sutcliffe
0e9cc15070 [Jenkinsfile] Adjust control flow to report build outcome via Harbormaster. 2019-02-22 20:35:13 +00:00
Mat Sutcliffe
8aabb6cc21 [Jenkinsfile] Constrain abortion of previous running builds triggered by Differential. 2019-02-22 20:35:13 +00:00
Mat Sutcliffe
21cf4de84f [Jenkinsfile] Run arc patch when triggered by Differential. 2019-02-22 20:35:12 +00:00
Mat Sutcliffe
0880a8166a [Jenkinsfile] Style changes. 2019-02-22 20:35:12 +00:00
Mat Sutcliffe
5a17f43a5b Ref T488 Update cppcheck suppressions. 2019-02-22 20:34:56 +00:00
Mat Sutcliffe
82679a3010 Replace qmake variable BLACK_CONFIG with a system based on json files.
The config is loaded from json files by qmake, and we define the qmake
function `swiftConfig` for checking whether a feature is enabled.
This function can be directly used in `buildconfig_gen.cpp.in`,
so the trick with C++ comment tokens in variables is not needed.
2019-02-22 20:23:25 +00:00
Roland Winklmeier
21bc1f7dbe Set end of live date in Jenkins build
Depending on the branch, we override the end of live date relative in month
from the build time.
develop/ builds expire in 6 month
release/ builds expire in 12 month
all others expire in 3 month.

ref T319
2018-11-04 17:42:43 +01:00
Roland Winklmeier
943aab837c Upload all artifacts (including xswiftbus) to the correct datastore folder 2018-08-09 20:32:31 +02:00
Roland Winklmeier
2f4887b5cf Add publishCppcheck to Jenkins Pipeline
This was not supported by the plugin previously, but got now fixed in the
last version.
2018-08-07 20:41:00 +02:00
Roland Winklmeier
8dd22a18b5 Jenkinsfile fixes
- Mark build with warnings unstable
- Do not set the global build status to failure if a single build failed
2018-06-18 03:04:49 +02:00
Roland Winklmeier
d41bd1d26c Add Jenkinsfile 2018-06-18 03:04:21 +02:00