index.html 27.6 KB
Newer Older
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
1 2 3 4 5
<!DOCTYPE html>
<html class="no-js" lang="zh-CN">
  <head>
    <meta charset="utf-8">
    
LinuxSuRen's avatar
LinuxSuRen 已提交
6 7 8
    <link rel="preload" href="https://jenkins-zh.cn/files/muli-latin-200.woff2" as="font" type="font/woff2" crossorigin>
    <link rel="preload" href="https://jenkins-zh.cn/files/muli-latin-400.woff2" as="font" type="font/woff2" crossorigin>
    <link rel="preload" href="https://jenkins-zh.cn/files/muli-latin-800.woff2" as="font" type="font/woff2" crossorigin>
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
9 10 11

    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
     
LinuxSuRen's avatar
LinuxSuRen 已提交
12 13
     <title>如何参与 - Jenkins 中文社区</title>
     <meta name="HandheldFriendly" content="True">
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
14
    <meta name="MobileOptimized" content="320">
LinuxSuRen's avatar
LinuxSuRen 已提交
15
    
LinuxSuRen's avatar
LinuxSuRen 已提交
16
    <meta name="description" content="参与 Jenkins 中文社区的具体步骤">
LinuxSuRen's avatar
LinuxSuRen 已提交
17 18
    
    
LinuxSuRen's avatar
LinuxSuRen 已提交
19
    <meta name="keywords" content="Jenkins,Jenkins中文社区,Jenkins官方公众号,持续集成,持续交付,开源社区,DevOps">
LinuxSuRen's avatar
LinuxSuRen 已提交
20
    
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
21 22

    <meta name="viewport" content="width=device-width,minimum-scale=1">
LinuxSuRen's avatar
LinuxSuRen 已提交
23
     <meta name="generator" content="Hugo 0.54.0" />
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
24 25

      
LinuxSuRen's avatar
LinuxSuRen 已提交
26
        <META NAME="ROBOTS" CONTENT="INDEX, FOLLOW">
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
27 28
      

LinuxSuRen's avatar
LinuxSuRen 已提交
29
    <link href='/dist/main.css' rel='stylesheet' type="text/css" /><style>
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
30 31 32 33 34 35
  img.avatar {
    width: 32px;
    display: inline;
  }
</style>
<meta property="og:title" content="如何参与" />
LinuxSuRen's avatar
LinuxSuRen 已提交
36
<meta property="og:description" content="参与 Jenkins 中文社区的具体步骤" />
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
37
<meta property="og:type" content="article" />
LinuxSuRen's avatar
LinuxSuRen 已提交
38
<meta property="og:url" content="https://jenkins-zh.cn/about/how-to-involve/" />
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
39
<meta property="article:published_time" content="2019-01-05T22:56:04&#43;08:00"/>
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
40 41 42
<meta property="article:modified_time" content="2019-01-05T22:56:04&#43;08:00"/>

<meta itemprop="name" content="如何参与">
LinuxSuRen's avatar
LinuxSuRen 已提交
43
<meta itemprop="description" content="参与 Jenkins 中文社区的具体步骤">
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
44 45 46 47


<meta itemprop="datePublished" content="2019-01-05T22:56:04&#43;08:00" />
<meta itemprop="dateModified" content="2019-01-05T22:56:04&#43;08:00" />
LinuxSuRen's avatar
LinuxSuRen 已提交
48
<meta itemprop="wordCount" content="184">
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
49 50 51 52 53 54



<meta itemprop="keywords" content="" />
<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="如何参与"/>
LinuxSuRen's avatar
LinuxSuRen 已提交
55
<meta name="twitter:description" content="参与 Jenkins 中文社区的具体步骤"/>
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
56

LinuxSuRen's avatar
LinuxSuRen 已提交
57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
        
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-4216293-5"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'UA-4216293-5');



var trackOutboundLink = function(id, url) {
  console.log("track:", id, url)
  gtag('event', 'click', {
    'event_category': 'outbound',
    'event_label': id,
    'transport_type': 'beacon',
    'event_callback': function(){document.location = url;}
  });
}

</script>

      
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
81 82 83 84 85 86 87 88
  </head>
  <body class="ma0 sans-serif bg-primary-color-light">
    
<nav class="bg-primary-color-dark pv4 w-100" role="navigation">

  <div class="center flex-ns flex-wrap items-center justify-start mw9">

    <h1 class="dim f3 lh-solid ml0-ns mr0 mr4-l mv0 pl3 pl4-ns">
LinuxSuRen's avatar
LinuxSuRen 已提交
89
      <a href="https://jenkins-zh.cn/" class="link white">
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
90 91 92 93 94 95 96 97 98 99
         Jenkins 中文社区
      </a>
    </h1>
    <ul class="list ma0 pa0 dn dib-l">
      
        <li class="f5 dib mr4" role="menuitem">
            
            
          <a href="/wechat/" class="dim link light-silver"
            >
