瀏覽代碼

Add tips for a Jenkins HTTPD deployment

- How to make `git-describe` working
- How to copy files from Jenkins to another folder
DricomDragon 5 年之前
父節點
當前提交
01bc026666
共有 1 個文件被更改,包括 12 次插入0 次删除
  1. 12 0
      Guides/jenkins.md

+ 12 - 0
Guides/jenkins.md

@@ -65,12 +65,24 @@ Adapt job name.
 - Put SSH public key in Jenkins account on Gogs
 - On Gogs : Add Jenkins user with _read_ rights to any repository Jenkins has to build
 
+### Apache2 http server
+
+How to deploy on a Httpd server.
+
+#### Grant _jenkins_ user
+
+You have to set _jenkins_ user owner of the targeted folder.
+
 ## Trouble shooting
 
 ### Logs
 
 In file `/var/log/jenkins/jenkins.log` 
 
+### Git describe
+
+To allow the command `git describe` to work, go to your job configuration and add an **Advanced Cloned Behoviours** and tick the _tags_ checkbox.
+
 ## Configure
 
 Configuration parameters can be found at `/etc/default/jenkins`