Merge branch 'master' into dev

This commit is contained in:
bwcx_jzy 2023-03-14 21:45:49 +08:00
commit a3a68ff9ee
No known key found for this signature in database
GPG Key ID: 5E48E9372088B9E5
30 changed files with 49 additions and 39 deletions

2
.env
View File

@ -1,3 +1,3 @@
JPOM_VERSION=2.10.31
JPOM_VERSION=2.10.32
# Server Token 生产部署请更换
SERVER_TOKEN=7094f673-2c53-4fc1-82e7-86e528449d97

View File

@ -29,14 +29,14 @@ stages:
artifacts:
- name: all_zip
path:
- modules/server/target/server-2.10.31-release.zip
- modules/agent/target/agent-2.10.31-release.zip
- modules/server/target/server-2.10.32-release.zip
- modules/agent/target/agent-2.10.32-release.zip
- name: server_zip
path:
- modules/server/target/server-2.10.31-release.zip
- modules/server/target/server-2.10.32-release.zip
- name: agent_zip
path:
- modules/agent/target/agent-2.10.31-release.zip
- modules/agent/target/agent-2.10.32-release.zip
settings: []
strategy:
retry: '0'
@ -50,7 +50,7 @@ stages:
name: publish_general_artifacts
displayName: 合并打包
dependArtifact: all_zip
artifactName: jpom-2.10.31
artifactName: jpom-2.10.32
strategy:
retry: '0'
strategy:

View File

