Repository: flex-falcon
Updated Branches:
  refs/heads/develop ef0095f23 -> 88806c5df


- Playing around with the Jenkinsfile


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

Branch: refs/heads/develop
Commit: 88806c5df4f2e4306a4973b9f034a0c9bed87645
Parents: ef0095f
Author: Christofer Dutz <christofer.d...@codecentric.de>
Authored: Wed Sep 21 12:41:30 2016 +0200
Committer: Christofer Dutz <christofer.d...@codecentric.de>
Committed: Wed Sep 21 12:41:30 2016 +0200

----------------------------------------------------------------------
 Jenkinsfile | 28 +++++++++++++++++++---------
 1 file changed, 19 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/88806c5d/Jenkinsfile
----------------------------------------------------------------------
diff --git a/Jenkinsfile b/Jenkinsfile
index 548380e..6325285 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -19,11 +19,17 @@ node('windows-2012-1') {
 
         stage 'Checkout Upstream Projects'
 
-            echo 'checking out flexjs-typedefs for branch'
-            git url: 
"https://git-wip-us.apache.org/repos/asf/flex-typedefs.git";, branch: 
env.BRANCH_NAME
-
-            echo 'checking out flexjs-framework for branch'
-            git url: "https://git-wip-us.apache.org/repos/asf/flex-asjs.git";, 
branch: env.BRANCH_NAME
+            ws('typedefs') {
+                echo 'checking out flexjs-typedefs for branch'
+                //checkout([$class: 'GitSCM', branches: [[name: 
env.BRANCH_NAME]], userRemoteConfigs: [[url: 
'https://git-wip-us.apache.org/repos/asf/flex-typedefs.git']]])
+                git url: 
"https://git-wip-us.apache.org/repos/asf/flex-typedefs.git";, branch: 
env.BRANCH_NAME
+            }
+
+            ws('framework') {
+                echo 'checking out flexjs-framework for branch'
+                //checkout([$class: 'GitSCM', branches: [[name: 
env.BRANCH_NAME]], extensions: [[$class: 'RelativeTargetDirectory', 
relativeTargetDir: 'framework']], userRemoteConfigs: [[url: 
'https://git-wip-us.apache.org/repos/asf/flex-asjs.git']]])
+                git url: 
"https://git-wip-us.apache.org/repos/asf/flex-asjs.git";, branch: env.BRANCH_NAME
+            }
 
         stage 'Build FlexJS Compiler'
 
@@ -32,13 +38,17 @@ node('windows-2012-1') {
 
         stage 'Build FlexJS Typedefs'
 
-            echo 'Building FlexJS Typedefs'
-            bat 'mvn -U clean deploy -s C:\\.m2\\settings.xml -P 
apache-snapshots-enabled 
-Dcom.adobe.systemIdsForWhichTheTermsOfTheAdobeLicenseAgreementAreAccepted=3c9041a9,3872fc1e'
+            ws('typedefs') {
+                echo 'Building FlexJS Typedefs'
+                bat 'mvn -U clean deploy -s C:\\.m2\\settings.xml -P 
apache-snapshots-enabled 
-Dcom.adobe.systemIdsForWhichTheTermsOfTheAdobeLicenseAgreementAreAccepted=3c9041a9,3872fc1e'
+            }
 
         stage 'Build FlexJS Framework'
 
-            echo 'Building FlexJS Framework'
-            bat 'mvn -U clean install -s C:\\.m2\\settings.xml -P 
apache-snapshots-enabled,build-examples,build-distribution 
-Dcom.adobe.systemIdsForWhichTheTermsOfTheAdobeLicenseAgreementAreAccepted=3872fc1e'
+            ws('framework') {
+                echo 'Building FlexJS Framework'
+                bat 'mvn -U clean install -s C:\\.m2\\settings.xml -P 
apache-snapshots-enabled,build-examples,build-distribution 
-Dcom.adobe.systemIdsForWhichTheTermsOfTheAdobeLicenseAgreementAreAccepted=3872fc1e'
+            }
 
         stage 'Release Site Changes'
 

Reply via email to