Различия

Показаны различия между двумя версиями страницы.

Ссылка на это сравнение

Предыдущая версия справа и слева Предыдущая версия
Следующая версия
Предыдущая версия
java:jenkins [2018/11/19 01:08] – [Плагины] mirocowjava:jenkins [2018/11/25 20:38] (текущий) – [Установка] mirocow
Строка 3: Строка 3:
 ===== Установка ===== ===== Установка =====
  
-  * https://pkg.jenkins.io/debian/+  * https://pkg.jenkins.io/debian/ :!: 
 +  * https://jenkins.io/changelog/
  
 ==== Установка текущей ==== ==== Установка текущей ====
Строка 20: Строка 21:
 </code> </code>
  
 +===== Proxy =====
 +
 +<code nginx>BASH
 +upstream jenkins {
 +  server 127.0.0.1:8080 fail_timeout=0;
 +}
 + 
 +server {
 +  listen 80;
 +  server_name jenkins.domain.tld;
 +  return 301 https://$host$request_uri;
 +}
 + 
 +server {
 +  listen 443 ssl;
 +  server_name jenkins.domain.tld;
 + 
 +  ssl_certificate /etc/nginx/ssl/server.crt;
 +  ssl_certificate_key /etc/nginx/ssl/server.key;
 + 
 +  location / {
 +    proxy_set_header        Host $host:$server_port;
 +    proxy_set_header        X-Real-IP $remote_addr;
 +    proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for;
 +    proxy_set_header        X-Forwarded-Proto $scheme;
 +    proxy_redirect http:// https://;
 +    proxy_pass              http://jenkins;
 +    # Required for new HTTP-based CLI
 +    proxy_http_version 1.1;
 +    proxy_request_buffering off;
 +    proxy_buffering off; # Required for HTTP-based CLI to work over SSL
 +    # workaround for https://issues.jenkins-ci.org/browse/JENKINS-45651
 +    add_header 'X-SSH-Endpoint' 'jenkins.domain.tld:50022' always;
 +  }
 +}
 +</code>
 +
 +[[https://www.8host.com/blog/nginx-kak-obratnyj-proksi-server-jenkins/|Подробнее...]]
 ===== Плагины ===== ===== Плагины =====
  
   * https://github.com/jenkinsci/pipeline-examples   * https://github.com/jenkinsci/pipeline-examples
  
-====== Видео ======+ 
 +===== Статьи / Форумы ===== 
 + 
 +  * https://automated-testing.info/search?q=jenkins 
 +  * https://habr.com/search/?target_type=posts&q=%5Bjenkins%5D&order_by=date 
 +===== Видео =====
  
   * https://www.youtube.com/watch?v=-Dxm3jhk-W0   * https://www.youtube.com/watch?v=-Dxm3jhk-W0