- 博客(3)
- 资源 (4)
- 收藏
- 关注
原创 springboot redis分布式锁(使用lua脚本)
redis工具类import org.slf4j.Logger;import org.slf4j.LoggerFactory;import org.springframework.beans.factory.annotation.Autowired;import org.springframework.data.redis.core.StringRedisTemplate;import ...
2019-08-02 16:23:25
553
转载 jenkins执行shell命令时,提示“Command not found”处理方法
本机shell命令可以执行,jenkins任务中无法执行,则是jenkins没有加载/etc/profile导致,需要在jenkins调用shell脚本的最前面加一行脚本,#!/bin/bash -ilex,可以通过-i参数和-l参数让bash为login shell and interactive shell,就可以读取/etc/profile和~/.bash_profile等文件#!/bin...
2019-01-18 11:58:11
14381
2
转载 jenkins时间不同步处理方法
设置上海时间在【系统管理】-【脚本命令行】里运行System.setProperty('org.apache.commons.jelly.tags.fmt.timeZone', 'Asia/Shanghai')
2019-01-18 11:51:49
2305
深入理解ElasticSearch 原书第2版
2018-10-20
Elixir程序设计(中文版)
2018-07-25
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人