Windows Docker Master

2019-08-02 Thread Slide
I have been playing with bringing some of the Linux containers that are available over to the Windows container land. My end goal is to have better support on the Jenkins infra for building Windows stuff as necessary (e.g. winsw, the Windows Installer, and plugin builds). I have played with creatin

Re: WebStart Slave-Agent misbehaving when launched via Windows Task Scheduler

2019-08-02 Thread Slide
It might be better to run the agent as a service under the specific account you want it to run under. Is there a reason you can't do this? On Fri, Aug 2, 2019 at 12:11 PM Nef Rey wrote: > The problem was that I was selecting the option to start the slave task > whether the user was logged on or

Re: WebStart Slave-Agent misbehaving when launched via Windows Task Scheduler

2019-08-02 Thread Nef Rey
The problem was that I was selecting the option to start the slave task whether the user was logged on or not. This option was blocked in our company policy. Weird that slave acted as if everything was alright but, misbehaved. I had to select the option to start when the user was logged on.

Multi branch pipeline - build is failing while creating new branch or tag

2019-08-02 Thread Anish Kuti
Hi , I am using Jenkins ver. 2.176.2 and deployed in EC2 (Ubuntu) . I am using multi branch pipeline . The jenkins file is as below . While I am creating a new branch or tag I was expecting to start a build. But it is not happening . What I want that in creation of tags

Media Shuttle and Jenkins

2019-08-02 Thread t3knoid
Has anyone had experience on automating file transfers with Media Shuttle in Jenkins? I was hoping someone has sample code that I can check out. Thanks. https://app.swaggerhub.com/apis-docs/Signiant/MediaShuttle/1.14.0 -- You received this message because you are subscribed to the Google Group

Re: Pipeline Input Step