LinuxSuRen's avatar
LinuxSuRen 已提交
100
            博客
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
101 102 103 104 105
              
            
          </a>
        </li>
      
LinuxSuRen's avatar
LinuxSuRen 已提交
106 107 108 109 110 111 112 113 114 115 116
        <li class="f5 dib mr4" role="menuitem">
            
            
          <a href="/tutorial/" class="dim link light-silver"
            >
            教程
              
            
          </a>
        </li>
      
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
117 118 119 120 121 122 123 124 125 126 127
        <li class="f5 dib mr4" role="menuitem">
            
            
          <a href="/event/" class="dim link light-silver"
            >
            活动
              
            
          </a>
        </li>
      
LinuxSuRen's avatar
LinuxSuRen 已提交
128 129 130 131 132 133 134 135 136 137 138
        <li class="f5 dib mr4" role="menuitem">
            
            
          <a href="/partner/" class="dim link light-silver"
            >
            合作伙伴
              
            
          </a>
        </li>
      
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181
        <li class="f5 dib mr4" role="menuitem">
            
            
          <a href="/about/" class="dim link light-silver"
            >
            关于我们
              
            
          </a>
        </li>
      
        <li class="f5 dib mr4" role="menuitem">
            
            
          <a href="http://jenkins.io/zh" class="dim link light-silver"
            target="_blank">
            Jenkins 官网
              
            
              <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="10" height="10" viewBox="0 0 32 32" class="fill-current v-base" aria-label="External Link">
<path d="M25.152 16.576v5.696q0 2.144-1.504 3.648t-3.648 1.504h-14.848q-2.144 0-3.648-1.504t-1.504-3.648v-14.848q0-2.112 1.504-3.616t3.648-1.536h12.576q0.224 0 0.384 0.16t0.16 0.416v1.152q0 0.256-0.16 0.416t-0.384 0.16h-12.576q-1.184 0-2.016 0.832t-0.864 2.016v14.848q0 1.184 0.864 2.016t2.016 0.864h14.848q1.184 0 2.016-0.864t0.832-2.016v-5.696q0-0.256 0.16-0.416t0.416-0.16h1.152q0.256 0 0.416 0.16t0.16 0.416zM32 1.152v9.12q0 0.48-0.352 0.8t-0.8 0.352-0.8-0.352l-3.136-3.136-11.648 11.648q-0.16 0.192-0.416 0.192t-0.384-0.192l-2.048-2.048q-0.192-0.16-0.192-0.384t0.192-0.416l11.648-11.648-3.136-3.136q-0.352-0.352-0.352-0.8t0.352-0.8 0.8-0.352h9.12q0.48 0 0.8 0.352t0.352 0.8z"></path>
</svg>

            
          </a>
        </li>
      
    </ul>

    <div class="db dib-ns pl3"><form id="site-search-form" action="" role="search">
  <fieldset class="bn ma0 pa0">
    <label class="clip" for="email-address">Search</label>
    <input type="search" id="search-input" class="needs-js bg-left bg-transparent bn f5 input-reset lh-solid mt3 mt0-ns pl4 pv2 w5 white"
      placeholder="搜索文档" type="text"
      name="email-address" value="" style="background-image:url('/images/icon-search.png');background-size:16px 16px;">
  </fieldset>
</form>
</div>

    <div class="list ma0 pa0 dn dib-l"></div>

    <span class="absolute mt1 mt2-l pr3 right-0 top-0">

LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
182
<a class="github-button needs-js link primary-color-dark" href="https://github.com/jenkins-zh/jenkins-zh/" data-size="large" data-show-count="false" aria-label="Star Jenkins WeChat GitHub">Star</a>
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203
</span>

  </div>
</nav>

    
    <main role="main" class="content-with-sidebar min-vh-100 pb7 pb0-ns">
      
<main>
  <article class="w-100 ph4 pb5 pb6-ns pt1 pt5-ns">
    <div class="flex-l">
      

      <div class="order-2 w-100 w-20-l ph5-m ph0-l mb4 sticky">



  <aside class="mw5 br3 mv3 nested-links">
    
    
      
LinuxSuRen's avatar
LinuxSuRen 已提交
204
        <h3 class="f4 dib author">
LinuxSuRen's avatar
LinuxSuRen 已提交
205 206 207 208 209
            Zhao Xiaojie
        </h3>

      
      
LinuxSuRen's avatar
LinuxSuRen 已提交
210
        <p class="lh-copy measure center mt0 f6 black-60 bio">
LinuxSuRen's avatar
LinuxSuRen 已提交
211 212
          Contributor of @jenkinsci . Jenkins press contact in China.
        </p>
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
213
      
LinuxSuRen's avatar
LinuxSuRen 已提交
214
      <a href="https://github.com/LinuxSuRen" target="_blank" class="link dim v-mid dib">
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
215 216 217 218 219
        <svg version="1.1" fill="gray" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="16" height="18" viewBox="0 0 27 32">
