| Summary: | One command for soa buid and test | |||
|---|---|---|---|---|
| Product: | [JBoss] JBoss Fuse Service Works 6 | Reporter: | Ryan Zhang <rzhang> | |
| Component: | Build Process | Assignee: | Ryan Zhang <rzhang> | |
| Status: | CLOSED NEXTRELEASE | QA Contact: | ||
| Severity: | high | Docs Contact: | ||
| Priority: | high | |||
| Version: | CONTINUING | |||
| Target Milestone: | --- | |||
| Target Release: | CONTINUING | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| URL: | http://jira.jboss.org/jira/browse/SOA-1419 | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 779000 779001 (view as bug list) | Environment: |
The utility tool(shell script) is used on in Linux
|
|
| Last Closed: | 2011-11-30 17:14:07 UTC | Type: | Task | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
|
Description
Ryan Zhang
2009-07-17 12:38:47 UTC
usage:
build.sh --help
This script is to facilitate soa integration with the following function:
1) check necessary code from svn
2) build and do some verification
3) do smoking test on products
4) email notification
Usage: /home/rzhang/utilities/build.sh -url soa_build_url -email [username@xxxx] basedir
Parameter:
basedir The soa build base direcotry, if not provided, . will be used
Options:
-url yoururl Specify the svn url of soa build code
-email youremail Specify the email which accept the notifications
-smokedir yoursmoketestdir Specify the smoke test code direcotry
-update Need svn update operation, usually in the case already checkouted the code
-smoketestonly Smoke test only in the case already with latest build
-username yoursvnname Input your svn username, otherwise build will prompt to let you input later
-password password Input your svn password, otherwise build will prompt to let you input later
-help Display this help text and exit
--help Display this help text and exit
This script needs Internet connections.
example, to build and test SOA-4.3.0.GA_CP02_IR1
Run this:
build.sh -url https://svn.devel.redhat.com/repos/jboss-soa/build-team-tags/SOA-4.3.0.GA_CP02_IR1/build-tools -email rzhang -username ryanzhang -password xxx
A email will be reported at rzhang, like the fowllowing(hopefully):
Check out build-tools from https://svn.devel.redhat.com/repos/jboss-soa/build-team-tags/SOA-4.3.0.GA_CP02_IR1/build-tools ......done!
ant build ......done!
ant release.zip ......done!
Check out smoketest code from https://svn.devel.redhat.com/repos/jboss-soa/trunk/soa-ci/tests/smoketest ......done!
Check the existence of soa version zip file ......done!
Unzip soa version zip ......done!
Check smoketest direcotry existence ......done!
Do smoking test for soa version jboss-soa-p.4.3.0, config all ......done!
Do smoking test for soa version jboss-soa-p.4.3.0, config production ......done!
Do smoking test for soa version jboss-soa-p.4.3.0, config default ......done!
Remove /home/rzhang/lab/soa-4.3.0-CP02-IR1/build-tools/release/jboss-soa-p.4.3.0 ......done!
Check the existence of standalone version zip file ......done!
Unzip standalone version zip ......done!
Check smoketest direcotry existence ......done!
Do smoking test for standalone version jboss-soa-p.4.3.0, config default ......done!
Remove /home/rzhang/lab/soa-4.3.0-CP02-IR1/build-tools/release/jboss-soa-p.4.3.0 ......done!
Job done!
Build on: /home/rzhang/lab/soa-4.3.0-CP02-IR1/smoketest
Linux jawa05.englab.brq.redhat.com 2.6.18-92.1.10.el5xen #1 SMP Wed Jul 23 04:11:52 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
This jira is fixed at r3385 on https://svn.devel.redhat.com/repos/jboss-soa/trunk/utilities/build.sh
Security: Removed: JBoss Internal Added: Public Closing - out of date. |