build: Jenkinsfile 不声明 parameter
This commit is contained in:
parent
2c2f8b8476
commit
6b6acf4ca7
|
@ -5,9 +5,9 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
options { quietPeriod(600) }
|
options { quietPeriod(600) }
|
||||||
parameters {
|
environment {
|
||||||
string(name: 'IMAGE_NAME', defaultValue: 'metersphere', description: '构建后的 Docker 镜像名称')
|
IMAGE_NAME = 'metersphere'
|
||||||
string(name: 'IMAGE_PREFIX', defaultValue: 'registry.cn-qingdao.aliyuncs.com/metersphere', description: '构建后的 Docker 镜像带仓库名的前缀')
|
IMAGE_PREFIX = 'registry.cn-qingdao.aliyuncs.com/metersphere'
|
||||||
}
|
}
|
||||||
stages {
|
stages {
|
||||||
stage('Build/Test') {
|
stage('Build/Test') {
|
||||||
|
|
Loading…
Reference in New Issue