<path d="M9.28 21.44q0.064-0.128-0.064-0.256-0.16-0.128-0.256-0.032-0.064 0.128 0.064 0.224 0.16 0.128 0.256 0.064zM8.768 20.704q-0.096-0.128-0.224-0.096-0.096 0.096 0 0.224 0.128 0.16 0.224 0.096t0-0.224zM8.032 19.968q0.032-0.064-0.096-0.128-0.128-0.032-0.128 0.032-0.064 0.096 0.064 0.16 0.16 0.032 0.16-0.064zM8.416 20.384q0.032 0 0.032-0.064t-0.064-0.096q-0.128-0.128-0.192-0.064t0.032 0.192q0.096 0.096 0.192 0.032zM9.952 21.728q0.032-0.128-0.16-0.192-0.16-0.064-0.224 0.064t0.16 0.192q0.16 0.064 0.224-0.064zM10.688 21.792q0-0.16-0.192-0.16t-0.192 0.16 0.192 0.128 0.192-0.128zM11.392 21.664q-0.032-0.128-0.224-0.096t-0.16 0.16q0.032 0.16 0.192 0.096t0.192-0.16zM22.848 16q0-3.776-2.656-6.464t-6.464-2.688-6.464 2.688-2.688 6.464q0 2.976 1.76 5.376t4.48 3.296q0.32 0.064 0.48-0.096t0.16-0.352q0-0.928-0.032-1.696-0.096 0.032-0.256 0.064t-0.64 0.032-0.864-0.096-0.768-0.352-0.544-0.736q-0.416-1.056-1.024-1.312-0.032-0.032-0.064-0.064l-0.16-0.16t-0.096-0.16 0.064-0.128 0.352-0.064q0.096 0 0.256 0.032t0.544 0.288 0.576 0.64q0.288 0.48 0.672 0.736t0.768 0.256 0.704-0.064 0.512-0.16q0.128-0.864 0.608-1.248-0.896-0.096-1.536-0.32t-1.312-0.704-0.992-1.344-0.352-2.144q0-1.408 0.96-2.464-0.448-1.088 0.096-2.4 0.32-0.128 0.96 0.128t1.088 0.512l0.448 0.288q1.056-0.288 2.304-0.288t2.272 0.288q0.192-0.128 0.512-0.32t0.992-0.448 1.024-0.16q0.512 1.312 0.096 2.4 0.928 1.056 0.928 2.464 0 1.024-0.256 1.792t-0.64 1.248-0.928 0.8-1.12 0.448-1.216 0.224q0.608 0.544 0.608 1.696 0 0.704 0 1.6t-0.032 0.896q0 0.224 0.16 0.352t0.48 0.096q2.752-0.928 4.512-3.296t1.728-5.376zM27.424 7.424v17.152q0 2.112-1.504 3.616t-3.648 1.536h-17.12q-2.144 0-3.648-1.536t-1.504-3.616v-17.152q0-2.112 1.504-3.616t3.648-1.536h17.12q2.144 0 3.648 1.536t1.504 3.616z"></path>
</svg>

      </a>
LinuxSuRen's avatar
LinuxSuRen 已提交
220 221

  
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
222 223 224 225 226 227 228 229
  </aside>


<aside class="fixed-lTK mw5-l right-0 f6 bl-l b--moon-gray pv4 pv0-ns ph4-l nested-list-reset nested-links nested-copy-line-height">
	
		<p class="b">此页面上的内容</p>
  	<nav id="TableOfContents">
<ul>
LinuxSuRen's avatar
LinuxSuRen 已提交
230 231 232 233 234 235 236 237 238 239 240 241 242
<li><a href="#为什么要参与开源社区">为什么要参与开源社区</a></li>
<li><a href="#如何参与-jenkins-中文社区">如何参与 Jenkins 中文社区</a></li>
<li><a href="#jenkins-中文社区代码仓库列表">Jenkins 中文社区代码仓库列表</a></li>
<li><a href="#贡献-jenkins-中文社区的具体工作">贡献 Jenkins 中文社区的具体工作</a>
<ul>
<li><a href="#翻译-jenkins-相关文章">翻译 Jenkins 相关文章</a></li>
<li><a href="#jenkins-中文本地化">Jenkins 中文本地化</a></li>
<li><a href="#发表-jenkins-原创文章">发表 Jenkins 原创文章</a>
<ul>
<li><a href="#发表原创文章的步骤">发表原创文章的步骤</a></li>
<li><a href="#关于排期">关于排期</a></li>
<li><a href="#提-pr-时的要求">提 PR 时的要求</a></li>
</ul></li>
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
243 244
<li><a href="#分享">分享</a></li>
<li><a href="#维护本站点">维护本站点</a></li>
LinuxSuRen's avatar
LinuxSuRen 已提交
245 246
<li><a href="#review-别人提交到-pull-request">Review 别人提交到 Pull Request</a></li>
</ul></li>
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
247 248 249 250 251
</ul>
</nav>
	

	<div date-pref>
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
252 253 254 255 256 257 258 259
		<a href=".." class="dib f6 pl1 hover-bg-light-gray br-100">
			<svg class="fill-current" height="30px" viewBox="0 0 24 24" width="30px" xmlns="http://www.w3.org/2000/svg">
      <path transform="rotate(90 11.704999923706055,12.000000000000002) " d="m15.41,7.41l-1.41,-1.41l-6,6l6,6l1.41,-1.41l-4.58,-4.59l4.58,-4.59z" id="svg_1"/>
    <path d="M0 0h24v24H0z" fill="none"/>
