加载中
linux ssh 首次登录 免输入 yes

在发起端的用户目录 /home/xx/.ssh/ 里添加 config 文件 echo 'StrictHostKeyChecking no' > config chmod 600 /home/xx/.ssh/config......

2023/03/15 13:48
37
ansible shell nohup 不生效问题

废话不说,直接上解决方案 使用 async 模式,只需要在任务里添加两行代码,如下: - name shell: cmd: "xxx" async: 120 poll: 5 即将该任务异步执行,每 5 秒获取一下执行结果,有结果就返回...

2022/10/08 14:56
377
Field 'X' doesn't have a default value

最近在使用django框架的过程中发现一个问题,即标题所写的“Field ‘X’ doesn't have a default value”,具体的migrations代码如下: migrations.AddField( model_name="test", name="user...

mybatis timezone问题

数据库里存的时间是GMT(即UTC+0时区),所以需要在数据库链接上加个serverTimezone=GMT的参数

2021/09/09 21:11
47
springboot配置文件查找优先级

spring boot 启动会扫描以下位置的application.properties或者application.yml文件作为Spring boot的默认配置文件 –file:.// –file:./ –classpath:/config/ –classpath:/ 但是寻找属性的...

2021/01/21 15:06
194
SonarQube Scanner for Jenkins plugin waitForQualityGate pending 超时

一、背景 关于SonarQube Scanner for Jenkins plugin waitForQualityGate,网上流传的文章,正确使用方法几乎没有,导致我也走了一些弯路。 比如这篇文章(https://www.cnblogs.com/faberbe...

maven多模块工程jacoco、sonar单元测试覆盖率及集成测试覆盖率

一、针对Sonarqube 8.x版本 官方有例子,链接如下 https://github.com/SonarSource/sonar-scanning-examples/tree/master/sonarqube-scanner-maven/maven-multimodule 该版本已经要求尽量用x...

没有更多内容

加载失败,请刷新页面

没有更多内容

返回顶部
顶部