OnO

OnO LoL is blog of Corn Mars from Ono city.


  • 首页

  • 区块链

  • 量化投资

  • 开发者

  • 标签

  • 归档

  • 分类

  • 关于

  • 站点地图

  • 搜索

MacOS 查看网络端口情况

发表于 2018-03-13 | 分类于 MacOS |
使用 netstat 命令a. netstat -nat | grep <端口号> , 如命令 netstat -nat | grep 3306b. netstat -nat |grep LISTEN 使用 lsof 命令lsof -n -P -i TCP -s TCP:LISTEN l ...
阅读全文 »

Linux 实例初始化系统盘后重新挂载数据盘

发表于 2018-03-12 | 分类于 计算机 , OPS |
目录 初始化磁盘分区 格式化分区文件系统 挂载分区 设置自动挂载 初始化磁盘 查看数据盘分区信息: 运行命令 fdisk -l 可以看到有两块硬盘 /dev/vda 和 /dev/vdb, 启动 vda 是系统盘, vdb 是我们新增的数据盘 执行 fdisk /dev/vdb 命令,进入 f ...
阅读全文 »

Python 代码块

发表于 2018-03-11 | 分类于 计算机 , Python |
JSON 的加载处理import json 字符串 -> JSON 对象new_dict = json.loads(json_str) print(new_dict) print(type(new_dict))JSON 对象 -> 字符串test_dict = {'bigber ...
阅读全文 »

BearcatJS Dao插件文档

发表于 2018-03-05 | 分类于 计算机 , BearCat |
首先说通过 BearcatJSDao 对 Bearcat 的 Model 进行持久化操作是非常方便的. 插件基于 BearcatDao 做了部分修改, 校正一些 Bug. 整体工作流程就是创建数据库,编写对应的 Model, 同时创建约束类型 Constraint 类(如果内置约束不能满足情况下), ...
阅读全文 »

Jenkins file Declarative Pipeline 常用写法注释

发表于 2018-03-04 | 分类于 计算机 , Jenkins |
Jenkinsfile (Declarative Pipeline) pipeline { // 执行环境, any任何环境一般是本机, 可以是远程节点服务器, 可以是docker服务 agent any agent { docker { image &apo ...
阅读全文 »

使用Mocha生成Jenkins的xml测试结果文档

发表于 2018-02-24 | 分类于 计算机 , Jenkins |
最近使用 Jenkins 进行 CI 持续构建, 发现可以使用 junit 加载测试的情况, 于是想到可否使用 mocha 生成对应的 xml 文件呢? 原来使用 mocha , 其实就是跑一下看看是否达到预期的目标. 基本方法就是通过 Should 断言问题, 然后打印到控制台就完成了. 批量测试 ...
阅读全文 »

部署

发表于 2018-02-22 | 分类于 计算机 , Jenkins |
DeploymentThe most basic continuous delivery pipeline will have, at minimum, three stages which should be defined in a Jenkinsfile: Build, Test, and D ...
阅读全文 »

收尾与通知

发表于 2018-02-22 | 分类于 计算机 , Jenkins |
Cleaning up and notificationsSince the post section of a Pipeline is guaranteed to run at the end of a Pipeline’s execution, we can add some notificat ...
阅读全文 »

记录测试结果与中间详细过程

发表于 2018-02-22 | 分类于 计算机 , Jenkins |
Recording tests and artifactsWhile testing is a critical part of a good continuous delivery pipeline, most people don’t want to sift through thousands ...
阅读全文 »

使用环境变量

发表于 2018-02-22 | 分类于 计算机 , Jenkins |
Using environment variablesEnvironment variables can be set globally, like the example below, or per stage. As you might expect, setting environment v ...
阅读全文 »
<<1…363738…51>>
OnO

OnO

510 日志
45 分类
190 标签
RSS
GitHub E-Mail
© 2012 — 2023 OnO