[
http://mifosforge.jira.com/browse/MIFOSADMIN-170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=62822#action_62822
]
Sumit Shah commented on MIFOSADMIN-170:
---------------------------------------
I attempted to do this by doing the following
1) Build binaries once
2) Fast commit stage build that
2-a) Checks out/updates the workspace and cleans it with git clean -fdx (part
of hudson git scm plugin)
2-b) Compiles, runs unit tests, and packages artifacts with clean package
2-c) Because commit stage build does not need any external resources, it can
run concurrently
2-d) Archive workspace using hudson "Clone Workspace Plugin"
2-e) Trigger downstream secondary build
3) Comprehensive secondary build
3-a) Does not checkout code, instead gets archived workspace from commit
stage build created in 2-d
3-b) invoke: -Pcontinuous-integration,tomcat6x,download-container verify
3-c) archive zip file
This nearly worked except there was a problem with file permissions getting
lost between 2-e and 3-a. This prevented
application/src/main/resources/org/mifos/config/localizedResources/create_props.sh
from being invoked because it did not have the proper permissions.
Potential workarounds:
1) Modify workspace plugin to use tar instead of zip
2) Modify workspace plugin to use java6 only apis for File that allow
permissions to be modified
3) Modify permissions manually using exec plugin
4) Change application/pom.xml to run /bin/bash
src/main/resources/org/mifos/config/localizedResources/create_props.sh instead
of relying on #!
I would opt for 4) and repeat for any other scripts as it is a simple fix that
we can do without having to modify other things (see 1, and 2)
> Split CI build on head-master so second phase runs all acceptance tests
> -----------------------------------------------------------------------
>
> Key: MIFOSADMIN-170
> URL: http://mifosforge.jira.com/browse/MIFOSADMIN-170
> Project: mifos administration
> Issue Type: Story
> Affects Versions: Leila E
> Reporter: jbrewster
> Assignee: Sumit Shah
> Fix For: Cloud Release A
>
>
> Current head-master builds take 25-30 minutes. The majority of this time is
> execution of automated acceptance tests.
> We should change the current head-master build to only run the "smoke" group
> of acceptance tests, then have a dependent hudson job that ones all
> acceptance test on some defined frequency - using the latest stable
> head-master war.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://mifosforge.jira.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues