Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Molinaro
tap_schema_manager
Commits
8c120f06
Commit
8c120f06
authored
Jan 26, 2018
by
Sonia Zorba
Browse files
Fixed build.sh e gitlab-ci after creation of TASMAN-bom
parent
e922d689
Pipeline
#101
passed with stage
in 17 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
8c120f06
build
:
script
:
"
cd
TASMAN-core;
mvn
clean
install
-P
Test
-Dmysql_host=localhost
-Dmysql_port=3306
-Dmysql_user=tasman_tester
-D
mysql_password=tasman_tester
-Dpostgres_host=localhost
-Dpostgres_port=5432
-Dpostgres_user=tasman_tester
-Dpostgres_password=tasman_tester
-Dpostgres_database=tasman_test"
script
:
"
cd
TASMAN-bom;
mvn
clean
install;
cd
../
TASMAN-core;
mvn
clean
install
-P
Test
-Dmysql_host=localhost
-Dmysql_port=3306
-Dmysql_user=tasman_tester
-D
mysql_password=tasman_tester
-Dpostgres_host=localhost
-Dpostgres_port=5432
-Dpostgres_user=tasman_tester
-Dpostgres_password=tasman_tester
-Dpostgres_database=tasman_test"
README.md
View file @
8c120f06
...
...
@@ -15,6 +15,8 @@ See also the [CHANGELOG](CHANGELOG.md).
3.
`./build.sh <command>`
, commands are:
*
**core**
build only TASMAN core
*
**test**
: run tests; you need to create a
`test.properties`
file containing a configuration for connecting to a MySQL and a Postgres test database
*
MySQL testing database needs to have
`default-storage-engine = innodb`
configured into
`/etc/my.cnf`
*
Postgres 9.3+ is required
*
**glassfish**
: build GlassFish war package
*
**tomcat**
: build Tomcat war package (using config.properties file)
*
**embedded**
: build embedded package (to be run _locally!_)
...
...
build.sh
View file @
8c120f06
...
...
@@ -24,7 +24,9 @@ function add_properties {
}
function
build_core
{
cd
TASMAN-core
cd
TASMAN-bom
mvn
-q
clean
install
cd
../TASMAN-core
mvn
-q
clean
install
if
[
"
$?
"
-ne
0
]
;
then
echo
"[ERROR] Error in
${
FUNCNAME
[0]
}
"
...
...
@@ -35,7 +37,9 @@ function build_core {
}
function
test_core
{
cd
TASMAN-core
cd
TASMAN-bom
mvn
-q
clean
install
cd
../TASMAN-core
$(
add_properties
"mvn clean install -P test"
$test_config_file
)
if
[
"
$?
"
-ne
0
]
;
then
echo
"[ERROR] Error in
${
FUNCNAME
[0]
}
"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment