Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 Jenkins 中有一个由 Gerrit 触发的构建,我想在所有分支上触发,除了master. 我应该为此使用什么正则表达式?
master
使用负前瞻对我有用:
^(?!.*master).*$
应该触发除master之外的所有东西。感谢这个问题的答案。
以下对我有用:
^(master.+|(?!master).*)$
这仅排除主控。例如,不是master_joda。
也是基于这些答案。
请告诉我,我按行流体创建了一个三列,但是我在第二列中的表对我来说非常大<div class="span7"> 如果我将此 DIV 设为class="container"或其他类 - 我的第三个 div 移到底部,这对我不利。
<div class="span7">
class="container"
也许你给我建议,我可以做些什么来将我的第三列模板保存在一行(屏幕)中。
ps这是我的问题,例