...
- Checkout the SQL code from the appropriate branch
- Checkout the DaticalDB project from the main branch
- Run the deployer through the Command Line Interface (CLI) "hammer groovy deployPackager.groovy", this will includes:
- Create an artifact ( comprised of the DaticalDB project directory)
- After the artifact has been created, the process will be the same in each environment:
- download the artifact
- run the CLI to do a forecast
- run the CLI to execute the deployment itself
...
The file structure is typically as follow:
where:
- portal_sql is the name of your repository,
- sql_code is the name of the directory where the packager will look for new/modified .sql files to package, this directory is reference in the deployPackager.properties in your DaticalDB project
- the sub-directories represent the different kinds of SQL scripts to package. The process order for a commit is the following: ddl, sqlplus, sql, function, packagebody, package, procedure and finally data_dml.
...
That step should look like:
DaticalDB project repo
...
That step should look like:
Build Triggers
...
Check "Delete workspace before build starts", repo is usually small so the cost of cloning it the whole project is negligible compare t to the benefit of a clean environment
Build
This is where the real work is done for the deployer
...