Page History
...
- The JS7 - REST Web Service API allows to perform the same operations for Git integration as offered from the JOC Cockpit GUI.
- JS7 - Unix Shell Command Line Interface
- JS7 - PowerShell Module
Automation using the Unix Shell CLI
The JS7 - Unix Shell CLI for Git Deployment offers simplified access to the REST Web Service API for scripting purposes.
Display feature availability | ||
---|---|---|
|
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
# common options for connection to JS7 REST API
request_options=(--url=http://localhost:4446 --user=root --password=root --controller-id=controller)
# clone repository
./deploy-git.sh clone "${request_options[@]}" --folder=/TestRepo --remote-url="git@github.com:sos-berlin/js7-demo-inventory-rollout-test"
# optionally checkout repository if a specific branch should be used
./deploy-git.sh checkout "${request_options[@]}" --folder=/TestRepo --branch=main |
Automation using the JS7 PowerShell Module
The JS7 - PowerShell Module offers simplified access to the REST Web Service API for scripting purposes.
Execution of the PowerShell examples with the -debug
option might prove to be instructive for logging REST API calls.
The documentation for the relevant cmdlets is available in the PowerShell CLI 2.0 - Cmdlets - Git Repository Integration article.
...
Overview
Content Tools