- Disabled the wiping of the workspace - Increased the permgen size for the framework build (the distribution module caused permgen errors)
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/5857f68d Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/5857f68d Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/5857f68d Branch: refs/heads/develop Commit: 5857f68d3efd358fcbf0b847322caf42c6f64b83 Parents: d540503 Author: Christofer Dutz <christofer.d...@codecentric.de> Authored: Tue Nov 1 11:49:10 2016 +0100 Committer: Christofer Dutz <christofer.d...@codecentric.de> Committed: Tue Nov 1 11:49:10 2016 +0100 ---------------------------------------------------------------------- Jenkinsfile | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/5857f68d/Jenkinsfile ---------------------------------------------------------------------- diff --git a/Jenkinsfile b/Jenkinsfile index 7b3ac7a..5b054b1 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -45,9 +45,9 @@ node('windows-2012-1') { try { - stage 'Wipe Workspace' + /*stage 'Wipe Workspace' // Clean the entire workspace ... for debugging ... - deleteDir() + deleteDir()*/ stage 'Checkout Upstream Projects' @@ -78,13 +78,12 @@ node('windows-2012-1') { dir('framework') { echo 'Building FlexJS Framework' - bat "mvn -U -X clean ${mavenGoal} ${mavenLocalRepo} -s C:\\.m2\\settings.xml -P apache-snapshots-enabled,build-examples,build-distribution -Dcom.adobe.systemIdsForWhichTheTermsOfTheAdobeLicenseAgreementAreAccepted=3872fc1e" + // It seems the distribution needs a little more perm-gen space. + withEnv(["MAVEN_OPTS=-XX:MaxPermSize=256m"]) { + bat "mvn -U -X clean ${mavenGoal} ${mavenLocalRepo} -s C:\\.m2\\settings.xml -P apache-snapshots-enabled,build-examples,build-distribution -Dcom.adobe.systemIdsForWhichTheTermsOfTheAdobeLicenseAgreementAreAccepted=3872fc1e" + } } - stage 'Release Site Changes' - - echo 'Releasing Site Changes' - }