Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tap_schema_manager
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Marco Molinaro
tap_schema_manager
Commits
8c120f06
There was a problem fetching the pipeline summary.
Commit
8c120f06
authored
7 years ago
by
Sonia Zorba
Browse files
Options
Downloads
Patches
Plain Diff
Fixed build.sh e gitlab-ci after creation of TASMAN-bom
parent
e922d689
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+1
-1
1 addition, 1 deletion
.gitlab-ci.yml
README.md
+2
-0
2 additions, 0 deletions
README.md
build.sh
+6
-2
6 additions, 2 deletions
build.sh
with
9 additions
and
3 deletions
.gitlab-ci.yml
+
1
−
1
View file @
8c120f06
build
:
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"
This diff is collapsed.
Click to expand it.
README.md
+
2
−
0
View file @
8c120f06
...
@@ -15,6 +15,8 @@ See also the [CHANGELOG](CHANGELOG.md).
...
@@ -15,6 +15,8 @@ See also the [CHANGELOG](CHANGELOG.md).
3.
`./build.sh <command>`
, commands are:
3.
`./build.sh <command>`
, commands are:
*
**core**
build only TASMAN core
*
**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
*
**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
*
**glassfish**
: build GlassFish war package
*
**tomcat**
: build Tomcat war package (using config.properties file)
*
**tomcat**
: build Tomcat war package (using config.properties file)
*
**embedded**
: build embedded package (to be run _locally!_)
*
**embedded**
: build embedded package (to be run _locally!_)
...
...
This diff is collapsed.
Click to expand it.
build.sh
+
6
−
2
View file @
8c120f06
...
@@ -24,7 +24,9 @@ function add_properties {
...
@@ -24,7 +24,9 @@ function add_properties {
}
}
function
build_core
{
function
build_core
{
cd
TASMAN-core
cd
TASMAN-bom
mvn
-q
clean
install
cd
../TASMAN-core
mvn
-q
clean
install
mvn
-q
clean
install
if
[
"
$?
"
-ne
0
]
;
then
if
[
"
$?
"
-ne
0
]
;
then
echo
"[ERROR] Error in
${
FUNCNAME
[0]
}
"
echo
"[ERROR] Error in
${
FUNCNAME
[0]
}
"
...
@@ -35,7 +37,9 @@ function build_core {
...
@@ -35,7 +37,9 @@ function build_core {
}
}
function
test_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
)
$(
add_properties
"mvn clean install -P test"
$test_config_file
)
if
[
"
$?
"
-ne
0
]
;
then
if
[
"
$?
"
-ne
0
]
;
then
echo
"[ERROR] Error in
${
FUNCNAME
[0]
}
"
echo
"[ERROR] Error in
${
FUNCNAME
[0]
}
"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment