iptables_centos
#!/bin/bash # check iptables tools which iptables if [ $? -ne 0 ]; then echo "iptables is not support!" exit 1 fi #----------------------<Set Variable>-------------------- IPT='/sbin/...
#!/bin/bash # check iptables tools which iptables if [ $? -ne 0 ]; then echo "iptables is not support!" exit 1 fi #----------------------<Set Variable>-------------------- IPT='/sbin/...
server { listen 80; server_name jenkins.ainlu.me; access_log /var/log/nginx/jenkins.ainlu.me_access.log reports; error_log /var/log/nginx/jenkins.ainlu.me_error.log; location / ...
官网 https://docs.docker.com/compose/compose-file/deploy/
官网 https://www.merico.cn/devlake 介绍 思码逸专注为企业研发团队提供效能分析平台及解决方案 基于深度代码分析技术,思码逸产品从代码和 DevOps 工具链中提取数据,呈现研发效率、软件工程质量、组织与人才发展等多视角数据洞察,提高研发过程可见性,辅助团队决策,推动开发者自驱成长。
设置自定义构建项目名称 1. 准备插件 Build Name and Description Setter 2. 使用pipline stage('git checkout') { buildName "#${currentBuild.number} ${nameSpace} ${services} ${branch}" buildDescription "API: $ap...
1. 部署时默认推荐的安装 2. 安装额外实用的插件 2.1 Rebuild 可以使 自由风格软件项目(Freestyle project)添加重建按钮(默认是没有的) 2.2 Config File Provider 建立Pipline模板文件 可以 建立Pipline模板文件 与2.3: pipeline-multibranch-defaults 一起使用 2.3 pipelin...
链接 7个CICD工具大比拼 DevOps与CI/CD常见面试问题汇总 2023年掌握的30个最佳DevOps工具
加参数 -x bash -x abc.sh 会将脚本执行过程打印出来
输入一个字符列表 appname="aaa bbb ccc ddd" local appname=$1 json_data=$(echo '["'"$(echo ''${appname}'' | sed 's/ /","/g')"'"]') DATA_JSON='{"condition": {"bk_inst_name": {"$in": '${json_data}'}}}' echo "$...
直接用 用户密码登录 如果有二步验证,需要创建应用密码