aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Dockerfile1
-rw-r--r--userdata/conf/config_template.xml7
-rw-r--r--userdata/conf/users/README1
3 files changed, 7 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index c8aa52b..be67bb4 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -55,6 +55,7 @@ RUN ln -s /userdata/logs $INST_JTA_FRONTEND_PATH/logs
RUN ln -s /userdata/conf/boards $INST_JTA_ENGINE_PATH/overlays/boards
RUN ln -s /userdata/conf/config.xml $INST_JTA_FRONTEND_PATH/config.xml
RUN ln -s /userdata/conf/nodes $INST_JTA_FRONTEND_PATH/nodes
+RUN ln -s /userdata/conf/users $INST_JTA_FRONTEND_PATH/users
RUN ln -s /userdata/conf/tools.sh $INST_JTA_ENGINE_PATH/scripts/tools.sh
#RUN mkdir $INST_JTA_ENGINE_PATH/logs/logruns
diff --git a/userdata/conf/config_template.xml b/userdata/conf/config_template.xml
index b07c958..69b55b4 100644
--- a/userdata/conf/config_template.xml
+++ b/userdata/conf/config_template.xml
@@ -9,7 +9,10 @@
<mode>NORMAL</mode>
<useSecurity>true</useSecurity>
<authorizationStrategy class="hudson.security.AuthorizationStrategy$Unsecured"/>
- <securityRealm class="hudson.security.SecurityRealm$None"/>
+ <securityRealm class="hudson.security.HudsonPrivateSecurityRealm">
+ <disableSignup>false</disableSignup>
+ <enableCaptcha>false</enableCaptcha>
+ </securityRealm>
<disableRememberMe>false</disableRememberMe>
<projectNamingStrategy class="jenkins.model.ProjectNamingStrategy$DefaultProjectNamingStrategy"/>
<workspaceDir>${ITEM_ROOTDIR}/workspace</workspaceDir>
@@ -295,4 +298,4 @@
</envVars>
</hudson.slaves.EnvironmentVariablesNodeProperty>
</globalNodeProperties>
-</hudson>
+</hudson> \ No newline at end of file
diff --git a/userdata/conf/users/README b/userdata/conf/users/README
new file mode 100644
index 0000000..f2059df
--- /dev/null
+++ b/userdata/conf/users/README
@@ -0,0 +1 @@
+This catalogue contains the users database of jenkins.