2019-08-02 Thread Lukas Resch
Using stages { stage('input') { input { message 'Apply changes' submitterParameter 'COMMITTER' }//, parameters: [string(defaultValue: 'herp', description: '', name: 'derp')] steps { echo "${env.COMMI

Pipeline Input Step

2019-08-02 Thread Lukas Resch
Hi, I am trying to use the input step and send the name of the person accepting the change to an email address. Unfortunately the name in the variable is always "null". The name and link in the console output is working fine. There are 2 issues in Jira that are both marked as resolved [0], [

Re: Jenkins Pipeline Maven Plugin - Always skipping downstream job

2019-08-02 Thread Cyrille Le Clerc
@drpm can you test https://github.com/jenkinsci/pipeline-maven-plugin/pull/224 ? @daniel could you kindly review the code of https://github.com/jenkinsci/pipeline-maven-plugin/pull/224 it is a simple change ? On Friday, August 2, 2019 at 12:12:01 PM UTC+2, Cyrille Le Clerc wrote: > > Thank you

Re: How to automatically build the latest svn tag

2019-08-02 Thread Nico van de Kamp
Question: I'm not familiar with this specific but I try to get the last version of a tag from SVN. I found this. SVN is installed on another server than the Jenkins server. So to run command: *export SVN_TAG=`svn ls --username someuser --password somepass --non-interactive http://someproj.goo

Re: Statistics plugin to help identify bottlenecks

2019-08-02 Thread Mark Waite
You're correct that the DevOptics metrics are stored centrally in the cloud rather than being hosted on your servers. On Fri, Aug 2, 2019 at 5:54 AM Bjoern Hinrichs wrote: > Hi Mark, > > thanks for your input. > DevOptics seems promising, but as far as I can see DevOptics can't be > hosted on-si

Re: Increase Heap for Jenkins installed in Windows Server 2012 R2

2019-08-02 Thread Slide
The problem is that the current Windows installer is bundled with a 32-bit JRE. If you install a 64-bit JRE and update the path to java.exe in the jenkins.xml file, you should be able to allocate more. On Fri, Aug 2, 2019, 04:12 Balaajee Perumalsamy wrote: > Hello All, > > I have an instance of

Re: Statistics plugin to help identify bottlenecks

2019-08-02 Thread Bjoern Hinrichs
Hi Mark, thanks for your input. DevOptics seems promising, but as far as I can see DevOptics can't be hosted on-site, i.e. we would be dependent on (and sending internal data to) CloudBee's servers? Unfortunately, that's not possible for us. Regards Björn Am 8/1/2019 um 5:23 PM schrieb Mark

Increase Heap for Jenkins installed in Windows Server 2012 R2

2019-08-02 Thread Balaajee Perumalsamy
Hello All, I have an instance of Jenkins running in Windows Server 2012 R2. I often get JVM Mem Starvation issue in this machine and all my slaves get terminated. The machine has 32GB RAM where as I'm not able to configure -Xmx more than 1024m. I get the following error. [image: image.png] Has a

How to setup jenkins master cluster

2019-08-02 Thread zhao chenxiao
Hi Jenkins experts, We are using a jenkins pipeline to launch our test jobs, which also defined in jenkins. If the pipeline starts to run, about 600+ Jenkins jobs will be triggered to run at the same time using kubernetes container as slaves. A jenkins master connects to such many slaves may

Re: Jenkins Pipeline Maven Plugin - Always skipping downstream job

2019-08-02 Thread Cyrille Le Clerc
Thank you very much Daniel, I'll have a look On Friday, August 2, 2019 at 12:04:04 PM UTC+2, Daniel Beck wrote: > > > > > On 2. Aug 2019, at 11:49, Cyrille Le Clerc > wrote: > > > > Do you understand why the downstream pipeline is seen as > unauthenticated? Could there be a configuration glitc

Re: Jenkins Pipeline Maven Plugin - Always skipping downstream job

2019-08-02 Thread Daniel Beck
> On 2. Aug 2019, at 11:49, Cyrille Le Clerc wrote: > > Do you understand why the downstream pipeline is seen as unauthenticated? > Could there be a configuration glitch on your setup? > My guess, not having debugged this further: Pipeline Maven Plugin seems to have copied code from Revers

Re: Jenkins Pipeline Maven Plugin - Always skipping downstream job

2019-08-02 Thread Cyrille Le Clerc
Thanks, Could you by any chance create a bug on https://issues.jenkins-ci.org with the label pipeline-maven-plugin detailing the problem so that it will be easier to manage and easier to share knowledge with other users? Do you understand why the downstream pipeline is seen as unauthenticated?

Re: Jenkins Pipeline Maven Plugin - Always skipping downstream job

2019-08-02 Thread drpm
Oh It is using the anonymous user for it. isUpstreamBuildVisibleByDownstreamBuildAuth(org.jenkinsci.plugins.workflow.job.WorkflowJob@3e3adefa[], > org.jenkinsci.plugins.workflow.job.WorkflowJob@7b2c0800[]): > taskAuth: > org.acegisecurity.providers.UsernamePasswordAuthenticationToken@1f: > Us

Re: Jenkins Pipeline Maven Plugin - Always skipping downstream job

2019-08-02 Thread Cyrille Le Clerc
Can you please enable FINER on org.jenkinsci.plugins.pipeline.maven.service.PipelineTriggerService ? I am interested by the message of isUpstreamBuildVisibleByDownstreamBuildAuth https://github.com/jenkinsci/pipeline-maven-plugin/blob/pipeline-maven-3.8.0/jenkins-plugin/src/main/java/org/jenkins

Re: POSTing zip file using httpRequest in Jenkinsfile

2019-08-02 Thread deepak t.s
On Tuesday, 31 January 2017 02:34:13 UTC+5:30, Christopher Burke wrote: > > Hey everyone > >Part of my build pipeline requires that I publish a zip file to a > server, so I'm trying the following: > > response = httpRequest httpMode: 'POST', contentType: > 'APPLICATION_OCTETSTREAM', body:".