Re: downloading files > 1G

2017-03-05 Thread Ted Xiao
Are your jenkins server behind NGINX, see also http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_max_temp_file_size On Saturday, March 4, 2017 at 8:51:22 AM UTC+8, Daniel Beck wrote: > > > > On 03.03.2017, at 22:32, Richard Ginga > wrote: > > > > I

Re: Description of memory sharing between master and slaves in pipelines?

2016-12-29 Thread Ted Xiao
More info https://wiki.jenkins-ci.org/display/JENKINS/Making+your+plugin+behave+in+distributed+Jenkins On Thursday, December 29, 2016 at 10:24:12 PM UTC+8, Ted Xiao wrote: > > just serialize and deserialize, it is one-way only, check out > https://github.com/jenkinsci/remoting/blob/m

Re: Description of memory sharing between master and slaves in pipelines?

2016-12-29 Thread Ted Xiao
just serialize and deserialize, it is one-way only, check out https://github.com/jenkinsci/remoting/blob/master/src/main/java/hudson/remoting/UserRequest.java If you want data shared among slaves, check out http://jgroups.org/javadoc4/org/jgroups/blocks/PartitionedHashMap.html On Thursday,

Re: Consolidated Test case reports of selected successful Jenkins jobs

2016-12-19 Thread Ted Xiao
Declaimer: I work for Splunk and those options represent my own and not those of my employer. You can archive the goal but REQUIRE additional software. https://splunkbase.splunk.com/app/3332/ https://wiki.jenkins-ci.org/display/JENKINS/Splunk+Plugin+for+Jenkins You can obtain a free license

Re: Consolidated Test case reports of selected successful Jenkins jobs

2016-12-19 Thread Ted Xiao
Declaimer: I work for Splunk and those options represent my own and not those of my employer. You can archive the goal but REQUIRE additional software. https://splunkbase.splunk.com/app/3332/ https://wiki.jenkins-ci.org/display/JENKINS/Splunk+Plugin+for+Jenkins You can obtain a free license

Re: Getting the remote IP of the client which triggered a build

2016-11-22 Thread Ted Xiao
javadoc for RemoteCause.getAddr() http://javadoc.jenkins.io/hudson/model/Cause.RemoteCause.html#getAddr() On Wednesday, November 23, 2016 at 11:56:27 AM UTC+8, Ted Xiao wrote: > > You call access it by RemoteCause, pseudo code: > > > for (CauseAction action : build.getActions(Ca

Re: Getting the remote IP of the client which triggered a build

2016-11-22 Thread Ted Xiao
You call access it by RemoteCause, pseudo code: for (CauseAction action : build.getActions(CauseAction.class)) { for (Cause cause : action.getCauses()) { if(cause instanceof RemoteCause){ //blah } } } On Tuesday, November 22, 2016 at 8:16:45 PM UTC+8, Andreas

Re: Global "disable triggers" options

2016-11-15 Thread Ted Xiao
We run groovy script to remove timer trigger or other triggers, sample code import hudson.model.* import hudson.triggers.* import jenkins.model.* import com.cloudbees.hudson.plugins.folder.Folder def TIMER_TRIGGER_DESCRIPTOR = Hudson.instance.getDescriptorOrDie(TimerTrigger.class) def

Re: Automated Jenkins Installs

2016-10-18 Thread Ted Xiao
If you are talking about the setup wizard in jenkinx 2.x, you can overwrite it by -Djenkins.install.runSetupWizard=false, a sample dockerfile FROM jenkins:latest USER jenkins RUN install-plugins.sh git workflow-aggregator # Skip initial setup ENV JAVA_OPTS -Djenkins.install.runSetupWizard=false