Skip to content

Commit

Permalink
build: jmeter image
Browse files Browse the repository at this point in the history
  • Loading branch information
liuruibin committed Aug 17, 2023
1 parent 0eef39e commit 3e0f1f6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ pipeline {
#修改安装参数
sed -i -e "s#MS_IMAGE_TAG=.*#MS_IMAGE_TAG=${RELEASE}#g" install.conf
sed -i -e "s#MS_IMAGE_PREFIX=.*#MS_IMAGE_PREFIX=${IMAGE_PREFIX}#g" install.conf
sed -i -e "s#MS_JMETER_IMAGE=.*#MS_JMETER_IMAGE=\\\${MS_IMAGE_PREFIX}/jmeter-master:${JMETER_TAG}#g" install.conf
sed -i -e "s#MS_JMETER_IMAGE=.*#MS_JMETER_IMAGE=\\\${MS_IMAGE_PREFIX}/jmeter:${JMETER_TAG}#g" install.conf
echo ${RELEASE}-b$BUILD_NUMBER > ./metersphere/version
'''
}
Expand Down Expand Up @@ -294,7 +294,7 @@ pipeline {
steps {
dir('installer') {
script {
def images = ['jmeter-master:${JMETER_TAG}',
def images = ['jmeter:${JMETER_TAG}',
'kafka:3.5.1',
'mysql:8.0.34',
'redis:7.0.12-alpine',
Expand All @@ -319,7 +319,7 @@ pipeline {
docker save ${IMAGE_PREFIX}/metersphere:${RELEASE} \\
${IMAGE_PREFIX}/task-runner:${RELEASE} \\
${IMAGE_PREFIX}/result-hub:${RELEASE} \\
${IMAGE_PREFIX}/jmeter-master:${JMETER_TAG} \\
${IMAGE_PREFIX}/jmeter:${JMETER_TAG} \\
${IMAGE_PREFIX}/kafka:3.5.1 \\
${IMAGE_PREFIX}/mysql:8.0.34 \\
${IMAGE_PREFIX}/redis:7.0.12-alpine \\
Expand Down
2 changes: 1 addition & 1 deletion install.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ MS_IMAGE_PREFIX='registry.cn-qingdao.aliyuncs.com/metersphere'
## 镜像标签, MeterSphere 相关组件使用的 Docker 镜像标签
MS_IMAGE_TAG=dev
## 性能测试使用的 JMeter 镜像
MS_JMETER_IMAGE=${MS_IMAGE_PREFIX}/jmeter-master:5.6-ms1-jdk17
MS_JMETER_IMAGE=${MS_IMAGE_PREFIX}/jmeter:5.6.2-release1
## 安装模式 allinone | server | task-runner | selenium-hub | middleware
MS_INSTALL_MODE=allinone
## MeterSphere 主程序的 HTTP 服务监听端口
Expand Down
2 changes: 1 addition & 1 deletion metersphere/conf/metersphere.properties
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spring.session.store-type=redis

# PROPERTIES FOR METERSPHERE NODE CONTROLLER
## JMETER
#jmeter.image=registry.fit2cloud.com/metersphere/jmeter-master:0.0.7
#jmeter.image=registry.fit2cloud.com/metersphere/jmeter:0.0.7


## CAS
Expand Down

0 comments on commit 3e0f1f6

Please sign in to comment.