</svg>

		</a>
		
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
260
		
LinuxSuRen's avatar
LinuxSuRen 已提交
261
			<a href="https://jenkins-zh.cn/about/star-plan/" class="dib f6 pl1 hover-bg-light-gray br-100" title="社区贡献激励方案 ">
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
262 263 264 265 266 267 268 269 270
				<svg class="fill-current" height="30px" viewBox="0 0 24 24" width="30px" xmlns="http://www.w3.org/2000/svg">
    <path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"/>
    <path d="M0 0h24v24H0z" fill="none"/>
</svg>

			</a>
		

		
LinuxSuRen's avatar
LinuxSuRen 已提交
271
			<a href="https://jenkins-zh.cn/about/channels/" class="dib f6 pr1 hover-bg-light-gray br-100" title="交流">
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
272 273 274 275 276 277 278 279 280 281 282 283
			<svg class="fill-current" height="30px" viewBox="0 0 24 24" width="30px" xmlns="http://www.w3.org/2000/svg">
    <path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/>
    <path d="M0 0h24v24H0z" fill="none"/>
</svg>

			</a>
		
	</div>

</aside>
</div>

LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
284
      <div class="order-1 w-80-l mw8 ph0 ph5-ns mid-gray nested-copy-line-height no-underline nested-links nested-img nested-copy-seperator nested-blockquote mt0-ns" style="flex-grow:1;">
LinuxSuRen's avatar
LinuxSuRen 已提交
285
        <button id="copyMe" onclick="copyMe()" style="display: none">Copy Me</button>
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
286
        <div class="documentation-copy center mw8">
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
287 288 289 290 291 292 293 294 295 296
          <div id="readout" class="fixed right-0 bottom-0">
          </div>
          <header class="flex-none w-100">
  
  <h1 class="lh-title mb3 mv0 pt3 primary-color-dark">如何参与</h1>
</header>

<aside class="bt bw1 pt3 mt2 mid-gray b--mid-gray fn w-100">
  
    <div class="f4 fw4 lh-copy">
LinuxSuRen's avatar
LinuxSuRen 已提交
297
      参与 Jenkins 中文社区的具体步骤
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
298 299 300 301 302 303 304 305 306 307 308 309
    </div>
  

  
</aside>



<div class="prose" id="prose">



LinuxSuRen's avatar
LinuxSuRen 已提交
310 311 312 313 314 315 316 317
<h1 id="为什么要参与开源社区">为什么要参与开源社区</h1>

<ul>
<li><a href="https://github.com/zacker330">翟志军</a>:想亲身参与一个开源社区,了解其运行机制。而为什么选择 Jenkins 中文社区?是想更多人了解持续交付。</li>
<li><a href="https://github.com/zhangc819">zhangc819</a>:日常工作里经常需要开源社区的力量来解决问题、学习经验,参与开源社区建设也是为了给社区提供更多的力量,相互左右才能壮大下去。</li>
</ul>

<h1 id="如何参与-jenkins-中文社区">如何参与 Jenkins 中文社区</h1>
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
318

LinuxSuRen's avatar
LinuxSuRen 已提交
319
<p>参与 Jenkins 中文社区的方式不只有 Coding 一条路可选,还有很多方式,比如:</p>
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
320

LinuxSuRen's avatar
LinuxSuRen 已提交
321 322 323 324 325 326 327
<ol>
<li>发表或翻译 Jenkins 相关的文章,并发表到社区网站及微信公众号。</li>
<li>Jenkins 本地化。</li>
<li>成为 Jenkins 线下或线上活动的志愿者。</li>
<li>Review 别人提交到 Pull Request。</li>
<li>发现 Jenkins 社区哪里可以改善,然后提个 Issue 或 Pull Request。</li>
</ol>
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
328

LinuxSuRen's avatar
LinuxSuRen 已提交
329
<p>等等。所有你能想到的,促进 Jenkins 中文社区发展的事情都算是参与 Jenkins 中文社区。</p>
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
330

LinuxSuRen's avatar
LinuxSuRen 已提交
331
<p>但是,具体怎么做呢?</p>
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
332

LinuxSuRen's avatar
LinuxSuRen 已提交
333 334 335 336 337
<p>首先,我们都是基于 Git 工具进行协作的,所以,你需要会一些 Git 及 GitHub 的基础操作。</p>

<p><a href="/about/branching-strategy">分支策略</a>主要是提供执行并行任务时的参考指引,方便社区贡献者借鉴使用。</p>

