Skip to content

Commit

Permalink
Update azure-pipelines.yml for Azure Pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
duyluonganh committed Nov 10, 2023
1 parent ff5b446 commit af70fbc
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@ pool:
vmImage: 'ubuntu-20.04'

steps:
- task: CmdLine@2
inputs:
script: |
# sudo apt-get update
# sudo apt install libsystemd-dev libxi-dev libxtst-dev
# sudo apt-get install at-spi2-core
# sudo apt-get install xvfb
# ps -ef | grep xvfb
# export DISPLAY=:99
export JAVA_HOME=$(JAVA_HOME_8_X64)
export PATH=$(JAVA_HOME_8_X64)/bin:$(PATH)
# - task: CmdLine@2
# inputs:
# script: |
# sudo apt-get update
# sudo apt install libsystemd-dev libxi-dev libxtst-dev
# sudo apt-get install at-spi2-core
# sudo apt-get install xvfb
# ps -ef | grep xvfb
# export DISPLAY=:99
# export JAVA_HOME=$(JAVA_HOME_8_X64)
# export PATH=$(JAVA_HOME_8_X64)/bin:$(PATH)

# - script: |
# java -version
Expand All @@ -28,9 +28,10 @@ steps:
version: '8.6.8'
executeArgs: '-testSuitePath="Test Suites/New Test Suite" -browserType="Chrome" -apiKey=$(katalon_api_key) --config -webui.autoUpdateDrivers=true'
xvfbConfiguration: '-s "-screen 0 1024x768x24"'
# env:
# JAVA_HOME: $(JAVA_HOME_8_X64)
# PATH: $(JAVA_HOME_8_X64)/bin:$(PATH)
env:
JAVA_HOME: $(JAVA_HOME_8_X64)
PATH: $(JAVA_HOME_8_X64)/bin:$(PATH)

- task: PublishPipelineArtifact@0
inputs:
artifactName: 'JUnit Report'
Expand Down

0 comments on commit af70fbc

Please sign in to comment.