Page History
Table of Contents |
---|
Introduction
The sos-components project hold repository holds the source code for the JS7 REST API, the JS7 JITL Jobs and much more.
Prerequisites
sos-components is a standard maven project and can be build built with maven. SOS currently uses maven version 3.3.9.
Clone Repository
Navigate to your desired destination folder and clone the repository from GitHub:
Code Block | ||
---|---|---|
| ||
git clone https://github. |
...
Build
...
com/sos-berlin/sos-components |
Checkout
Checkout Tagged Version
Code Block | ||||
---|---|---|---|---|
| ||||
git fetch --all --tags |
Code Block | ||||
---|---|---|---|---|
| ||||
git checkout tags/[desired version] -b [desired local branch name]
e.g.
git checkout tags/v2.0.0 -b release/v2.0.0 |
Checkout Latest Tagged Version
Determine the latest tagged version and store it to a local variable.
Code Block | ||||
---|---|---|---|---|
| ||||
tag=$(git describe --tags `git rev-list --tags --max-count=1`) |
Checkout the latest version as a "latest" local branch using the variable you have just stored.
Code Block | ||||
---|---|---|---|---|
| ||||
git checkout $tag -b latest |
Build
From the root of the checked out project call:
...
Overview
Content Tools