A tool designed for CI/CD pipelines that uploads the most recently changed scripts and extension attributes in source control to a Jamf Pro server(s).
This is a rewrite of the great (but very aged) git2jss python library written by badstreff.
git clone git@github.com:YOUR_ORGANIZATION/git4jamfpro.git (or equivalent)
cd git4jamfpro
./git4jamfpro --url <YOUR_JAMF_PRO_SERVER> \
--username <API_USER> \
--password <API_PASS> \
--download-scripts \
--download-eas
git add .
git commit -m "initial commit with scripts/EAs"
Configure your pipeline (see the Wiki for CircleCI, Bitbucket, and GitHub setup).
Now you can make changes to your scripts locally, push those changes to source control, and watch your pipeline automatically update Jamf Pro 🤯.
The Jamf Pro user account used with git4jamfpro must have the below permissions. | Jamf Pro Server Objects | Create | Read | Update | Delete |
---|---|---|---|---|---|
Computer Extension Attributes | ✓ | ✓ | ✓ | ||
Scripts | ✓ | ✓ | ✓ |