-
Notifications
You must be signed in to change notification settings - Fork 2
/
azure-pipeline.yml
69 lines (63 loc) · 2.18 KB
/
azure-pipeline.yml
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
name: '🚀 Tag & Release on ODC'
resources:
repositories:
- repository: cordova-outsystems-inappbrowser
type: github
name: OutSystems/cordova-outsystems-inappbrowser
endpoint: OutSystems
- repository: MobilePluginsODCPipeline
type: github
name: OutSystems/MobilePluginsODCPipeline
endpoint: OutSystems
trigger: none
pool:
vmImage: ubuntu-20.04
variables:
- name: StampsInformationFileName
value: eng-mobile.StampsInformation.json
- group: MobileConfigCredentials
- group: ModelAPI_InternalCode
parameters:
- name: pluginURL
type: string
- name: pluginKey
type: string
- name: forgeVersion
type: string
- name: mabs
type: string
- name: releaseNotes
type: string
stages:
- stage: UpdateWrapper
displayName: '✍🏻 Update Plugin Extensibility Configurations'
jobs:
- job: UpdateWrapper
displayName: Update Wrapper's Javascript
steps:
- checkout: self
- checkout: MobilePluginsODCPipeline
- template: build/ci/update-wrapper.yaml@MobilePluginsODCPipeline
parameters:
secretFileName: $(StampsInformationFileName)
scriptToRun: UpdateExtensibilityOnPluginWrapper
PLUGIN_APP_KEY: ${{ parameters.pluginKey }}
PLUGIN_UPDATE_URL: ${{ parameters.pluginURL }}
PLUGIN_UPDATE_VERSION: ${{ parameters.forgeVersion }}
mabsMin: ${{ parameters.mabs }}
workingDirectory: $(System.DefaultWorkingDirectory)/MobilePluginsODCPipeline
- stage: Release
displayName: 🚀 Release on Tenant
jobs:
- job: Release
displayName: Publish Updated OML
steps:
- checkout: self
- checkout: MobilePluginsODCPipeline
- template: build/ci/tag-plugin.yaml@MobilePluginsODCPipeline
parameters:
secretFileName: $(StampsInformationFileName)
pluginKey: ${{ parameters.pluginKey }}
forgeVersion: ${{ parameters.forgeVersion }}
releaseNotes: ${{ parameters.releaseNotes }}
workingDirectory: $(System.DefaultWorkingDirectory)/MobilePluginsODCPipeline