You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by cd...@apache.org on 2016/09/21 08:21:27 UTC

git commit: [flex-falcon] [refs/heads/develop] - - Added an initial Jenkinsfile in an attempt to add support for the Jenkins Pipeline plugin.

Repository: flex-falcon
Updated Branches:
  refs/heads/develop e9465f470 -> 1e21db9de


- Added an initial Jenkinsfile in an attempt to add support for the Jenkins Pipeline plugin.


Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/1e21db9d
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/1e21db9d
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/1e21db9d

Branch: refs/heads/develop
Commit: 1e21db9deba9f0a2e642aa775ecd389427cd99bc
Parents: e9465f4
Author: Christofer Dutz <ch...@codecentric.de>
Authored: Wed Sep 21 10:21:17 2016 +0200
Committer: Christofer Dutz <ch...@codecentric.de>
Committed: Wed Sep 21 10:21:17 2016 +0200

----------------------------------------------------------------------
 Jenkinsfile | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/1e21db9d/Jenkinsfile
----------------------------------------------------------------------
diff --git a/Jenkinsfile b/Jenkinsfile
new file mode 100644
index 0000000..635c407
--- /dev/null
+++ b/Jenkinsfile
@@ -0,0 +1,51 @@
+#!groovy
+
+###############################################################################
+#
+# Pipeline as code for building FlexJS on Jenkins using the Pipeline Plugin.
+#
+###############################################################################
+
+node('windows') {
+
+    currentBuild.result = "SUCCESS"
+
+    try {
+
+        stage 'Build FlexJS Compiler'
+
+            print 'Building FlexJS Compiler'
+
+        stage 'Build FlexJS Typedefs'
+
+            print 'Building FlexJS Typedefs'
+
+        stage 'Build FlexJS Framework'
+
+            print 'Building FlexJS Framework'
+
+        stage 'Release Site Changes'
+
+            print 'Releasing Site Changes'
+
+        stage 'Cleanup'
+
+            print 'Cleaning up'
+    }
+
+
+    catch (err) {
+
+        currentBuild.result = "FAILURE"
+
+            mail body: "project build error is here: ${env.BUILD_URL}" ,
+            from: 'xxxx@yyyy.com',
+            replyTo: 'yyyy@yyyy.com',
+            subject: 'project build failed',
+            to: 'zzzz@yyyyy.com'
+
+        throw err
+    }
+
+
+}
\ No newline at end of file