github.com/ouraigua/jenkins-library@v0.0.0-20231028010029-fbeaf2f3aa9b/resources/metadata/ascAppUpload.yaml (about) 1 metadata: 2 name: ascAppUpload 3 description: Upload an app to ASC 4 longDescription: | 5 With this step you can upload an app to ASC. 6 It creates a new release note in ASC and uploads the binary to ASC and therewith to Jamf. 7 For more information about ASC, check out [Application Support Center](https://github.com/SAP/application-support-center). 8 spec: 9 inputs: 10 secrets: 11 - name: ascAppTokenCredentialsId 12 description: "Jenkins secret text credential ID containing the authentication token for the ASC app" 13 type: jenkins 14 params: 15 - name: serverUrl 16 type: string 17 description: "The URL to the ASC backend" 18 aliases: 19 - name: ascServerUrl 20 scope: 21 - PARAMETERS 22 - STAGES 23 - STEPS 24 mandatory: true 25 - name: appToken 26 type: string 27 description: "App token used to authenticate with the ASC backend" 28 scope: 29 - PARAMETERS 30 secret: true 31 resourceRef: 32 - type: vaultSecret 33 name: ascVaultSecretName 34 default: asc 35 - name: ascAppTokenCredentialsId 36 type: secret 37 aliases: 38 - name: ascAppToken 39 - name: appId 40 type: string 41 description: "The app ID in ASC" 42 scope: 43 - PARAMETERS 44 - STAGES 45 - STEPS 46 mandatory: true 47 - name: filePath 48 type: string 49 description: "The path to the app binary" 50 scope: 51 - PARAMETERS 52 - STAGES 53 - STEPS 54 mandatory: true 55 - name: jamfTargetSystem 56 type: string 57 description: "The jamf target system" 58 scope: 59 - PARAMETERS 60 - STAGES 61 - STEPS 62 mandatory: true 63 - name: releaseAppVersion 64 type: string 65 description: "The new app version name to be created in ASC" 66 scope: 67 - PARAMETERS 68 - STAGES 69 - STEPS 70 default: "Pending Release" 71 - name: releaseDescription 72 type: string 73 description: "The new release description" 74 scope: 75 - PARAMETERS 76 - STAGES 77 - STEPS 78 default: "<p>TBD</p>" 79 - name: releaseDate 80 type: string 81 description: "The new release date (Format: MM/DD/YYYY) Default is the current date" 82 scope: 83 - PARAMETERS 84 - STAGES 85 - STEPS 86 - name: releaseVisible 87 type: bool 88 description: "The new release visible flag" 89 scope: 90 - PARAMETERS 91 - STAGES 92 - STEPS 93 default: false