]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
dashboard/nighlty: fix applitools baseline 1982/head
authorErnesto Puerta <epuertat@redhat.com>
Mon, 28 Mar 2022 12:13:26 +0000 (14:13 +0200)
committerErnesto Puerta <epuertat@redhat.com>
Mon, 28 Mar 2022 14:16:29 +0000 (16:16 +0200)
Adds correct Branch to Nightly jobs.

Renames Batches with a more intuitive naming

Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
ceph-api-nightly/config/definitions/ceph-api-nightly.yml
ceph-dashboard-pull-requests/config/definitions/ceph-dashboard-pull-requests.yml

index 4a145bc7dc11670d8e145d49e886eb72c52d9f5a..80de662beecb213f053288f62f768a866f660f74 100644 (file)
@@ -67,8 +67,8 @@
       - shell: |
           export CYPRESS_ARGS="--record --key $CYPRESS_RECORD_KEY --tag $JOB_NAME" COMMIT_INFO_MESSAGE="$JOB_NAME"
           export APPLITOOLS_BATCH_ID="${{JOB_NAME}}_${{BUILD_TAG}}"
-          export APPLITOOLS_BRANCH_NAME="$ghprbSourceBranch"
-          export APPLITOOLS_PARENT_BRANCH_NAME="$ghprbTargetBranch"
+          export APPLITOOLS_BATCH_NAME="Nightly-${{GIT_BRANCH#*/}}"
+          export APPLITOOLS_BRANCH_NAME="${{GIT_BRANCH#*/}}"
           mkdir -p .applitools
           echo "$APPLITOOLS_BATCH_ID" > .applitools/BATCH_ID
           cd src/pybind/mgr/dashboard; timeout 2h ./{test_suite_script}
           - text:
               credential-id: cd-applitools-api-key
               variable: APPLITOOLS_API_KEY
+      - raw:
+          xml: |
+            <com.applitools.jenkins.ApplitoolsBuildWrapper plugin="applitools-eyes@1.13">
+              <serverURL>https://eyes.applitools.com</serverURL>
+              <notifyByCompletion>true</notifyByCompletion>
+              <applitoolsApiKey/>
+            </com.applitools.jenkins.ApplitoolsBuildWrapper>
       - ansicolor
 
     publishers:
index 5854edf1b87b027911f93db3357c146f28027bf3..58de076d3ea561df9668cf6c5952879492bcea95 100644 (file)
@@ -69,6 +69,7 @@
       - shell: |
           export CYPRESS_ARGS="--record --key $CYPRESS_RECORD_KEY --tag $ghprbTargetBranch" COMMIT_INFO_MESSAGE="$ghprbPullTitle"
           export APPLITOOLS_BATCH_ID="PR-${ghprbPullId}_${BUILD_TAG}"
+          export APPLITOOLS_BATCH_NAME="PR-${ghprbPullId}"
           export APPLITOOLS_BRANCH_NAME="$ghprbSourceBranch"
           export APPLITOOLS_PARENT_BRANCH_NAME="$ghprbTargetBranch"
           mkdir -p .applitools