Browse Source

Add tips for a Jenkins HTTPD deployment

- How to make `git-describe` working
- How to copy files from Jenkins to another folder
DricomDragon 5 năm trước cách đây
mục cha
commit
01bc026666
1 tập tin đã thay đổi với 12 bổ sung0 xóa
  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`