<p>接下来,咱们分别介绍每一种参与方式。</p>
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
338

LinuxSuRen's avatar
LinuxSuRen 已提交
339 340 341
<h1 id="jenkins-中文社区代码仓库列表">Jenkins 中文社区代码仓库列表</h1>

<p>那么,我们可以向哪些源代码仓库进行贡献呢?以下是各仓库的链接及简单介绍:</p>
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
342

LinuxSuRen's avatar
LinuxSuRen 已提交
343 344 345 346 347 348
<ul>
<li><a href="https://github.com/jenkins-infra/wechat">wechat</a>:存放 jenkins-zh.cn 网站的文章。也就是发文章可在此仓库提 PR。</li>
<li><a href="https://github.com/jenkins-zh/jenkins-zh/">jenkins-zh</a>:Jenkins 中文社区网站源码,由 <a href="https://github.com/gohugoio/hugo">Hugo</a> 实现。</li>
<li><a href="https://github.com/jenkins-zh/wechat-backend">wechat-backend</a>:Jenkins 微信公众号机器人。</li>
<li><a href="https://github.com/jenkins-zh/hugo-jenkins-theme">hugo-jenkins-theme</a>:Jenkins 中文社区网站主题。</li>
<li><a href="https://github.com/jenkins-zh/artwork">artwork</a>:Jenkins 中文社区的艺术作品,比如 Jenkins 中文社区 Logo。</li>
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
349 350
</ul>

LinuxSuRen's avatar
LinuxSuRen 已提交
351
<h1 id="贡献-jenkins-中文社区的具体工作">贡献 Jenkins 中文社区的具体工作</h1>
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
352

LinuxSuRen's avatar
LinuxSuRen 已提交
353 354 355 356
<p>具体有哪些工作,可以让我们参与?</p>

<h2 id="翻译-jenkins-相关文章">翻译 Jenkins 相关文章</h2>

LinuxSuRen's avatar
LinuxSuRen 已提交
357
<p>所有的翻译任务都会列在 <a href="https://github.com/orgs/jenkins-zh/projects/2">GitHub的看板</a>上。可以在看板上找到自己感兴趣的文章,然后将其拖到“In progress”列。这样可以避免重复的翻译。</p>
LinuxSuRen's avatar
LinuxSuRen 已提交
358 359 360 361 362 363 364 365 366 367 368 369

<p><img src="/images/kanban-jenkins.png" alt="kanban-jenkins.png" /></p>

<p>当然,为保证翻译质量,希望大家能做到:</p>

<ol>
<li>认真、负责第一位。</li>
<li>翻译任务通常不建议超过两周。</li>
<li>遵守<a href="https://github.com/jenkinsci/localization-zh-cn-plugin/blob/master/specification.md">翻译规范</a></li>
</ol>

<h2 id="jenkins-中文本地化">Jenkins 中文本地化</h2>
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
370

LinuxSuRen's avatar
LinuxSuRen 已提交
371
<p>本地化的工作包括:</p>
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
372

LinuxSuRen's avatar
LinuxSuRen 已提交
373 374
<ol>
<li>对 Jenkins 官方网站及
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
375

LinuxSuRen's avatar
LinuxSuRen 已提交
376 377 378 379 380 381
<a href="https://jenkins.io/node/" target="_blank">博客</a>
的翻译。Pull Request 提交到:

<a href="https://github.com/jenkins-infra/cn.jenkins.io" target="_blank">cn.jenkins.io 代码仓库</a>
</li>
<li>维护
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
382 383

<a href="https://github.com/jenkinsci/localization-zh-cn-plugin" target="_blank">简体中文语言插件</a>
LinuxSuRen's avatar
LinuxSuRen 已提交
384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404
Pull Request 提交到 

<a href="https://github.com/jenkinsci/localization-zh-cn-plugin/pulls" target="_blank">localization-zh-cn-plugin</a>
</li>
</ol>

<h2 id="发表-jenkins-原创文章">发表 Jenkins 原创文章</h2>

<p>原创内容包括:Jenkins 相关、持续集成、持续交付、DevOps</p>

<p>在 Jenkins 中文社区提交的 PR 通过后,会发布在多个不同的媒体平台上,目前包括:</p>

<ol>
<li><a href="https://jenkins-zh.cn/">Jenkins 中文社区网站</a></li>
<li>Jenkins 微信公众号</li>
<li><a href="https://my.oschina.net/jenkinszh">开源中国博客</a></li>
<li><a href="https://www.jianshu.com/c/b34c41b2f68f">简书专栏</a></li>
<li><a href="https://juejin.im/user/5caa989b5188254418337798/posts">掘金</a></li>
</ol>

<h3 id="发表原创文章的步骤">发表原创文章的步骤</h3>
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
405

