-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
37 lines (28 loc) · 11 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<!DOCTYPE html><html lang="zh-CN"><head><meta charset="utf-8"><meta name="X-UA-Compatible" content="IE=edge"><meta name="author" content="Jackson"><title>Hexo</title><meta name="description" content="IT Blog"><meta name="keywords" content="Blog,博客,Hexo"><meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport"><meta content="yes" name="apple-mobile-web-app-capable"><meta content="black" name="apple-mobile-web-app-status-bar-style"><meta content="telephone=no" name="format-detection"><meta name="renderer" content="webkit"><link rel="shortcut icon" type="image/x-icon" href="/images/favicon.webp"><link rel="stylesheet" href="/css/style.css"><link rel="stylesheet" href="/css/blog_basic.css"><link rel="stylesheet" href="/css/font-awesome.min.css"><link rel="stylesheet" href="/css/insight.css"><link rel="stylesheet" href="/css/search.css"><link rel="alternate" type="application/atom+xml" title="ATOM 1.0" href="/atom.xml"><script src="/js/jquery.js"></script><meta name="generator" content="Hexo 6.1.0"></head><body><div class="page-top animated fadeInDown"><div class="nav"><li> <a class="current" href="/">Home</a></li><li> <a href="/archives">Archives</a></li><li> <a href="/tags">Tags</a></li><li> <a href="/about">About</a></li><li> <a href="/links">Links</a></li><li> <a href="/docker">Docker</a></li><li> <a href="/bookmark">BookMark</a></li></div><div class="information"><div class="nav_right_btn"><li><a class="fa fa-chevron-left" onclick="window.history.go(-1)" style="display:none;"> </a></li><li><a class="fa fa-search" onclick="openWindow();"></a></li></div><div class="avatar"><img src="/images/logo.webp"></div></div></div><div class="sidebar animated fadeInDown"><div class="sidebar-top"><div class="logo-title"><div class="title"><img src="/images/[email protected]" style="width:200px;" alt="favicon"><h3 title=""><a href="/">Hexo</a></h3><div class="description"><p>IT Blog</p></div></div><ul class="social-links"><li><a target="_blank" rel="noopener" href="https://github.com/jacksonwen001"><i class="fa fa-github"></i></a></li><li><a href="mailto:[email protected]"><i class="fa fa-envelope"></i></a></li></ul></div></div><div class="footer"><div class="p"> <span> 全站CC-BY-SA-3.0 </span><i class="fa fa-star"></i><span> Jackson</span></div><div class="by_farbox"><span>Powered by </span><a href="https://hexo.io/zh-cn/" target="_blank">Hexo </a><span> & </span><span>Anatolo </span></div><div class="beian"></div></div></div><div class="main"><div class="autopagerize_page_element"><div class="content"><div class="post animated fadeInDown"><div class="post-title"><h3><a href="/2022/03/28/%E5%A6%82%E4%BD%95%E5%AE%9A%E4%B9%89jenkinsfile/">如何定义jenkinsfile</a></h3></div><div class="post-content"><p>pipeline一个常见的 pipeline 如下所示
1234567891011121314151617181920212223242526pipeline { agent any stages { stage('Build') {...</p></div><div class="post-footer"><div class="meta"><div class="info"><i class="fa fa-sun-o"></i><span class="date">2022-03-28</span><i class="fa fa-tag"></i><a class="tag" href="/tags/jenkins/" title="jenkins">jenkins </a><span class="leancloud_visitors"></span><span>About 168 words, 33 sec read</span></div></div></div></div><div class="post animated fadeInDown"><div class="post-title"><h3><a href="/2022/03/28/%E6%B7%BB%E5%8A%A0allure%E5%81%9A%E4%B8%BA%E5%B1%95%E7%A4%BA%E6%8A%A5%E5%91%8A/">添加allure做为展示报告</a></h3></div><div class="post-content"><p>概述在自动化测试中,我们经常使用 allure 来作为项目的报告。 本文记录一下如何集成 allure 到 jenkins 中
配置 allure安装插件
配置 JDK
配置下载好的 allure你可以下载好,放到 jenkins_home/tools 下或者,你可以让 jenkins 自己解压
测试这一切配置好...</p></div><div class="post-footer"><div class="meta"><div class="info"><i class="fa fa-sun-o"></i><span class="date">2022-03-28</span><i class="fa fa-tag"></i><a class="tag" href="/tags/automation-jenkins-allure/" title="automation; jenkins; allure">automation; jenkins; allure </a><span class="leancloud_visitors"></span><span>About 142 words, 28 sec read</span></div></div></div></div><div class="post animated fadeInDown"><div class="post-title"><h3><a href="/2022/03/28/%E4%BD%BF%E7%94%A8docker%E5%90%AF%E5%8A%A8jenkins/">使用docker启动jenkins</a></h3></div><div class="post-content"><p>概述使用 docker 启动 jenkins
命令需要注意的点:
挂载文件夹的时候一定要使用绝对路径,不能使用相对路径,不然会报错
密钥位于 jenkins_home/secrets/initalAdminPassword
创建网络1docker network create jenkins
挂载 doc...</p></div><div class="post-footer"><div class="meta"><div class="info"><i class="fa fa-sun-o"></i><span class="date">2022-03-28</span><i class="fa fa-tag"></i><a class="tag" href="/tags/docker/" title="docker">docker </a><span class="leancloud_visitors"></span><span>About 278 words, 55 sec read</span></div></div></div></div><div class="post animated fadeInDown"><div class="post-title"><h3><a href="/2022/03/23/%E4%BD%BF%E7%94%A8docker-compose%E5%90%AF%E5%8A%A8kafaka/">使用docker-compose启动kafaka</a></h3></div><div class="post-content"><p>概述为了学习如何在 springboot 中使用 kafaka. 因此需要简单记录一下搭建过程。
搭建过程使用以下配置文件, 即可自启动 kafaka
12345678910111213141516171819202122232425262728293031323334353637383940414243444...</p></div><div class="post-footer"><div class="meta"><div class="info"><i class="fa fa-sun-o"></i><span class="date">2022-03-23</span><i class="fa fa-tag"></i><a class="tag" href="/tags/springboot/" title="springboot">springboot </a><span class="leancloud_visitors"></span><span>About 202 words, 40 sec read</span></div></div></div></div><div class="post animated fadeInDown"><div class="post-title"><h3><a href="/2022/03/23/JPA%E4%BD%BF%E7%94%A8%E8%AE%B0%E5%BD%95-%E5%BC%80%E5%8F%91%E6%B5%81%E7%A8%8B/">JPA使用记录-开发流程</a></h3></div><div class="post-content"><p>概述使用流程:
执行 SQL 脚本
根据 SQL 脚本编写 Entity
执行测试
编写 SQL 脚本假设我们要创建一个表, 最好的方式是不要通过代码直接创建表,首先不安全,其次容易把数据都删了, 最安全的操作还是数据库操作一次, 代码修改一次。创建一个表:
1234567891011CREATE TABL...</p></div><div class="post-footer"><div class="meta"><div class="info"><i class="fa fa-sun-o"></i><span class="date">2022-03-23</span><i class="fa fa-tag"></i><a class="tag" href="/tags/springboot/" title="springboot">springboot </a><span class="leancloud_visitors"></span><span>About 414 words, 1 min 22 sec read</span></div></div></div></div><div class="post animated fadeInDown"><div class="post-title"><h3><a href="/2022/03/22/JPA%E4%BD%BF%E7%94%A8%E8%AE%B0%E5%BD%95-%E5%A6%82%E4%BD%95%E6%89%B9%E9%87%8F%E6%96%B0%E5%A2%9E%E6%95%B0%E6%8D%AE/">JPA使用记录-如何批量新增数据</a></h3></div><div class="post-content"><p>概述实现基本功能: 批量增加, 批量更新, insert 和 update 方法
代码首先需要自己定义一个基础接口类
12345678// 告诉 spring 不要实例化这个对象@NoRepositoryBeanpublic interface BaseJapRepository<T,ID> exte...</p></div><div class="post-footer"><div class="meta"><div class="info"><i class="fa fa-sun-o"></i><span class="date">2022-03-22</span><i class="fa fa-tag"></i><a class="tag" href="/tags/springboot/" title="springboot">springboot </a><span class="leancloud_visitors"></span><span>About 722 words, 2 min 24 sec read</span></div></div></div></div><div class="post animated fadeInDown"><div class="post-title"><h3><a href="/2022/03/22/JPA%E4%BD%BF%E7%94%A8%E8%AE%B0%E5%BD%95-%E9%85%8D%E7%BD%AE/">JPA使用记录-配置</a></h3></div><div class="post-content"><p>概述记录如何使用 JPA
build.gradle 配置123456789101112131415161718192021222324252627282930313233plugins { id 'org.springframework.boot' version '2.6...</p></div><div class="post-footer"><div class="meta"><div class="info"><i class="fa fa-sun-o"></i><span class="date">2022-03-22</span><i class="fa fa-tag"></i><a class="tag" href="/tags/springboot/" title="springboot">springboot </a><span class="leancloud_visitors"></span><span>About 699 words, 2 min 19 sec read</span></div></div></div></div><div class="post animated fadeInDown"><div class="post-title"><h3><a href="/2022/03/22/JMeter%E5%A6%82%E4%BD%95%E4%BD%BF%E7%94%A8Java%E7%BC%96%E5%86%99%E6%B5%8B%E8%AF%95%E7%94%A8%E4%BE%8B-AbstractJavaSamplerClient/">JMeter如何使用Java编写测试用例-AbstractJavaSamplerClient</a></h3></div><div class="post-content"><p>概述在 JMeter 中, 支持我们可以编写 Java 代码来发送请求, 用来提高拓展性, 如下图所示
实践要成为 JMeter 可识别的脚本, 该脚本需要继承 AbstractJavaSamplerClient 类
123456789101112131415161718192021222324252627282...</p></div><div class="post-footer"><div class="meta"><div class="info"><i class="fa fa-sun-o"></i><span class="date">2022-03-22</span><i class="fa fa-tag"></i><a class="tag" href="/tags/JMeter/" title="JMeter">JMeter </a><span class="leancloud_visitors"></span><span>About 213 words, 42 sec read</span></div></div></div></div><div class="post animated fadeInDown"><div class="post-title"><h3><a href="/2022/03/21/JMeter%E5%A6%82%E4%BD%95%E7%AE%A1%E7%90%86%E6%B5%8B%E8%AF%95%E6%95%B0%E6%8D%AE/">JMeter如何管理测试数据</a></h3></div><div class="post-content"><p>CSV第一种最简单的也最常见的是通过 csv 来传入测试数据接下来我们测试下 CSV 取值
Mysql 数据库需要将 Mysql Driver Lib 下载保存的 lib 文件夹
那么如何遍历数据库中的每一个值呢?
使用 foreach 遍历
先算出数据库有多少数据, 然后用 for 循环遍历
fore...</p></div><div class="post-footer"><div class="meta"><div class="info"><i class="fa fa-sun-o"></i><span class="date">2022-03-21</span><i class="fa fa-tag"></i><a class="tag" href="/tags/JMeter/" title="JMeter">JMeter </a><span class="leancloud_visitors"></span><span>About 148 words, 29 sec read</span></div></div></div></div><div class="pagination"><ul class="clearfix"></ul></div></div></div></div><script src="/js/jquery-migrate-1.2.1.min.js"></script><script src="/js/jquery.appear.js"></script><script src="/js/add-bookmark.js"></script><script>(function(window){var INSIGHT_CONFIG={TRANSLATION:{POSTS:"Posts",PAGES:"Pages",CATEGORIES:"Categories",TAGS:"Tags",UNTITLED:"(Untitled)",},CONTENT_URL:"/content.json",};window.INSIGHT_CONFIG=INSIGHT_CONFIG})(window);</script><script src="/js/insight.js" defer></script><div class="searchbox ins-search"><div class="searchbox-container ins-search-container"><div class="searchbox-input-wrapper"><input class="searchbox-input ins-search-input" type="text" placeholder="Search..."><span class="searchbox-close"><a class="fa fa-times-circle" onclick="closeWindow();"></a></span></div><div class="searchbox-result-wrapper ins-section-wrapper"><div class="ins-section-container"><p>Seraching...</p></div></div></div></div></body></html>