index.html 14.6 KB
Newer Older
LinuxSuRen's avatar
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
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
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
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
LinuxSuRen 已提交
24 25

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

LinuxSuRen's avatar
LinuxSuRen 已提交
29
    <link href='/dist/main.css' rel='stylesheet' type="text/css" /><style>
LinuxSuRen's avatar
LinuxSuRen 已提交
30 31 32 33 34 35
  img.avatar {
    width: 32px;
    display: inline;
  }
</style>
<meta property="og:title" content="" />
LinuxSuRen's avatar
LinuxSuRen 已提交
36 37 38 39
<meta property="og:description" content="通过微信公众号的 API 接口实现部分功能,这里主要是存放自动回复的消息。
我们的 API 后端代码是基于 Golang 编写的。
支持的消息类型包括:
 文本 图片 文章(公众号中的)  上面提到的消息类型,也就是字段 msgType 的值,包括:text、image、news。 更多的细节可以参考源码。" />
LinuxSuRen's avatar
LinuxSuRen 已提交
40
<meta property="og:type" content="article" />
LinuxSuRen's avatar
LinuxSuRen 已提交
41
<meta property="og:url" content="https://jenkins-zh.cn/wechat/management/auto-reply/readme/" />
LinuxSuRen's avatar
LinuxSuRen 已提交
42

LinuxSuRen's avatar
LinuxSuRen 已提交
43

LinuxSuRen's avatar
LinuxSuRen 已提交
44
<meta itemprop="name" content="">
LinuxSuRen's avatar
LinuxSuRen 已提交
45 46 47 48
<meta itemprop="description" content="通过微信公众号的 API 接口实现部分功能,这里主要是存放自动回复的消息。
我们的 API 后端代码是基于 Golang 编写的。
支持的消息类型包括:
 文本 图片 文章(公众号中的)  上面提到的消息类型,也就是字段 msgType 的值,包括:text、image、news。 更多的细节可以参考源码。">
LinuxSuRen's avatar
LinuxSuRen 已提交
49 50 51



LinuxSuRen's avatar
LinuxSuRen 已提交
52
<meta itemprop="wordCount" content="16">
LinuxSuRen's avatar
LinuxSuRen 已提交
53 54 55 56 57 58



<meta itemprop="keywords" content="" />
<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content=""/>
LinuxSuRen's avatar
LinuxSuRen 已提交
59 60 61 62
<meta name="twitter:description" content="通过微信公众号的 API 接口实现部分功能,这里主要是存放自动回复的消息。
我们的 API 后端代码是基于 Golang 编写的。
支持的消息类型包括:
 文本 图片 文章(公众号中的)  上面提到的消息类型,也就是字段 msgType 的值,包括:text、image、news。 更多的细节可以参考源码。"/>
LinuxSuRen's avatar
LinuxSuRen 已提交
63

LinuxSuRen's avatar
LinuxSuRen 已提交
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87
        
<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
LinuxSuRen 已提交
88 89 90 91 92 93 94 95
  </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 已提交
96
      <a href="https://jenkins-zh.cn/" class="link white">
LinuxSuRen's avatar
LinuxSuRen 已提交
97
         Jenkins 中文社区
LinuxSuRen's avatar
LinuxSuRen 已提交
98 99 100 101 102 103
      </a>
    </h1>
    <ul class="list ma0 pa0 dn dib-l">
      
        <li class="f5 dib mr4" role="menuitem">
            
LinuxSuRen's avatar
LinuxSuRen 已提交
104 105 106
            
          <a href="/wechat/" class="dim link light-silver"
            >
LinuxSuRen's avatar
LinuxSuRen 已提交
107
            博客
LinuxSuRen's avatar
LinuxSuRen 已提交
108 109
              
            
LinuxSuRen's avatar
LinuxSuRen 已提交
110 111 112 113 114 115 116 117 118 119
          </a>
        </li>
      
        <li class="f5 dib mr4" role="menuitem">
            
            
          <a href="/event/" class="dim link light-silver"
            >
            活动
              
LinuxSuRen's avatar
LinuxSuRen 已提交
120 121 122 123 124 125
            
          </a>
        </li>
      
        <li class="f5 dib mr4" role="menuitem">
            
LinuxSuRen's avatar
LinuxSuRen 已提交
126 127 128 129
            
          <a href="/about/" class="dim link light-silver"
            >
            关于我们
LinuxSuRen's avatar
LinuxSuRen 已提交
130 131
              
            
LinuxSuRen's avatar
LinuxSuRen 已提交
132 133 134 135 136 137 138 139 140 141
          </a>
        </li>
      
        <li class="f5 dib mr4" role="menuitem">
            
            
          <a href="http://jenkins.io/zh" class="dim link light-silver"
            target="_blank">
            Jenkins 官网
              
LinuxSuRen's avatar
LinuxSuRen 已提交
142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162
            
              <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>

LinuxSuRen's avatar
LinuxSuRen 已提交
163
    <div class="list ma0 pa0 dn dib-l"></div>
LinuxSuRen's avatar
LinuxSuRen 已提交
164 165 166

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

LinuxSuRen's avatar
LinuxSuRen 已提交
167
<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
LinuxSuRen 已提交
168 169 170 171 172 173 174 175 176 177 178
</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">
LinuxSuRen's avatar
LinuxSuRen 已提交
179
      
