Commit ec864f00 authored by JeremJR's avatar JeremJR Committed by GitHub

Merge pull request #64 from bonitasoft/BCD-248_builder-version-compatibility

Explain repository vs. builder version compatibility (BCD-248)
parents 5ba77c8a 13c23543
......@@ -31,7 +31,7 @@ This step creates a `bonita-continuous-delivery/bonita-vacation-management-examp
The next step is to provide all dependencies required to build your repository. Hence the following artifatcs must be present in the `bonita-continuous-delivery/dependencies` directory:
**`bonita-la-builder-<bonita_version>-exec.jar`**
The Bonita Living Application Builder library. Its version must correspond to the **`bonita_version`** configured in your BCD scenario. This is the version of the Bonita stack where generated artifacts will be deployed.
The Bonita Living Application Builder library. Its version must correspond to the **`bonita_version`** variable defined in your BCD scenario. This is the version of the Bonita stack where generated artifacts will be deployed.
For instance the `bonita-la-builder-7.7.0-exec.jar` file must be present to build artifacts meant to be deployed on a Bonita `7.7.0` stack.
**`bonita-sp-*-maven-repository.zip`**
......@@ -55,6 +55,19 @@ Refer to the [BCD Command-line reference](bcd_cli.md) for a complete list of ava
:::
## Repository vs. Builder version compatibility
The version of your repository **must exactly match** the version of the builder library.
If versions do not match, the `bcd livingapp build` command will exit with such a message:
```
[ERROR] Project version (7.7.0) does not match builder version (7.7.1)
[13:46:34.469] ERROR: Aborting! Command <livingapp-build> returned non-zero exit code <1>
```
The `bcd livingapp build` command does not allow to migrate your repository to the builder's version. Your repository has to be migrated to the appropriate version using [Bonita Studio](https://documentation.bonitasoft.com/bonita/${bonitaDocVersion}/workspaces-and-repositories#toc6).
## Complete example
Here is a complete example of how to build the [Bonita Vacation Management example repository](https://github.com/bonitasoft/bonita-vacation-management-example) for Bonita version 7.7.0.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment