Jenkins: Difference between revisions
From Nasqueron Agora
(Created page with "We have a Jenkins instance located at http://ci.nasqueron.org and hosted as a Docker container on Dwellers. == Name conventions == <action verb>-<category>-<what> === Un...") |
(Plugins list) |
||
Line 17: | Line 17: | ||
* deploy-website-nasqueron-www3-<subdomain> for websites on Dwellers (CNAME www3.nasqueron.org) | * deploy-website-nasqueron-www3-<subdomain> for websites on Dwellers (CNAME www3.nasqueron.org) | ||
== Jenkinsfile == | |||
=== Plugins === | |||
The following plugins could be interesting when writing a pipeline: | |||
* [https://wiki.jenkins.io/display/JENKINS/Debian+Pbuilder+Plugin Build Debian package] (to deploy a software on Eglide for example) | |||
* [https://jenkins.io/doc/pipeline/steps/htmlpublisher/#-publishhtml-%20publish%20html%20reports Publish HTML reports] | |||
* [https://jenkins.io/doc/pipeline/steps/http_request/#-httprequest-%20perform%20an%20http%20request%20and%20return%20a%20response%20object Fire an HTTP request] | |||
* [https://jenkins.io/doc/pipeline/steps/rabbitmq-publisher/#-rabbitmqpublisher-%20publish%20to%20rabbit-mq Send a message to RabbitMQ] | |||
* [https://jenkins.io/doc/pipeline/steps/saltstack/#-salt-%20send%20a%20message%20to%20salt%20api Salt API] | |||
For SSH, there are: | |||
* [https://jenkins.io/doc/pipeline/steps/publish-over-ssh/#-sshpublisher-%20send%20build%20artifacts%20over%20ssh Publish over SSH] | |||
* [https://jenkins.io/doc/pipeline/steps/ssh-steps/ SSH Pipline Steps] | |||
* [https://jenkins.io/doc/pipeline/steps/ssh-agent/#-sshagent-%20ssh%20agent SSH Agent Plugin] | |||
''Only plugins compatible with pipeline as code are presented in this section.'' | |||
[[Category:Resource]] | [[Category:Resource]] | ||
[[Category:Reference]] | [[Category:Reference]] |
Revision as of 00:04, 14 September 2018
We have a Jenkins instance located at http://ci.nasqueron.org and hosted as a Docker container on Dwellers.
Name conventions
<action verb>-<category>-<what>
Unit tests
We use test as action verb.
We suggest to use something like test-<repo callsign>[-subset of tests]
Deployment
We use deploy as action verb.
For *.nasqueron.org, we should use:
- deploy-website-nasqueron-www1-<subdomain> for websites on Ysul (CNAME www1.nasqueron.org)
- deploy-website-nasqueron-www3-<subdomain> for websites on Dwellers (CNAME www3.nasqueron.org)
Jenkinsfile
Plugins
The following plugins could be interesting when writing a pipeline:
- Build Debian package (to deploy a software on Eglide for example)
- Publish HTML reports
- Fire an HTTP request
- Send a message to RabbitMQ
- Salt API
For SSH, there are:
Only plugins compatible with pipeline as code are presented in this section.