首页
归档
日志
相册
友链
1
docker中的gosu和su-exec工具
2
docker网络解析不稳定
3
vim 常用功能设置
4
Python 创建简单cgi web服务器
5
nmcli命令的使用
seafog
累计撰写
86
篇文章
累计创建
59
个标签
累计收到
13
条评论
导航
首页
归档
日志
相册
友链
目录
搜索
标签搜索
ENTRYPOINT
Vim
RockyLinux
RabbitMQ
MongoDB
Jenkins
Fail2ban
CentOS
Ubuntu
Resource Quotas
Pod
Filebeat
Controller Manager
Network
Volume
Node mechine
Namespace
LimitRange
Resource QoS
Deployment
ReplicaSet
Replication Controller
Logstash
Elasticsearch
ARP
Pipreqs
Nginx-module-vts
asyncio
TLS
Http2.0
Brotli
Debian
Alpine
ColdKnowledge
TCP/IP
Bash
Flannel
ELK
PHP-FPM
Prometheus
Ingress
Charles
Stream
Redis
Wireshark
Selenium
Etcd
PowerShell
WindowsServer
Supervisor
Linux
MySQL
Python
Yaml
Nginx
AdslProxy
Gitlab
Kubernetes
Docker
标签
Jenkins
jenkins pipeline 报 unexpected char: '\' 错误
3 个月前
97
0
0
33.7℃
Serveices
问题:在写jenkins pipeline script的时候,如果字符里面有\字符,比如这样:pipeline { agent any stages { stage('Check virtualenv') { steps { sh """ rm -r /mnt/x/some/director
Jenkins利用if和when进行阶段构建
3 个月前
83
0
0
32.3℃
Serveices
Stages 阶段(if)一般来说,当我们使用脚本步骤时,可以用声明式的语法来使用Groovy的条件式。例如,如果我们只想在某个布尔参数RELEASE被设置时发生释放,我们可以这样编码pipeline { agent any parameters { booleanParam(name: "RELEASE", defaultValue: false)