springboot程序进行定时删除elasticsearch6过期索引
摘要:package com.shixun.syslogsearch.service.impl; import com.alibaba.fastjson.JSONObject; import com.shixun.syslogsearch.dao.SyslogRepository; import com.
阅读全文
修改elasticsearch最大返回结果数
摘要:#!/bin/bash curl -H "Content-Type: application/json" -XPUT http://127.0.0.1:9200/_settings -d '{ "index" : { "max_result_window" : 50000000}}'
阅读全文
使用docker-maven-plugin插件一键部署镜像到仓库
摘要:<plugin> <groupId>com.spotify</groupId> <artifactId>dockerfile-maven-plugin</artifactId> <version>1.4.0</version> <executions> <execution> <id>build-i
阅读全文
Harbor常用命令
摘要:#推送之前先登录Harbor docker login docker login registry.test.myop.com -u admin -p Harbor12345 提示success登录成功 查看自己有哪些镜像;docker images 把需要上传到Harbor的镜像运行如下命令就可以
阅读全文
git-commit-id插件属性在maven-install-plugin中不生效
摘要:解决方案:使用versions-maven-plugin插件修改版本号 参考文档:https://github.com/git-commit-id/git-commit-id-maven-plugin/issues/256
阅读全文
jenkins上传nexus3报400错误
摘要:jenkins deploy nexus3出现"Error installing artifact's metadata: Error while deploying metadata: Failed to transfer file: http://localhost:8081/repositor
阅读全文