-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathazure-pipelines.yml
50 lines (45 loc) · 1.39 KB
/
azure-pipelines.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
trigger:
- master
pool:
# vmImage: 'ubuntu-22.04'
vmImage: macos-latest
steps:
# - task: CmdLine@2
# inputs:
# script: |
# echo "Installing Java"
# sudo apt update
# sudo apt install openjdk-8-jre -y
# sudo update-java-alternatives -l
# sudo update-alternatives --set java /usr/lib/jvm/java-8-openjdk-amd64/bin/java
# echo "Java Version Installed is"
# java -version
# echo "Install Complete"
# export JAVA_HOME_8_X64="/usr/lib/jvm/java-8-openjdk-amd64"
# echo $JAVA_HOME_8_X64
# export HELLO="Hello"
# echo "Hello should print here: $HELLO"
# - task: CmdLine@2
# env:
# JAVA_HOME: /usr/lib/jvm/java-1.8.0-openjdk-amd64
# PATH: /usr/lib/jvm/java-1.8.0-openjdk-amd64/bin:$(PATH)
# inputs:
# script: |
# java -version
# echo "Hello should not print here: $HELLO"
- task: NodeTool@0
inputs:
versionSpec: '16.20.0'
displayName: 'Install Node.js'
- task: katalonTask@1
inputs:
version: '9.3.0'
executeArgs: '-testSuitePath="Test Suites/New Test Suite" -browserType="Chrome" -apiKey=$(katalon_api_key)'
# xvfbConfiguration: '-s "-screen 0 1024x768x24"'
# env:
# JAVA_HOME: /usr/lib/jvm/java-1.8.0-openjdk-amd64
# PATH: /usr/lib/jvm/java-1.8.0-openjdk-amd64/bin:$(PATH)
- task: PublishPipelineArtifact@0
inputs:
artifactName: 'JUnit Report'
targetPath: report/