SonarQube应用离线安装插件
发表于|更新于
|浏览量:
SonarQube的插件地址为:https://binaries.sonarsource.com/Distribution/
将下载的插件文件存放在SonarQube应用的/opt/sonarqube/extensions/plugins目录下。
参考文章
文章作者: Michael Pan
版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来源 Michael Blog!
相关推荐
2020-05-20
Jmeter简单配置使用
创建Test Plan 测试计划File->New或者直接点击New图标 添加Thread Group 测试任务右击测试计划,Add->Threads(Users)->Thread Group 添加HTTP Cookie 请求Cookie管理右击Thread Group,Add->Config Element->HTTP Cookie Manager 添加HTTP Header 请求头管理右击Thread Group,Add->Config Element->HTTP Header Manager 添加HTTP Request 请求右击Thread Group,Add->Sampler->HTTP Request 添加User Defined Variables 用户定义变量右击Thread Group,Add->Config Element->User Defined Variable 添加报告Result Tree 结果树右击Thread Group,Add->Listener->View R...

2020-05-20
Jenkins-Pipeline语法实例
Jenkins Pipeline支持的指令 指令名 说明 作用域 agent 定义执行任务的代理 stage 或pipeline environment 设置环境变量 stage或pipeline tools 自动下载并安装指定的工具,并将其加入到PATH变量中 stage或pipeline input 暂停pipeline,提示输入内容 stage options 配置Jenkins pipeline本身,如options{retry(3}},指pipeline失败时再重试2次 stage 或 pipeline parallel 并行执行多个step stage parameters 执行pipeline前传入一些参数 pipeline triggers 定义执行pipeline的触发器 pipeline when 定义阶段执行的条件 stage build 触发其他的job steps options Jenkins Pipeline配置参数 参数名 说明 例子 buildDiscarder 保留最近历史构建记录的数...
2020-05-20
Elasticsearch-+-Kibana添加到Systemctl
/usr/lib/systemd/system/kibana.service 1234567891011[Unit]Description=Elasticsearch[Service]PIDFile=/home/vagrant/kibana-5.1.1-linux-x86_64/kibana.pidExecStart=/home/vagrant/kibana-5.1.1-linux-x86_64/bin/kibanaUser=vagrantRestart=alwaysLimitMEMLOCK=infinityLimitNOFILE=1048576LimitNPROC=1048576 /usr/lib/systemd/system/elasticsearch.service 1234567891011[Unit]Description=Elasticsearch[Service]PIDFile=/home/vagrant/elasticsearch-rtf/elasticsearc...

2020-05-20
创建自签证书步骤
根证书创建 123$ openssl genrsa -out ca.key 2048$ openssl req -new -x509 -days 36500 -key ca.key -out ca.crt -subj "/C=CN/ST=shanxi/L=taiyuan/O=cn/OU=test/CN=example.com"$ #或者 openssl req -new -x509 -days 36500 -key ca.key -out ca.crt 手动输入配置 创建证书并使用根证书签发 123$ openssl genrsa -out app.key 2048$ openssl req -new -key app.key -out app.csr$ openssl x509 -req -in app.csr -CA ca.crt -CAkey ca.key -out app.crt -days 3650 -CAcreateserial 使用 Openssl 工具查看证书信息 123$ openssl x509 -in app.crt -no...

2020-05-20
项目的通用结构
项目的通用结构,可根据真实情况进行删减 12345678910111213141516171819202122232425- src #代码- data #需要保存的文件,如安装包、镜像等- docs # 说明文档- scripts #相关的脚本文件- hack - build - Dockerfile # 构建镜像 - Vagrantfile #Vagrant配置 - ansible/ # ansible构建部署脚本 - site.yml - hosts - roles/ - group_vars/ - host_vars/ - library/ - kubernetes/ # Openshift平台构建部署脚本 - docker-compose # Docker compose部署 - conf - docker-compose.yaml- Makefile # 不同环境构统一构建入口- Jenkinsfile # Jenkins构建流水线,可调用ansible脚本或Dockerfile脚本- REA...

2020-05-20
ansible通过跳板机管理另一个网络下的主机集群
原文地址:http://wooooe.com/2018/07/31/remote_forwarding/ ssh端口映射例子 因为公司的网络比较深所以经常需要跳转多次。所以这次做个记录 需求: 需要从your host跳到client中间隔了两层跳板机。 如果单纯用代理方法只能跳一层 所以如果用端口映射+代理方式就可以跳两层了 映射命令 1ssh -g -f -NL 127.0.0.1:44010:172.16.3.14:22 -p 3391 jump_host1_username@222.222.222.222 意思就是将172.16.3.14的22端口映射到127.0.0.1的44010端口,222.222.222.222是中间的代理机,3391是222.222.222.222的ssh端口。 映射完成之后。执行 1ssh -p 44010 jump_host2_username@127.0.0.1 就可以直接跳转到jump_host2上 ssh走代理方法 第一种: 1ssh -o ProxyCommand="ssh -W %h:%p -p 339...
目录
