From 898b53950f55bfcdeeb9356334b9d2fce0597408 Mon Sep 17 00:00:00 2001 From: Lavanya <112009192+lav-user@users.noreply.github.com> Date: Tue, 20 Sep 2022 16:58:03 +0530 Subject: [PATCH] Update azure-pipelines-1.yml for Azure Pipelines --- azure-pipelines-1.yml | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/azure-pipelines-1.yml b/azure-pipelines-1.yml index 34edff52..a1eeedd9 100644 --- a/azure-pipelines-1.yml +++ b/azure-pipelines-1.yml @@ -8,8 +8,28 @@ trigger: pool: vmImage: ubuntu-latest - steps: +- script: | + docker run --rm \ + -u 0:0 \ + -e ACCEPT_EULA=true \ + -e EXEC="./mvnw" \ + -v "$PWD/target":/opt/parasoft/jtest/examples/demo/target" \ + parasoft/jtest /bin/bash -c " \ + cat /temp/jtestcli.properties; \ + jtestcli \ + test-compile \ + jtest:agent \ + test \ + jtest:jtest\ + -Djtest.config="builtin://Demo Configuration" \ + displayName: Run Tests + env: + pwd: $(Build.Repository.LocalPath) + +- publish: /home/vsts/work/1/s/temp + artifact: TSA +# Publish Test Results - task: Maven@3 inputs: mavenPomFile: 'pom.xml'