-
Notifications
You must be signed in to change notification settings - Fork 1
CircleCI example
74k1 edited this page Apr 28, 2025
·
1 revision
Setup your variables so that:
-
$JAMF_PRO_URLshould behttps://yourcompany.jamfcloud.com -
$CLIENT_IDshould be the generated Client ID from your Jamf Instance. -
$CLIENT_SECRETshould be the generated Client Secret from your Jamf Instance.
version: 2.1
jobs:
push-changes-to-jamf-pro:
docker:
- image: cimg/base:stable
steps:
- checkout
- run:
name: "Install Requirements"
command: sudo apt-get update && sudo apt-get install jq -y
- run:
name: "Update changes in Jamf Pro Server 1"
command: ./jamfGitSync.sh --url "$JAMF_PRO_URL" --clientid "$CLIENT_ID" --clientsecret "$CLIENT_SECRET" --push-changes-to-jamf-pro --backup-updated
- store_artifacts:
path: ./backups
workflows:
jamfGitSync-workflow:
jobs:
- push-changes-to-jamf-pro