From b43f505305f64fac5c89a93ac71ffc251aceb419 Mon Sep 17 00:00:00 2001 From: Basil Crow Date: Wed, 8 Mar 2023 16:57:54 -0800 Subject: [PATCH] Add `Jenkinsfile` (#684) --- .github/workflows/main.yaml | 23 ------------------- Jenkinsfile | 3 +++ build-monitor-acceptance/pom.xml | 2 +- .../src/test/resources/serenity.conf | 2 +- 4 files changed, 5 insertions(+), 25 deletions(-) delete mode 100644 .github/workflows/main.yaml create mode 100644 Jenkinsfile diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml deleted file mode 100644 index 08e6cf10a..000000000 --- a/.github/workflows/main.yaml +++ /dev/null @@ -1,23 +0,0 @@ -name: Release Pipeline - -on: - push: - branches: [ master ] - pull_request: - branches: [ master ] - types: [ opened, synchronize ] - -jobs: - build: - runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v3 - - name: Setup Java - uses: actions/setup-java@v3 - with: - java-version: '11' - distribution: 'temurin' - cache: 'maven' - - name: Build with Maven - run: mvn -B -V -e -ntp -U clean verify diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 000000000..3829440fd --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,3 @@ +buildPlugin(useContainerAgent: true, configurations: [ + [platform: 'linux', jdk: 17], +]) diff --git a/build-monitor-acceptance/pom.xml b/build-monitor-acceptance/pom.xml index 44f70207d..265487e2f 100644 --- a/build-monitor-acceptance/pom.xml +++ b/build-monitor-acceptance/pom.xml @@ -16,7 +16,6 @@ 3.6.12 1.0.2.v20150114 - 1.12.23 2.0.6 @@ -163,6 +162,7 @@ ${jenkins.version} ../ + 110 diff --git a/build-monitor-acceptance/src/test/resources/serenity.conf b/build-monitor-acceptance/src/test/resources/serenity.conf index 863a4ee50..63cbbb1a2 100644 --- a/build-monitor-acceptance/src/test/resources/serenity.conf +++ b/build-monitor-acceptance/src/test/resources/serenity.conf @@ -22,6 +22,6 @@ webdriver { # Set headless mode to false to debug the tests headless.mode = true -chrome.switches = "--lang=en;--no-sandbox;--disable-gpu;--no-default-browser-check;--no-first-run;--disable-default-apps;--disable-popup-blocking;--disable-translate;--disable-background-timer-throttling;--disable-renderer-backgrounding;--disable-device-discovery-notifications;--remote-allow-origins=*;--window-size=1440,900;" +chrome.switches = "--lang=en;--no-sandbox;--disable-gpu;--no-default-browser-check;--no-first-run;--disable-default-apps;--disable-dev-shm-usage;--disable-popup-blocking;--disable-translate;--disable-background-timer-throttling;--disable-renderer-backgrounding;--disable-device-discovery-notifications;--remote-allow-origins=*;--window-size=1440,900;" junit.retry.tests = true