From b421f0daa0f2c254512f019ea2cc113cb67049bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Waldemar=20=C5=BBurowski?= <45210402+wzur-r3@users.noreply.github.com> Date: Sun, 15 Nov 2020 21:36:25 +0100 Subject: [PATCH] INFRA-965: forward merge from 4.5 (2020-11-15) (#6806) * EG-4168 Updating contributors.md list for OS 4.5 release branch (#6784) * INFRA-965: forward merge from 4.4 (2020-11-14) (#6805) * EG-4168 Updating contributors.md list for OS 4.4 release branch (#6785) * INFRA-965: forward merge from 4.3 (2020-11-13) (#6803) * INFRA-965: Jenkins/NexusIQ integration should target patches (#6802) as well as major/minor releases * Updated nightly builds to match changes for release branch builds * Updated JDK11 builds to match changes for release branch builds Co-authored-by: ivanterziev <61829352+ivanterziev-r3@users.noreply.github.com> * Backporting updates for check-pr-title workflow Co-authored-by: ivanterziev <61829352+ivanterziev-r3@users.noreply.github.com> --- .ci/dev/compatibility/JenkinsfileJDK11Azul | 2 +- .ci/dev/publish-branch/Jenkinsfile.nightly | 2 +- .ci/dev/regression/Jenkinsfile | 2 +- .github/workflows/check-pr-title.yml | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.ci/dev/compatibility/JenkinsfileJDK11Azul b/.ci/dev/compatibility/JenkinsfileJDK11Azul index cd1a2da800..a325b5a11a 100644 --- a/.ci/dev/compatibility/JenkinsfileJDK11Azul +++ b/.ci/dev/compatibility/JenkinsfileJDK11Azul @@ -82,7 +82,7 @@ pipeline { script { sh "./gradlew --no-daemon properties | grep -E '^(version|group):' >version-properties" /* every build related to Corda X.Y (GA, RC, HC, patch or snapshot) uses the same NexusIQ application */ - def version = sh (returnStdout: true, script: "grep ^version: version-properties | sed -e 's/^version: \\([0-9]\\+\\.[0-9]\\+\\).*\$/\\1/'").trim() + def version = sh (returnStdout: true, script: "grep ^version: version-properties | sed -e 's/^version: \\([0-9]\\+\\(\\.[0-9]\\+\\)\\+\\).*\$/\\1/'").trim() def groupId = sh (returnStdout: true, script: "grep ^group: version-properties | sed -e 's/^group: //'").trim() def artifactId = 'corda' nexusAppId = "${groupId}-${artifactId}-${version}" diff --git a/.ci/dev/publish-branch/Jenkinsfile.nightly b/.ci/dev/publish-branch/Jenkinsfile.nightly index df7f178cac..4b331e9f5d 100644 --- a/.ci/dev/publish-branch/Jenkinsfile.nightly +++ b/.ci/dev/publish-branch/Jenkinsfile.nightly @@ -67,7 +67,7 @@ pipeline { script { sh "./gradlew --no-daemon properties | grep -E '^(version|group):' >version-properties" /* every build related to Corda X.Y (GA, RC, HC, patch or snapshot) uses the same NexusIQ application */ - def version = sh (returnStdout: true, script: "grep ^version: version-properties | sed -e 's/^version: \\([0-9]\\+\\.[0-9]\\+\\).*\$/\\1/'").trim() + def version = sh (returnStdout: true, script: "grep ^version: version-properties | sed -e 's/^version: \\([0-9]\\+\\(\\.[0-9]\\+\\)\\+\\).*\$/\\1/'").trim() def groupId = sh (returnStdout: true, script: "grep ^group: version-properties | sed -e 's/^group: //'").trim() def artifactId = 'corda' nexusAppId = "${groupId}-${artifactId}-${version}" diff --git a/.ci/dev/regression/Jenkinsfile b/.ci/dev/regression/Jenkinsfile index f773438b4b..fb6e3896ff 100644 --- a/.ci/dev/regression/Jenkinsfile +++ b/.ci/dev/regression/Jenkinsfile @@ -100,7 +100,7 @@ pipeline { script { sh "./gradlew --no-daemon properties | grep -E '^(version|group):' >version-properties" /* every build related to Corda X.Y (GA, RC, HC, patch or snapshot) uses the same NexusIQ application */ - def version = sh (returnStdout: true, script: "grep ^version: version-properties | sed -e 's/^version: \\([0-9]\\+\\.[0-9]\\+\\).*\$/\\1/'").trim() + def version = sh (returnStdout: true, script: "grep ^version: version-properties | sed -e 's/^version: \\([0-9]\\+\\(\\.[0-9]\\+\\)\\+\\).*\$/\\1/'").trim() def groupId = sh (returnStdout: true, script: "grep ^group: version-properties | sed -e 's/^group: //'").trim() def artifactId = 'corda' nexusAppId = "${groupId}-${artifactId}-${version}" diff --git a/.github/workflows/check-pr-title.yml b/.github/workflows/check-pr-title.yml index 2b4bab8016..ce097eb02a 100644 --- a/.github/workflows/check-pr-title.yml +++ b/.github/workflows/check-pr-title.yml @@ -7,8 +7,8 @@ jobs: check-pr-title: runs-on: ubuntu-latest steps: - - uses: morrisoncole/pr-lint-action@v1.1.1 + - uses: morrisoncole/pr-lint-action@v1.4.1 with: - title-regex: '^((CORDA|EG|ENT|INFRA)-\d+|NOTICK)(.*)' + title-regex: '^((CORDA|AG|EG|ENT|INFRA)-\d+|NOTICK)(.*)' on-failed-regex-comment: "PR title failed to match regex -> `%regex%`" repo-token: "${{ secrets.GITHUB_TOKEN }}"