forked from MO2k4/CleanCode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathazure-pipelines.yml
More file actions
42 lines (36 loc) · 993 Bytes
/
azure-pipelines.yml
File metadata and controls
42 lines (36 loc) · 993 Bytes
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
pool:
name: Azure Pipelines
vmImage: windows-latest
demands: java
trigger:
branches:
include:
- master
steps:
- script: |
echo "##vso[task.setvariable variable=JAVA_HOME]$(JAVA_HOME_11_X64)"
echo "##vso[task.setvariable variable=PATH]$(JAVA_HOME_11_X64)\bin;$(PATH)"
displayName: 'Set Java Version'
- task: UseDotNet@2
displayName: 'Install .NET 6 SDK'
inputs:
packageType: 'sdk'
version: '6.0.x'
performMultiLevelLookup: true
- task: Gradle@3
displayName: 'Build Plugin'
inputs:
gradleWrapperFile: 'gradlew'
tasks: buildPlugin
publishJUnitResults: false
- publish: $(System.DefaultWorkingDirectory)/output
artifact: 'Nuget-Paket'
- task: EvgenyChernyi.telegram-notification-extension.sample-telegram-task.SendTelegramNotification@0
displayName: 'Send Telegram Notification'
inputs:
botToken: '$(token)'
chats: $(chatId)
teamUrl: true
buildNumber: true
buildQueuedBy: true
condition: succeededOrFailed()