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