pipeline {
agent { label 'wing-node-normal' }
environment {
RELEASE_S3_BUCKET_NAME='flexgalaxy-test-docs'
DEPLOY_S3_BUCKET_NAME='flexgalaxy-ai-docs'
}
parameters {
string(name: 'VERSION', defaultValue: '1.0.0.10108')
}
stages {
stage('Check parameters') {
when {
expression { params.VERSION == '' || params.VERSION == 'none' }
}
steps {
echo 'VERSION:' + params.VERSION
echo 'parameters is illegal, this build will return fail and exit'
sh 'exit 1'
}
}
stage('Checkout') {
steps {
checkout([$class : 'RepoScm',
repoUrl : 'https://github.com/SiriusVoyager/git-repo',