-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathXCode.jss.recipe
90 lines (90 loc) · 2.67 KB
/
XCode.jss.recipe
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Description</key>
<string>Packages a local installation of XCode, then uploads to the JSS.</string>
<key>Identifier</key>
<string>com.github.novaksam.jss.XCode</string>
<key>Input</key>
<dict>
<key>CATEGORY</key>
<string>Utilities</string>
<key>GROUP_NAME</key>
<string>%NAME%-update-smart</string>
<key>GROUP_TEMPLATE</key>
<string>XCodeSmartGroupTemplate.xml</string>
<key>NAME</key>
<string>XCode</string>
<key>POLICY_CATEGORY</key>
<string>Testing</string>
<key>POLICY_TEMPLATE</key>
<string>PolicyTemplate.xml</string>
<key>POLICY_TRIGGER</key>
<string>Install_Xcode</string>
<key>SELF_SERVICE_DESCRIPTION</key>
<string>Install the latest version of %NAME%.</string>
<key>SELF_SERVICE_ICON</key>
<string>XCode.png</string>
</dict>
<key>MinimumVersion</key>
<string>0.4.0</string>
<key>ParentRecipe</key>
<string>com.github.nmcspadden.pkg.appstore</string>
<key>Process</key>
<array>
<dict>
<key>Processor</key>
<string>DeprecationWarning</string>
<key>Arguments</key>
<dict>
<key>warning_message</key>
<string>JSSImporter, which this recipe requires, is no longer maintained. Consider switching to an equivalent JamfUploader recipe (https://github.com/grahampugh/jamf-upload/wiki/JamfUploader-AutoPkg-Processors). This JSS recipe will be removed in the future.</string>
</dict>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>input_plist_path</key>
<string>%PATH%/Contents/Info.plist</string>
</dict>
<key>Processor</key>
<string>com.github.autopkg.novaksam-recipes.Processors/MinimumOSExtractor</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>category</key>
<string>%CATEGORY%</string>
<key>groups</key>
<array>
<dict>
<key>name</key>
<string>%GROUP_NAME%</string>
<key>smart</key>
<true/>
<key>template_path</key>
<string>%GROUP_TEMPLATE%</string>
</dict>
</array>
<key>os_requirements</key>
<string>%OS_REQUIREMENTS%</string>
<key>policy_category</key>
<string>%POLICY_CATEGORY%</string>
<key>policy_template</key>
<string>%POLICY_TEMPLATE%</string>
<key>policy_trigger</key>
<string>%POLICY_TRIGGER%</string>
<key>prod_name</key>
<string>%NAME%</string>
<key>self_service_description</key>
<string>%SELF_SERVICE_DESCRIPTION%</string>
<key>self_service_icon</key>
<string>%SELF_SERVICE_ICON%</string>
</dict>
<key>Processor</key>
<string>JSSImporter</string>
</dict>
</array>
</dict>
</plist>