LinuxSuRen's avatar
LinuxSuRen 已提交
406 407 408 409 410 411
<ol>
<li>Fork <a href="https://github.com/jenkins-infra/wechat">wechat</a> 仓库,如果你还没有 fork。</li>
<li>在本地,参考 <a href="https://github.com/jenkins-infra/wechat/blob/master/articles/sample.md">范文</a> 写文章。动手前请仔细阅读请阅读<a href="https://github.com/jenkins-infra/wechat/blob/master/articles/README.md">规范</a>。如果实在不明白的话,你也可以参考其它仓库中 <a href="https://github.com/jenkins-infra/wechat/tree/master/articles">articles</a> 目录下的其它文章来写就好。</li>
<li>将本地的提交,推到自己的仓库。</li>
<li>在 GitHub 上提一个 PR。</li>
</ol>
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
412

LinuxSuRen's avatar
LinuxSuRen 已提交
413
<h3 id="关于排期">关于排期</h3>
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
414

LinuxSuRen's avatar
LinuxSuRen 已提交
415
<p>为了尽可能满足你期望的发布日期,可以自行选择,但同时需要满足如下的条件:</p>
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
416

LinuxSuRen's avatar
LinuxSuRen 已提交
417 418 419 420 421 422 423 424 425 426 427 428
<ul>
<li>为保障大家有足够的时间进行 Review,建议排到一周以后</li>
<li>工作日</li>
<li>避免同一天有相同类型的文章</li>
</ul>

<h3 id="提-pr-时的要求">提 PR 时的要求</h3>

<ol>
<li>PR 的标题格式:[类型-文章排期] 标题</li>
<li>在 PR 类型列表前的 <code>[]</code> 中加入一个 <code>x</code>,例如:<code>[x]</code></li>
</ol>
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
429

LinuxSuRen's avatar
LinuxSuRen 已提交
430 431 432
<p>更多内容请参考 <a href="https://github.com/jenkins-infra/wechat/blob/master/.github/PULL_REQUEST_TEMPLATE.md">PULL_REQUEST_TEMPLATE.md</a></p>

<h2 id="分享">分享</h2>
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
433

LinuxSuRen's avatar
LinuxSuRen 已提交
434
<p>你可以在本站或者 <a href="https://jenkins-zh.cn/about/meetups/">Meetup</a> 上分享你在使用 Jenkins 或者相关技术时总结的经验、教训、成果等。</p>
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
435

LinuxSuRen's avatar
LinuxSuRen 已提交
436
<h2 id="维护本站点">维护本站点</h2>
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
437

LinuxSuRen's avatar
LinuxSuRen 已提交
438
<p>你可以从了解<a href="https://jenkins-zh.cn/about/about-site/">本站的架构</a>开始。小到错别字修正,大到站点风格、架构完善都需要你的参与。</p>
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
439

LinuxSuRen's avatar
LinuxSuRen 已提交
440 441 442 443 444 445
<h2 id="review-别人提交到-pull-request">Review 别人提交到 Pull Request</h2>

<p>Review 代码也算贡献社区的一种方式。</p>

<p>Linus 说过:“Given enough eyeballs, all bugs are shallow(足够多的眼睛,就可让所有问题浮现)”。所以,当有贡献者提 Pull Request 到 Jenkins 中文社区的任何一个代码仓库,原则上,我们都需要两人及以上的人对该 Pull Request 进行 review。</p>

LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
446 447 448
</div>


LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
449 450 451 452 453 454
<aside class="bt bw1 pt3 mt2 mid-gray b--mid-gray fn w-100">

</aside>



LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
455 456 457 458 459 460 461 462 463 464 465 466 467 468

<script src="https://utteranc.es/client.js"
        repo="jenkins-zh/jenkins-zh.github.io"
        issue-term="pathname"
        theme="github-light"
        crossorigin="linuxsuren"
        async>
</script>


          

        </div>
      </div>
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
469
      
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
470 471 472 473 474 475 476

    </div>
  </article>

  <div class="w-100 bg-light-gray">
    <div class="mw7 pa4 center nested-lh-copy lh-copy">
      <h6 class="f4 dark-gray mb2">
LinuxSuRen's avatar
LinuxSuRen 已提交
477
  <a href="https://jenkins-zh.cn/about/how-to-involve/" class="hide-child link primary-color">
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
478 479 480
  <span class="nl3 child"><svg class="grow" fill="" height="14px" viewBox="0 0 24 24" width="14px" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h24v24H0z" fill="none"/><path d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"/></svg>
</span>
    “如何参与”
LinuxSuRen's avatar
LinuxSuRen 已提交
481
  </a> 更新于:January 5, 2019
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
482 483
</h6>

LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
484
      <a href="https://github.com/jenkins-zh/jenkins-zh/edit/master/content/about/how-to-involve.md" class="
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
485 486 487 488 489 490 491 492 493 494
f6 ph3 pv1 br2 dib  tc ttu mv3 bg-primary-color white hover-bg-green link
" target="_blank">改善此页</a>

      


    </div>
  </div>
</main>

LinuxSuRen's avatar
LinuxSuRen 已提交
495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580
<script type="text/javascript">
if(window.location.search == "?copy=true") {
  showCopyBut();
}

