jenkins url is empty but is required for the proper operation of many jenkins features like email notifications, pr status update, and environment variables such as build_url.
Of course this can be configured easily in Jenkins web UI but it would be convenient to have this by default after install. The URL can be set automatically by adding jenkins.model.JenkinsLocationConfiguration.xml in /var/lib/jenkins with the following contents:
Describe the feature request
After a fresh installation I receive a warning
Of course this can be configured easily in Jenkins web UI but it would be convenient to have this by default after install. The URL can be set automatically by adding
jenkins.model.JenkinsLocationConfiguration.xml
in/var/lib/jenkins
with the following contents:Expected behavior
jenkins.model.JenkinsLocationConfiguration.xml
is automatically created during installation with the following variables:adminAddress
: mail address of yunohost admin userjenkinsUrl
: configured installation URLThis would also eliminate the mentioned warning after a fresh install.