LinuxSuRen's avatar
LinuxSuRen 已提交
180 181

      <div class="order-2 w-100 w-20-l ph5-m ph0-l mb4 sticky">
LinuxSuRen's avatar
LinuxSuRen 已提交
182 183 184 185




LinuxSuRen's avatar
LinuxSuRen 已提交
186 187 188 189
<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">
	

	<div date-pref>
LinuxSuRen's avatar
LinuxSuRen 已提交
190 191 192 193 194 195 196 197
		<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
LinuxSuRen 已提交
198
		
LinuxSuRen's avatar
LinuxSuRen 已提交
199
			<a href="https://jenkins-zh.cn/wechat/images/readme/" class="dib f6 pl1 hover-bg-light-gray br-100" title=" ">
LinuxSuRen's avatar
LinuxSuRen 已提交
200 201 202 203 204 205 206 207 208
				<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 已提交
209
			<a href="https://jenkins-zh.cn/wechat/management/contributors/readme/" class="dib f6 pr1 hover-bg-light-gray br-100" title="">
LinuxSuRen's avatar
LinuxSuRen 已提交
210 211 212 213 214 215 216 217 218 219 220 221
			<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
LinuxSuRen 已提交
222 223
      <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;">
        <div class="documentation-copy center mw8">
LinuxSuRen's avatar
LinuxSuRen 已提交
224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240
          <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">
  

  
</aside>



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

LinuxSuRen's avatar
LinuxSuRen 已提交
241 242 243 244 245 246 247 248 249 250 251 252 253 254
<p>通过微信公众号的 API 接口实现部分功能,这里主要是存放自动回复的消息。</p>

<p>我们的 API <a href="https://github.com/jenkins-zh/wechat-backend">后端代码</a>是基于 Golang 编写的。</p>

<p>支持的消息类型包括:</p>

<ul>
<li>文本</li>
<li>图片</li>
<li>文章(公众号中的)</li>
</ul>

<p>上面提到的消息类型,也就是字段 <code>msgType</code> 的值,包括:<code>text</code><code>image</code><code>news</code>
更多的细节可以<a href="https://github.com/jenkins-zh/wechat-backend/blob/master/pkg/reply/core.go">参考源码</a></p>
LinuxSuRen's avatar
LinuxSuRen 已提交
255 256 257 258

</div>


LinuxSuRen's avatar
LinuxSuRen 已提交
259 260 261 262 263 264
<aside class="bt bw1 pt3 mt2 mid-gray b--mid-gray fn w-100">

</aside>



LinuxSuRen's avatar
LinuxSuRen 已提交
265 266 267 268 269 270 271 272 273 274 275 276 277 278

<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
LinuxSuRen 已提交
279
      
LinuxSuRen's avatar
LinuxSuRen 已提交
280 281 282 283 284 285 286

    </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 已提交
287
  <a href="https://jenkins-zh.cn/wechat/management/auto-reply/readme/" class="hide-child link primary-color">
LinuxSuRen's avatar
LinuxSuRen 已提交
288 289 290
  <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 已提交
291 292 293 294
  </a> 更新于:January 1, 0001
  <div>
    原文作者:<a href="" target="_blank"></a>
  </div>
LinuxSuRen's avatar
LinuxSuRen 已提交
295 296
</h6>

LinuxSuRen's avatar
LinuxSuRen 已提交
297
      <a href="https://github.com/jenkins-zh/jenkins-zh/edit/master/content/wechat/management/auto-reply/README.md" class="
LinuxSuRen's avatar
LinuxSuRen 已提交
298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314
f6 ph3 pv1 br2 dib  tc ttu mv3 bg-primary-color white hover-bg-green link
" target="_blank">改善此页</a>

      


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

    </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
LinuxSuRen 已提交
315
<a href="https://github.com/jenkins-zh/jenkins-zh/graphs/contributors" target="_blank" class="link">Jenkins 社区贡献者</a> 维护<br/>
LinuxSuRen's avatar
LinuxSuRen 已提交
316 317
      </div>

LinuxSuRen's avatar
LinuxSuRen 已提交
318
      <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
LinuxSuRen 已提交
319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341

      <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>
      <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 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>
LinuxSuRen's avatar
LinuxSuRen 已提交
342
    <p class="dib">Copyright 2018–2019 the original authors.</p>
LinuxSuRen's avatar
LinuxSuRen 已提交
343 344 345 346 347 348 349 350 351 352
  </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 已提交
353
          博客
LinuxSuRen's avatar
LinuxSuRen 已提交
354 355 356 357
        </a>
    </li>
  
    <li  class="tl dib ma0 hover-bg-black w-100">
LinuxSuRen's avatar
LinuxSuRen 已提交
358 359 360 361 362 363 364 365 366 367 368 369 370 371
        <a href="/event/" 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="/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 官网
LinuxSuRen's avatar
LinuxSuRen 已提交
372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399
        </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 已提交
400
        var baseurl = "https:\/\/jenkins-zh.cn\/";
LinuxSuRen's avatar
LinuxSuRen 已提交
401 402 403 404 405 406 407 408
    
</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 已提交
409 410 411 412 413 414 415 416 417
<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 已提交
418 419 420 421 422 423 424
<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
LinuxSuRen 已提交
425 426 427

  </body>
</html>