function copyMe(){
  var tempElements = [];

  var logoZone = document.createElement("div");
  logoZone.innerHTML = "<a href=\"https://jenkins-zh.cn\"><img width=\"520\" src=\"https://jenkins-zh.cn/wechat/images/grey-backgroud-jenkins-slogan.jpg\"/></a>";
  document.getElementById('prose').append(logoZone);
  tempElements.push(logoZone);
  var doc = document.getElementsByClassName('documentation-copy')[0];

  var articleHeader = document.createElement("div");
  tempElements.push(articleHeader);
  articleHeader.innerHTML = "本文首发于:<a href=\"https:\/\/jenkins-zh.cn\/about\/how-to-involve\/\">Jenkins 中文社区</a>";

  
  var rangeToSelect = document.createRange();
  rangeToSelect.selectNodeContents(doc);

  var data = window.getSelection();
  data.addRange(rangeToSelect);

  tempElements.push(appendArticleFooter(data.getRangeAt(0)));
  data.getRangeAt(0).insertNode(articleHeader);
  document.execCommand("copy", true, null);

  
  for(var i in tempElements) {
    tempElements[i].remove();
  }
  clearSelection();

  hideCopyBut();
}

function clearSelection(){
  window.getSelection().empty();
}

function showCopyBut() {
  document.getElementById('copyMe').style="";
}

function hideCopyBut() {
  document.getElementById('copyMe').style="display:none";
}

function appendArticleFooter(range) {
  var articleFooter = createArticleFooter();
  range.insertNode(articleFooter);
  return articleFooter;
}

function createArticleFooter() {
  var articleFooter = document.createElement("div");
  var authors = document.getElementsByClassName("author");
  var originalAuthors = document.getElementsByClassName("originalAuthor");
  var originalLinks = document.getElementsByClassName("originalLink");
  var articleFooterHtml = "";
  var isTranslated = false;
  if(originalAuthors.length > 0){
    articleFooterHtml += "<div>";
    if(originalLinks.length > 0){
      articleFooterHtml += "<a href=" + originalLinks[0].innerText + ">原文链接</a>&nbsp;&nbsp;&nbsp;&nbsp;";
    }
    articleFooterHtml += "作者:" + originalAuthors[0].innerText;
    articleFooterHtml += "</div>";
    isTranslated = true;
  }
  if(authors.length > 0){
    articleFooterHtml += "<div>";
    if(isTranslated) {
      articleFooterHtml += "译者:" + authors[0].innerText;
    } else {
      articleFooterHtml += "作者:" + authors[0].innerText;
    }
    articleFooterHtml += "</div>";
  }
  articleFooter.innerHTML = articleFooterHtml;
  return articleFooter;
}
</script>

LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
581 582 583 584 585 586 587
    </main>

    <footer class="bg-primary-color-dark ph4-ns pt4 relative w-100" role="contentinfo">
  <div class="center flex-ns flex-wrap justify-between mw9 w-90">
    <div class="pb3 pt4 w-100 w-50-ns">

      <div class="b f3  light-gray mb3 nested-links tc">
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
588
<a href="https://github.com/jenkins-zh/jenkins-zh/graphs/contributors" target="_blank" class="link">Jenkins 社区贡献者</a> 维护<br/>
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
589 590
      </div>

LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
591
      <ul class="center f6 list ma0 mv3 pa0 tc" style="display:none"><li class="dib mr3"><a href="https://github.com/jenkins-zh/jenkins-zh/issues/new" class="dim link light-gray pv2">File an Issue</a></li></ul>
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
592 593 594 595 596 597 598 599 600 601 602 603 604 605

      <ul class="center f6 list ma0 mv4 pa0 tc">
        <li class="dib mr3">
          <a href="https://twitter.com/suren69811254" target="_blank" class="dim link light-gray pv2">@suren69811254</a>
        </li>
        <li class="dib mr3">
          <a href="https://www.youtube.com/channel/UC63xz3pq26BBgwB3cnwCoqQ" target="_blank" class="dim link light-gray pv2">YouTube</a>
        </li>
      </ul>

      
    </div>

    <div>
LinuxSuRen's avatar
LinuxSuRen 已提交
606 607 608
        <div style="color: #ffffff; display: inline-block; text-align: center; margin-right: 5px; margin-left: 5px;">优酷视频
          <div>
            <a href="https://i.youku.com/jenkinszh" target="_blank">
LinuxSuRen's avatar
LinuxSuRen 已提交
609
              <img src="/images/youku-qrcode.png" with="100" height="100">
