This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
инструмент_jenkins [2023/09/21 13:18] val [Pipeline] |
инструмент_jenkins [2024/04/08 18:53] val [Установка] |
||
---|---|---|---|
Line 7: | Line 7: | ||
===== Установка ===== | ===== Установка ===== | ||
- | * [[Сервис JRE]] | + | * [[Сервис JRE]] !!! новая версия ниже |
* [[https://www.jenkins.io/doc/book/installing/linux/|Debian/Ubuntu Long Term Support release]] | * [[https://www.jenkins.io/doc/book/installing/linux/|Debian/Ubuntu Long Term Support release]] | ||
+ | * [[https://pkg.jenkins.io/debian-stable/]] | ||
+ | * !!! В текущей версии устанавливается так: | ||
+ | <code> | ||
+ | # wget -O /usr/share/keyrings/jenkins-keyring.asc https://pkg.jenkins.io/debian-stable/jenkins.io-2023.key | ||
+ | |||
+ | # echo deb [signed-by=/usr/share/keyrings/jenkins-keyring.asc] \ | ||
+ | https://pkg.jenkins.io/debian-stable binary/ | sudo tee \ | ||
+ | /etc/apt/sources.list.d/jenkins.list > /dev/null | ||
+ | | ||
+ | # apt-get update | ||
+ | |||
+ | # apt-get install fontconfig openjdk-17-jre | ||
+ | |||
+ | # apt-get install jenkins | ||
+ | </code> | ||
==== Смена порта ==== | ==== Смена порта ==== | ||
Line 38: | Line 53: | ||
* [[https://www.jenkins.io/blog/2022/12/27/run-jenkins-agent-as-a-service/|Create a new Jenkins node, and run your Jenkins agent as a service]] | * [[https://www.jenkins.io/blog/2022/12/27/run-jenkins-agent-as-a-service/|Create a new Jenkins node, and run your Jenkins agent as a service]] | ||
* [[Сервис JRE]] | * [[Сервис JRE]] | ||
+ | |||
+ | * !!! В текущей версии нужно: Dashboard -> Manage Jenkins -> Security -> TCP port for inbound agents: Random | ||
<code> | <code> | ||
Line 50: | Line 67: | ||
Remote root directory: /home/jenkins/ | Remote root directory: /home/jenkins/ | ||
... | ... | ||
- | Use WebSocket: yes | + | Use WebSocket: yes !!! В текущей версии нет |
... | ... | ||
</code><code> | </code><code> |