The code in the plugin does work. You need to set an environment variable, possible using one of the following methods:
1. If you're using 'java -jar jenkins.war' to run jenkins then change your command to be 'java -Dhudson.scm.SubversionSCM.pollFromMaster=true -jar jenkins.war'
2. Run 'set hudson.scm.SubversionSCM.pollFromMaster=true' (Windows) or 'export hudson.scm.SubversionSCM.pollFromMaster=true' (Unix) in your command shell before running 'java -jar jenkins.war' (or launching any container from that shell)
2. Add an entry to the Windows environment variables of 'hudson.scm.SubversionSCM.pollFromMaster' with the value of 'true', or add it to your shell environment if you're on Unix/Linux environment to allow the variable to be picked up between restarts without manual intervention (this only needs done on the master AFAIK)
3. If you're running Jenkins in a container then search for how to set environment variables in that container, you'll need something like the following if you're using Tomcat:

<Context....>
<Environment name="hudson.scm.SubversionSCM.pollFromMaster" type="java.lang.Boolean" value="true" override="true"/>
</Context>

There's a general aversion to adding additional checkboxes to the config screens since they're pretty full already, although I don't know if this is was you're looking for.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to