From 7c4ce6eb872a51564057f5db8b07be324b26da0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20M=C5=82odzikowski?= Date: Wed, 19 Oct 2022 15:33:24 +0200 Subject: [PATCH] feat: Add jenkinsfile to run approbation (relates to: vegaprotocol/devops-infra#1476) (#1781) * feat: Add jenkinsfile to run approbation (relates to: vegaprotocol/devops-infra#1476) * Update Jenkinsfile --- Jenkinsfile | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Jenkinsfile diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 000000000..cd1b33bd9 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,23 @@ +@Library('vega-shared-library') _ + +def commitHash = 'UNKNOWN' + +pipeline { + agent any + options { + skipDefaultCheckout true + parallelsAlwaysFailFast() + } + stages { + stage('approbation') { + steps { + sh 'printenv' + checkout scm + script { + commitHash = getCommitHash() + } + runApprobation ignoreFailure: false, frontendBranch: commitHash, type: 'frontend', + } + } + } +}