这两天在使用Jenkins搭建部署一键构建python脚本的框架,看了无数教程(很多教程都是复制粘贴的乱糟糟的教程),踩了无数坑终于搞定了,记录一下这次的搭建过程,以便之后参考。 环境介绍:1、本机(自己写代码用的win10)2、Jenkins服务器(使用的虚拟机) 3、远程服务器(win10系统) ...
分类:
其他好文 时间:
2020-06-17 23:26:26
阅读次数:
85
You have an empty repositoryTo get started you will need to run these commands in your terminal. New to Git? Learn the basic Git commandsConfigure Git ...
分类:
其他好文 时间:
2020-06-17 23:10:05
阅读次数:
67
帮助命令 git help <verb> git <verb> --help man git-<verb> 例如:git help config git配置文件的三个位置 /etc/gitconfig文件:系统级,系统上所有用户的通用配置 ~/.gitconfig文件:用户级,当前用户配置 .git ...
分类:
其他好文 时间:
2020-06-17 23:02:08
阅读次数:
64
参考: https://blog.csdn.net/u013276277/article/details/82470177 1.找到上次git push的版本,git rebase -i commitID 编辑该内容,将所有要合并的版本前的pick 修改为 squash,保存 修改commit信息, ...
分类:
其他好文 时间:
2020-06-17 20:27:54
阅读次数:
49
我们可以看看我们的~目录,如果有.zshrc或者.bashrc,我们可以直接修改这个文件。 这个文件是用来保存个人的一些配置,例如alias、全局变量 举个例子: alias gl="git pull" alias gt="git push" export HTTP_PORT=8088 对于全局变量 ...
分类:
系统相关 时间:
2020-06-17 19:48:59
阅读次数:
80
一、spring mvc的流程: spi-Mete-info/接口 spring-web包里面META-INFO里面有个文件->SpringServletContainerInitializer - > AbstractDispatcherServletInitializer--onStartup- ...
分类:
编程语言 时间:
2020-06-17 19:46:03
阅读次数:
57
git config --list 查看所有配置 // 提交时读取用户名称及邮箱优先级 --local > --global > --system // 全局配置用户名称及邮箱 git config --global user.name "用户名称" git config --global user ...
分类:
其他好文 时间:
2020-06-17 18:27:23
阅读次数:
49
set path=C:\chromium\depot_tools;%PATH% set DEPOT_TOOLS_WIN_TOOLCHAIN=0 git config --global user.name "My Name" git config --global user.email "my-nam ...
分类:
其他好文 时间:
2020-06-17 16:56:14
阅读次数:
54
Shiro是什么? Apache Shiro是一个强大而灵活的开源安全框架,它干净利落地处理身份认证,授权,企业会话管理和加密。 Apache Shiro的首要目标是易于使用和理解。安全有时候是很复杂的,甚至是痛苦的,但它没有必要这样。框架应该尽可能掩盖复杂的地方,露出一个干净而直观的API,来简化 ...
分类:
其他好文 时间:
2020-06-17 16:53:11
阅读次数:
55
模板语法只有两种,变量用 {{ }},标签用{% %} views.py class StudentInfo(View): def get(self, request): class Student(object): def __init__(self, name, age): self.name ...
分类:
其他好文 时间:
2020-06-17 12:40:53
阅读次数:
78