Page History
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
# common options for connection to JS7 REST API request_options=(--url=http://localhost:4446 --user=root --password=root --controller-id=controller) # list items from GitJOC Cockpit rollout repository ./deploy-git.sh list-item "${request_options[@]}" --folder=/TestRepo --recursive # list items from JOC Cockpit local repository ./deploy-git.sh list-item "${request_options[@]}" --folder=/TestRepo --recursive --local |
Storing Scheduling Objects to a Git Repository
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
# common options for connection to JS7 REST API request_options=(--url=http://localhost:4446 --user=root --password=root --controller-id=controller) # delete items from JOC rolloutCockpitrollout repository: folder ./deploy-git.sh delete-item "${request_options[@]}" --folder=/TestRepo/03_VariablesPassing # delete items from JOC Cockpit rollout repository: object path and type ./deploy-git.sh delete-item "${request_options[@]}" --path=/TestRepo/03_VariablesPassing/jdwVariablesAdHoc --type=WORKFLOW # delete items from JOC Cockpit rollout repository: object path and type ./deploy-git.sh delete-item "${request_options[@]}" --path=/TestRepo/51_JobTemplates/51_JobTemplate --type=JOBTEMPLATE # delete items from JOC Cockpit local repository: object path and type ./deploy-git.sh delete-item "${request_options[@]}" --path=/TestRepo/03_VariablesPassing/jdjVariablesJobResource --type=JOBRESOURCE --local |
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
# common options for connection to JS7 REST API request_options=(--url=http://localhost:4446 --user=root --password=root --controller-id=controller) # update items from JOC Cockpit rollout repository: folder ./deploy-git.sh update-item "${request_options[@]}" --folder=/TestRepo # update items from JOC Cockpit local repository: folder ./deploy-git.sh update-item "${request_options[@]}" --folder=/TestRepo --local # update items from JOC Cockpit rollout repository: path and type of object ./deploy-git.sh update-item "${request_options[@]}" --path=/TestRepo/03_VariablesPassing/jdwVariablesAdHoc --type=WORKFLOW |
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
# common options for connection to JS7 REST API request_options=(--url=http://localhost:4446 --user=root --password=root --controller-id=controller) # store items to JOC Cockpit rollout repository: folder ./deploy-git.sh store-item "${request_options[@]}" --folder=/TestRepo --recursive # add items to JOC Cockpit rollout repository ./deploy-git.sh add "${request_options[@]}" --folder=/TestRepo # commit changes to JOC Cockpit rollout repository and keep commit hash hash=$(./deploy-git.sh commit "${request_options[@]}" --folder=/TestRepo --message="v.1.23.34") # pull changes from remote repository ./deploy-git.sh pull "${request_options[@]}" --folder=/TestRepo # push changes to remote repository ./deploy-git.sh push "${request_options[@]}" --folder=/TestRepo |
...
Overview
Content Tools