-
Notifications
You must be signed in to change notification settings - Fork 1
Bitbucket 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.
image: atlassian/default-image:3
pipelines:
default:
- step:
name: 'Update changes in Jamf Pro server'
clone:
depth: 2
script:
- apt-get update && apt-get install libxml2-utils xmlstarlet -y
- ./jamfGitSync.sh --url "$JAMF_PRO_URL" --clientid "$CLIENT_ID" --clientsecret "$CLIENT_SECRET" --push-changes-to-jamf-pro --backup-updated
artifacts:
- backups/**