Free Disk space and Free temp space of Jenkins slave nodes - Mis Match

2018-03-22 Thread LnT
Hi , my Jenkins farm is having many slave nodes , Win7,Win8 and Win10 VMs. out of which Win10 slave nodes are having different values for *Free Disk space* and *Free temp space*. Please find below screenshot. I have no clue how it was set like that. Where as other slave nodes are having equal va

Re: Setting Jenkins multijob build result with Groovy script based on % pass/fail child jobs

2018-03-22 Thread 'Björn Pedersen' via Jenkins Users
Hi, I would in this case stop using Multijob at all. Replace it with a pipeline job that starts your sub-jobs and collects there results. Then you can compute and set the result at the end. Something like: node() { stage('build') { parallel "job1": { r1 = build ([job: 'Job1', propagate:

Re: Help with Slaves: How to configure

2018-03-22 Thread Ana MB
Thanks guys! My company only uses Linux, so I can't launch JNLP from Windows Scheduler... I'll try to download the agen.jar into the right folder. Thanks so much El jueves, 22 de marzo de 2018, 16:19:42 (UTC+1), Burrows, John escribió: > > I agree with Mark 100%, and have found the best

Re: Jenkins X - no JENKINS_URL environment variable is set

2018-03-22 Thread James Strachan
I just saw you raised an issue and answered this there... https://github.com/jenkins-x/jx/issues/477#issuecomment-375360275 On Thursday, March 22, 2018 at 3:02:15 PM UTC, ey...@jfrog.com wrote: > > Hi, > I set up JenkinsX and trued using the hjx import command as follows: > > eyalb-mac:maven-examp

Re: Error: Invalid or corrupt jarfile jenkins.war

2018-03-22 Thread Mark Waite
The Jenkins agent seems much more likely to run successfully on the Non-stop operating system than the Jenkins master. It has a much smaller footprint and fewer dependencies. Configure a Jenkins server on a more common operating system (like Linux or Windows) and then use the Jenkins "ssh agent p

RE: Help with Slaves: How to configure

2018-03-22 Thread 'Burrows, John' via Jenkins Users
I agree with Mark 100%, and have found the best way for Windows Jenkins Nodes, is to launch the JNLP Jenkins Agent using Windows Task Scheduler set on System Startup. We (my company) uses SSH to launch non-Windows Agents and JNLP for Windows Agents. We have more than a dozen Jenkins Masters and

RE: Help with Slaves: How to configure

2018-03-22 Thread 'Burrows, John' via Jenkins Users
Make sure the agent.jar file is located in the location where you are running the java command from. You can manually download the agent.jar file from http://YOURSERVERNAME/jnlpJars/agent.jar Thanks, John From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Beh

Re: Help with Slaves: How to configure

2018-03-22 Thread Mark Waite
The picture says "unable to access agent.jar". I think that means you need to download the agent.jar file into the directory where you are running the command which launches that agent. I continue to believe that you may be making a more fundamental mistake than the command line arguments. If yo

Re: Help with Slaves: How to configure

2018-03-22 Thread Ana MB
This is what I've done and I tried writing: $ java -jar agent.jar -jnlpUrl http://yourserver:port/computer/agent-name/slave-agent.jnlp But it's still showing: And I don

Jenkins X - no JENKINS_URL environment variable is set

2018-03-22 Thread eyalb
Hi, I set up JenkinsX and trued using the hjx import command as follows: eyalb-mac:maven-example eyalb$ ll total 16 drwxr-xr-x 7 eyalb staff 224 Mar 22 16:54 . drwxr-xr-x 3 eyalb staff96 Mar 22 16:32 .. drwxr-xr-x 4 eyalb staff 128 Mar 22 16:32 multi1 drwxr-xr-x 4 eyalb staff

Re: Trigger/call builds on other projects...

2018-03-22 Thread 'Brownjay' via Jenkins Users
I believe this is what you're looking for: https://wiki.jenkins.io/display/JENKINS/Parameterized+Trigger+Plugin On Wednesday, March 21, 2018 at 5:29:26 PM UTC-6, aaron.t...@total.care wrote: > > I cant find this option in the plug-ins on the newer version. Has it > changed to something else?

Re: Help with Slaves: How to configure

2018-03-22 Thread Mark Waite
On Thu, Mar 22, 2018 at 6:57 AM Ana MB wrote: > I'm pretty new in this field, so I don't know what I'm doing clearly. > I read about it but I don't know how to do it works. > > What argument is needed for -jnlpURL? > > the JNLP URL of the Jenkins master . Please read the wiki page https://w

Re: Help with Slaves: How to configure

2018-03-22 Thread Ana MB
I'm pretty new in this field, so I don't know what I'm doing clearly. I read about it but I don't know how to do it works. What argument is needed for -jnlpURL? Thanks so much!!! El jueves, 22 de marzo de 2018, 13:48:22 (UTC+1), Mark Waite escribió: > > It appears that you're launching a

How to pass Jenkins env variables in SaltStack Jenkins plugin

2018-03-22 Thread varun bhatnagar
Hi, I am trying to use SaltStack with Jenkins and I have installed and configured SaltStack plugin for the same. I want to pass BUILD_ID environment variable as a pillar during the build and in-order to achieve that I have passed this in the *Arguments - "pillar={"build_id": '{{ BUILD_ID }}' }

Re: Help with Slaves: How to configure

2018-03-22 Thread Mark Waite
It appears that you're launching a JNLP based agent from the master without providing the JNLP URL of the Jenkins master. The -jnlpURL argument needs a value. It also appears that you're using an outdated name for the jar file. I believe it is now called "agent.jar" instead of "slave.jar". I'm

Help with Slaves: How to configure

2018-03-22 Thread Ana MB
Hi guys! I'm fighting to configure slaves in my Jenkins, but I am not able to do it One of my proofs is the following, but I can't make it work. Tell me what I'm doing wrong please... I'm turning crazy... Thanks so much for your help...

Setting Jenkins multijob build result with Groovy script based on % pass/fail child jobs

2018-03-22 Thread stevejbartholomew
Can anyone suggest or kick me off with some tips for a Jenkins newbie on the following topic? I would repeat the post here but am unsure of formatting options so thought the original link was best: https://stackoverflow.com/questions/49259603/setting-jenkins-multijob-build-result-with-groovy-sc

How to Deploy Jar file?

2018-03-22 Thread Swapnil Pasarkar
I want to deploy jar file of my project to remote server using FTP Server. My project is standalone project converted in maven, I'm compiling this project using maven dependency and i want to deploy jar file of this project but i cant find any way how to deploy a jar file. Anybody have idea how

Re: Error: Invalid or corrupt jarfile jenkins.war

2018-03-22 Thread Meenal
On Tuesday, March 20, 2018 at 6:59:25 PM UTC+5:30, Daniel Beck wrote: > > > > On 20. Mar 2018, at 13:36, Meenal > > wrote: > > > > Following is the hash: > > > > sha256sum jenkins.war > > 014f669f32bc6e925e926e260503670b32662f006799b133a031a70a794c8a14 > *jenkins.war > > > > > > Thank y

Re: Error: Invalid or corrupt jarfile jenkins.war

2018-03-22 Thread Meenal
yes, we are looking for Jenkins server running on nonstop. Do we need to run agent.jar on nonstop before running jenkins.jar ? if yes, where can I find agent? Thank you On Tuesday, March 20, 2018 at 8:33:27 PM UTC+5:30, Mark Waite wrote: > > I think you may want to reconsider running the Jenkin