LinuxSuRen's avatar
LinuxSuRen 已提交
610 611 612 613 614 615 616 617 618 619 620
            </a>
          </div>
        </div>
        <div style="color: #ffffff; display: inline-block; text-align: center; margin-right: 5px; margin-left: 5px;">微信公众号
          <div>
            <a href="https://mp.weixin.qq.com/s/vifdduC3kRGSIMpyL03yVA" target="_blank">
              <img src="https://jenkins.io/images/jenkins-wechat.png" with="100" height="100">
            </a>
          </div>
        </div>
      </div>
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636

  </div>

  <div class="f7 gray mb5 mb0-ns ph3 w-100" style="display:none"> 
    <p class="dib mr4">Jenkins&reg; is a registered trademark of <a href="https://www.spi-inc.org/" class="link">Software in the Public Interest, Inc.</a></p>
    <p class="dib">Copyright 2018–2019 the original authors.</p>
  </div>


  <div class="bg-primary-color-dark bottom-0 left-0 right-0 dn-l fixed pb3 ph3 w-100"><div  class="globalmenu mobilemenu pb3 dn">
    

<ul class="list hidden dib ph0 ma0 scrolling-touch tc">
  
    <li  class="tl dib ma0 hover-bg-black w-100">
        <a href="/wechat/" class="ttu f6 link primary-color-light overflow hover-white db brand-font  ma0 w-100 pv3 ph4">
LinuxSuRen's avatar
LinuxSuRen 已提交
637
          博客
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
638 639 640
        </a>
    </li>
  
LinuxSuRen's avatar
LinuxSuRen 已提交
641 642 643 644 645 646
    <li  class="tl dib ma0 hover-bg-black w-100">
        <a href="/tutorial/" class="ttu f6 link primary-color-light overflow hover-white db brand-font  ma0 w-100 pv3 ph4">
          教程
        </a>
    </li>
  
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
647 648 649 650 651 652
    <li  class="tl dib ma0 hover-bg-black w-100">
        <a href="/event/" class="ttu f6 link primary-color-light overflow hover-white db brand-font  ma0 w-100 pv3 ph4">
          活动
        </a>
    </li>
  
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
653
    <li  class="tl dib ma0 hover-bg-black w-100">
LinuxSuRen's avatar
LinuxSuRen 已提交
654 655 656 657 658 659
        <a href="/partner/" class="ttu f6 link primary-color-light overflow hover-white db brand-font  ma0 w-100 pv3 ph4">
          合作伙伴
        </a>
    </li>
  
    <li  class="tl dib ma0 hover-bg-black w-100">
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695
        <a href="/about/" class="ttu f6 link primary-color-light overflow hover-white db brand-font  ma0 w-100 pv3 ph4">
          关于我们
        </a>
    </li>
  
    <li  class="tl dib ma0 hover-bg-black w-100">
        <a href="http://jenkins.io/zh" class="ttu f6 link primary-color-light overflow hover-white db brand-font  ma0 w-100 pv3 ph4">
          Jenkins 官网
        </a>
    </li>
  
</ul>

</div>
<div  class="docsmenu mobilemenu pb3 dn">
    

<ul class="list dib ph0 ma0 scrolling-touch tc">
  
</ul>

</div>

<div class="flex dn-l justify-between">
  <button class="js-toggle flex-auto dib dn-l f6 tc db mt4-ns ph3 pv2 link mr2 white bg-primary-color-dark hover-bg-primary-color ba b--white-40 w-auto" data-target=".globalmenu">Menu</button>

  <button class="js-toggle flex-auto dib dn-l f6 tc db mt4-ns ph3 pv2 link white bg-primary-color-dark hover-bg-primary-color ba b--white-40 w-auto" data-target=".docsmenu">Docs Menu</button>
</div>
</div>

</footer>

    
<link href="/dist/auto-complete.css" rel="stylesheet">
<script type="text/javascript">
    
LinuxSuRen's avatar
LinuxSuRen 已提交
696
        var baseurl = "https:\/\/jenkins-zh.cn\/";
LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
697 698 699 700 701 702 703 704
    
</script>
<script src="/dist/lunr.js"></script>
<script src="/dist/autocomplete.js"></script>
<script src="/dist/jquery-3.2.1.min.js"></script>
<script src="/dist/search.js"></script>

<script async defer src="https://buttons.github.io/buttons.js"></script>
LinuxSuRen's avatar
LinuxSuRen 已提交
705 706 707 708 709 710 711 712 713
<script>
    var _hmt = _hmt || [];
    (function() {
      var hm = document.createElement("script");
      hm.src = "https://hm.baidu.com/hm.js?6db234f713318730f0e5f6a95bdd8d47";
      var s = document.getElementsByTagName("script")[0]; 
      s.parentNode.insertBefore(hm, s);
    })();
</script>
LinuxSuRen's avatar
LinuxSuRen 已提交
714 715 716 717 718 719 720
<script>
(function(){
var src = (document.location.protocol == "http:") ? "http://js.passport.qihucdn.com/11.0.1.js?6276dcef5c15f276644151772390c1f9":"https://jspassport.ssl.qhimg.com/11.0.1.js?6276dcef5c15f276644151772390c1f9";
document.write('<script src="' + src + '" id="sozz"><\/script>');
})();
</script>

LinuxSuRen's avatar
deploy  
LinuxSuRen 已提交
721 722 723

  </body>
</html>