@ -1,5 +1,13 @@
# 🚀 版本日志
## 2.10.32 (2023-03-14)
### 🐞 解决BUG、优化功能
1. 【server】修复 mysql 数据库因为字段长度问题初始化失败(感谢@xuejun
------
## 2.10.31 (2023-03-14)
### 🐞 解决BUG、优化功能

View File

@ -1 +1 @@
2.10.31
2.10.32

View File

@ -30,7 +30,7 @@
<parent>
<groupId>io.jpom.agent-transport</groupId>
<artifactId>jpom-agent-transport-parent</artifactId>
<version>2.10.31</version>
<version>2.10.32</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -30,7 +30,7 @@
<parent>
<groupId>io.jpom.agent-transport</groupId>
<artifactId>jpom-agent-transport-parent</artifactId>
<version>2.10.31</version>
<version>2.10.32</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -29,7 +29,7 @@
<parent>
<artifactId>jpom-parent</artifactId>
<groupId>io.jpom</groupId>
<version>2.10.31</version>
<version>2.10.32</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<packaging>pom</packaging>
@ -38,7 +38,7 @@
<module>agent-transport-http</module>
</modules>
<modelVersion>4.0.0</modelVersion>
<version>2.10.31</version>
<version>2.10.32</version>
<groupId>io.jpom.agent-transport</groupId>
<artifactId>jpom-agent-transport-parent</artifactId>
<name>Jpom Agent Transport</name>

View File

@ -29,12 +29,12 @@
<parent>
<artifactId>jpom-parent</artifactId>
<groupId>io.jpom</groupId>
<version>2.10.31</version>
<version>2.10.32</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>agent</artifactId>
<version>2.10.31</version>
<version>2.10.32</version>
<name>Jpom Agent</name>
<properties>
<start-class>io.jpom.JpomAgentApplication</start-class>

View File

@ -29,13 +29,13 @@
<parent>
<artifactId>jpom-parent</artifactId>
<groupId>io.jpom</groupId>
<version>2.10.31</version>
<version>2.10.32</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<name>Jpom Common</name>
<artifactId>common</artifactId>
<version>2.10.31</version>
<version>2.10.32</version>
<dependencies>

View File

@ -8,4 +8,4 @@
| |
|_|
➜ Jpom \ (•◡•) / (v2.10.31)
➜ Jpom \ (•◡•) / (v2.10.32)

View File

@ -29,7 +29,7 @@ LABEL maintainer="bwcx-jzy <bwcx_jzy@163.com>"
LABEL documentation="https://jpom.top"
ENV JPOM_HOME /usr/local/jpom-server
ENV JPOM_PKG_VERSION 2.10.31
ENV JPOM_PKG_VERSION 2.10.32
ENV JPOM_PKG server-${JPOM_PKG_VERSION}-release.tar.gz
ENV SHA1_NAME server-${JPOM_PKG_VERSION}-release.tar.gz.sha1

View File

@ -29,13 +29,13 @@
<parent>
<artifactId>jpom-parent</artifactId>
<groupId>io.jpom</groupId>
<version>2.10.31</version>
<version>2.10.32</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<name>Jpom Server</name>
<artifactId>server</artifactId>
<version>2.10.31</version>
<version>2.10.32</version>
<properties>
<start-class>io.jpom.JpomServerApplication</start-class>
</properties>

View File

@ -67,7 +67,7 @@ DROP PROCEDURE IF EXISTS add_column_if_not_exists;
CREATE PROCEDURE add_column_if_not_exists(
tname VARCHAR(64),
cname VARCHAR(64),
columninfo VARCHAR(64)
columninfo VARCHAR(200)
)
BEGIN
IF column_exists(tname, cname)

View File

@ -29,7 +29,7 @@
<parent>
<artifactId>jpom-parent</artifactId>
<groupId>io.jpom</groupId>
<version>2.10.31</version>
<version>2.10.32</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<packaging>pom</packaging>
@ -39,7 +39,7 @@
<module>storage-module-mysql</module>
</modules>
<modelVersion>4.0.0</modelVersion>
<version>2.10.31</version>
<version>2.10.32</version>
<groupId>io.jpom.storage-module</groupId>
<artifactId>jpom-storage-module-parent</artifactId>
<name>Jpom storage module</name>

View File

@ -30,7 +30,7 @@
<parent>
<groupId>io.jpom.storage-module</groupId>
<artifactId>jpom-storage-module-parent</artifactId>
<version>2.10.31</version>
<version>2.10.32</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -30,7 +30,7 @@
<parent>
<groupId>io.jpom.storage-module</groupId>
<artifactId>jpom-storage-module-parent</artifactId>
<version>2.10.31</version>
<version>2.10.32</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -30,7 +30,7 @@
<parent>
<groupId>io.jpom.storage-module</groupId>
<artifactId>jpom-storage-module-parent</artifactId>
<version>2.10.31</version>
<version>2.10.32</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@ -83,6 +83,8 @@ public class MysqlTableBuilderImpl implements IStorageSqlBuilderService {
// ALTER TABLE PROJECT_INFO ADD IF NOT EXISTS triggerToken VARCHAR (100) comment '触发器token';
String columnSql = this.generateColumnSql(viewAlterData);
columnSql = StrUtil.replace(columnSql, "'", "\\'");
int length = StrUtil.length(columnSql);
Assert.state(length <= 180, "sql 语句太长啦");
stringBuilder.append("CALL add_column_if_not_exists('").append(viewAlterData.getTableName()).append("','").append(viewAlterData.getName()).append("','").append(columnSql).append("')");
break;
case "DROP-TABLE":

View File

@ -29,7 +29,7 @@
<parent>
<artifactId>jpom-plugins-parent</artifactId>
<groupId>io.jpom.plugins</groupId>
<version>2.10.31</version>
<version>2.10.32</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -29,7 +29,7 @@
<parent>
<artifactId>jpom-plugins-parent</artifactId>
<groupId>io.jpom.plugins</groupId>
<version>2.10.31</version>
<version>2.10.32</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -29,7 +29,7 @@
<parent>
<artifactId>jpom-plugins-parent</artifactId>
<groupId>io.jpom.plugins</groupId>
<version>2.10.31</version>
<version>2.10.32</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -29,7 +29,7 @@
<parent>
<artifactId>jpom-plugins-parent</artifactId>
<groupId>io.jpom.plugins</groupId>
<version>2.10.31</version>
<version>2.10.32</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -29,7 +29,7 @@
<parent>
<artifactId>jpom-parent</artifactId>
<groupId>io.jpom</groupId>
<version>2.10.31</version>
<version>2.10.32</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<packaging>pom</packaging>
@ -42,7 +42,7 @@
<module>encrypt</module>
</modules>
<modelVersion>4.0.0</modelVersion>
<version>2.10.31</version>
<version>2.10.32</version>
<groupId>io.jpom.plugins</groupId>
<artifactId>jpom-plugins-parent</artifactId>
<name>Jpom Plugins</name>

View File

@ -29,7 +29,7 @@
<parent>
<artifactId>jpom-plugins-parent</artifactId>
<groupId>io.jpom.plugins</groupId>
<version>2.10.31</version>
<version>2.10.32</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -29,7 +29,7 @@
<parent>
<artifactId>jpom-plugins-parent</artifactId>
<groupId>io.jpom.plugins</groupId>
<version>2.10.31</version>
<version>2.10.32</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -29,7 +29,7 @@
<parent>
<artifactId>jpom-parent</artifactId>
<groupId>io.jpom</groupId>
<version>2.10.31</version>
<version>2.10.32</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -50,7 +50,7 @@
简而轻的低侵入式在线构建、自动部署、日常运维、项目监控软件
</description>
<inceptionYear>2017</inceptionYear>
<version>2.10.31</version>
<version>2.10.32</version>
<url>https://gitee.com/dromara/Jpom</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

View File

@ -31,12 +31,12 @@
# docker buildx create --use
# 服务端
docker buildx build --platform linux/amd64,linux/arm64 -t jpomdocker/jpom:2.10.31 -t jpomdocker/jpom:latest -f ./modules/server/DockerfileRelease --push .
docker buildx build --platform linux/amd64,linux/arm64 -t jpomdocker/jpom:2.10.32 -t jpomdocker/jpom:latest -f ./modules/server/DockerfileRelease --push .
#
#docker buildx build --platform linux/amd64,linux/arm64 -t jpomdocker/jpom:latest -f ./modules/server/DockerfileRelease --push .
# docker logs --tail="100" jpom-server
# docker run -d -p 2122:2122 --name jpom-server -v /etc/localtime:/etc/localtime:ro -v jpom-server-vol:/usr/local/jpom-server jpomdocker/jpom:mac-arm-2.10.31
# docker run -d -p 2122:2122 --name jpom-server -v /etc/localtime:/etc/localtime:ro -v jpom-server-vol:/usr/local/jpom-server jpomdocker/jpom:mac-arm-2.10.32
# docker run -d -p 2122:2122 --name jpom-server -v D:/home/jpom-server/logs:/usr/local/jpom-server/logs -v D:/home/jpom-server/data:/usr/local/jpom-server/data -v D:/home/jpom-server/conf:/usr/local/jpom-server/conf jpomdocker/jpom
# docker stop jpom-server
# docker rm jpom-server

View File

@ -24,7 +24,7 @@
# 版本
jpom_version=2.10.31
jpom_version=2.10.32
#Mirror_Host=download.fastgit.org
#Mirror_Host=hub.fastgit.xyz

View File

@ -1,6 +1,6 @@
{
"name": "jpom-vue",
"version": "2.10.31",
"version": "2.10.32",
"private": true,
"scripts": {
"serve": "vue-cli-service --max-old-space-size=900 serve --mode dev",