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

2016-09-21 Thread cdutz
Repository: flex-falcon
Updated Branches:
  refs/heads/develop 1e21db9de -> e0a333fca


- 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/e0a333fc
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/e0a333fc
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/e0a333fc

Branch: refs/heads/develop
Commit: e0a333fca94ff39ddd1e23cba347333b5930df81
Parents: 1e21db9
Author: Christofer Dutz 
Authored: Wed Sep 21 10:29:19 2016 +0200
Committer: Christofer Dutz 
Committed: Wed Sep 21 10:29:19 2016 +0200

--
 Jenkinsfile | 10 --
 1 file changed, 4 insertions(+), 6 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/e0a333fc/Jenkinsfile
--
diff --git a/Jenkinsfile b/Jenkinsfile
index 635c407..8ee44bc 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -1,12 +1,10 @@
 #!groovy
 
-###
-#
-# Pipeline as code for building FlexJS on Jenkins using the Pipeline Plugin.
-#
-###
+// Pipeline as code for building FlexJS on Jenkins using the Pipeline Plugin.
 
-node('windows') {
+// Run only on the windows-2012-1 agent as this is the only one setup to fully
+// support FlexJS builds.
+node('windows-2012-1') {
 
 currentBuild.result = "SUCCESS"
 



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

2016-09-21 Thread cdutz
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 
Authored: Wed Sep 21 10:21:17 2016 +0200
Committer: Christofer Dutz 
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 000..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: 'x...@.com',
+replyTo: 'y...@.com',
+subject: 'project build failed',
+to: 'z...@y.com'
+
+throw err
+}
+
+
+}
\ No newline at end of file