From fc34e1bd5f45e101b8d0f9acb07a18a6f60cbae8 Mon Sep 17 00:00:00 2001 From: Khoi Nguyen Date: Mon, 17 Oct 2022 13:16:02 +0100 Subject: [PATCH] CORE-7135: Setup Jenkins pipeline * Added new .ci folder which contains Jenkins file for multibranch pipeline project --- .ci/Jenkinsfile | 8 ++++++++ .ci/nightly/JenkinsfileSnykScan | 6 ++++++ 2 files changed, 14 insertions(+) create mode 100644 .ci/Jenkinsfile create mode 100644 .ci/nightly/JenkinsfileSnykScan diff --git a/.ci/Jenkinsfile b/.ci/Jenkinsfile new file mode 100644 index 0000000..8e0651c --- /dev/null +++ b/.ci/Jenkinsfile @@ -0,0 +1,8 @@ +@Library('corda-shared-build-pipeline-steps@5.0') _ + +cordaPipeline( + publishRepoPrefix: '', + slimBuild: true, + runUnitTests: false, + dedicatedJobForSnykDelta: false + ) diff --git a/.ci/nightly/JenkinsfileSnykScan b/.ci/nightly/JenkinsfileSnykScan new file mode 100644 index 0000000..c07efb7 --- /dev/null +++ b/.ci/nightly/JenkinsfileSnykScan @@ -0,0 +1,6 @@ +@Library('corda-shared-build-pipeline-steps@5.0') _ + +cordaSnykScanPipeline ( + snykTokenId: 'r3-snyk-corda5', + snykAdditionalCommands: "--all-sub-projects -d" +)