7c4ce6eb87
* feat: Add jenkinsfile to run approbation (relates to: vegaprotocol/devops-infra#1476) * Update Jenkinsfile
24 lines
433 B
Groovy
24 lines
433 B
Groovy
@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',
|
|
}
|
|
}
|
|
}
|
|
}
|