mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-11-29 18:48:13 +08:00
build: 修改Dockerfile
This commit is contained in:
parent
aa7cd23e83
commit
6917bd40c5
2
.github/workflows/codecov.yml
vendored
2
.github/workflows/codecov.yml
vendored
@ -23,7 +23,7 @@ jobs:
|
||||
distribution: 'temurin'
|
||||
java-version: 17
|
||||
- name: Build with Maven
|
||||
run: mvn -B package --file backend/pom.xml
|
||||
run: mvn -B package --file pom.xml
|
||||
- name: Upload coverage reports to Codecov
|
||||
uses: codecov/codecov-action@v3
|
||||
with:
|
||||
|
@ -16,9 +16,9 @@ COPY backend/src/main/resources/public /app/public
|
||||
COPY backend/src/main/resources/static /app/static
|
||||
|
||||
|
||||
RUN mv /app/lib/ms-jmeter-core-*.jar /app/lib/ms-jmeter-core.jar
|
||||
RUN mv /app/lib/metersphere-jmeter-core-*.jar /app/lib/metersphere-jmeter-core.jar
|
||||
|
||||
ENV JAVA_CLASSPATH=/app:/app/lib/ms-jmeter-core.jar:/opt/jmeter/lib/ext/*:/app/lib/*
|
||||
ENV JAVA_CLASSPATH=/app:/app/lib/metersphere-jmeter-core.jar:/opt/jmeter/lib/ext/*:/app/lib/*
|
||||
ENV JAVA_MAIN_CLASS=io.metersphere.Application
|
||||
ENV AB_OFF=true
|
||||
ENV MS_VERSION=${MS_VERSION}
|
||||
|
2
build.md
2
build.md
@ -6,7 +6,7 @@
|
||||
# 此命令会将parent pom 安装到本地仓库,其他外部子工程可以获得最新的 <properties></properties>
|
||||
./mvnw install -N
|
||||
|
||||
# 此命令会将 domain sdk ms-jmeter-core,其他外部子工程可以获得最新的 jar
|
||||
# 此命令会将 domain sdk metersphere-jmeter-core,其他外部子工程可以获得最新的 jar
|
||||
./mvnw clean install -pl backend,backend/framework,backend/framework/domain,backend/framework/jmeter,backend/framework/plugin,backend/framework/sdk,backend/services,backend/services/load-test,backend/services/ui-test
|
||||
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user