Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/CuraEngine.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGhostkeeper <rubend@tutanota.com>2017-08-03 17:17:52 +0300
committerGhostkeeper <rubend@tutanota.com>2017-08-03 17:17:52 +0300
commit566451c000361a0d96ba32bf062bed0ee1422e33 (patch)
tree5433230318bbf30ccd69a50fdce7481b2ded1392 /Jenkinsfile
parent295ef88f081fe63a4cfe9ca1af86a09a1f3b641b (diff)
Add jenkinsfile to start automated CI
No tests yet. We'll do that next.
Diffstat (limited to 'Jenkinsfile')
-rw-r--r--Jenkinsfile25
1 files changed, 25 insertions, 0 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
new file mode 100644
index 000000000..249e5bb31
--- /dev/null
+++ b/Jenkinsfile
@@ -0,0 +1,25 @@
+parallel_nodes(["linux && cura", "windows && cura"]) {
+ stage('Prepare') {
+ step([$class: 'WsCleanup'])
+
+ checkout scm
+ }
+
+ catchError {
+ dir('build') {
+ stage('Build') {
+ def branch = env.BRANCH_NAME
+ if(!fileExists("${env.CURA_ENVIRONMENT_PATH}/${branch}")) {
+ branch = "master"
+ }
+
+ cmake '..', "-DCMAKE_PREFIX_PATH=\"${env.CURA_ENVIRONMENT_PATH}/${branch}\" -DCMAKE_BUILD_TYPE=Release"
+ make
+ }
+ }
+ }
+
+ stage('Finalize') {
+ notify_build_result(env.CURA_EMAIL_RECIPIENTS, '#cura-dev', ['master'])
+ }
+}