|
@@ -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`
|