Issues running a Jenkins job with parameters via jquery/ajax - api

2019-06-25 Thread Cliff Hanger
Hi, I have the below code, somehow I just cant seem to pass the parameters to Jenkins: var parameters = '{"parameter": [{"name":"id", "value": "2"}, {"name":"id2", "value": "testing"}]}'; $.ajax({ url: "https://abc/job/test/buildWithParameters";, beforeSend: function(xhr)

Threshold for protractor test cases

2019-06-25 Thread Dhanraj Kumar
How can we make a build blue if we reach threshold 80% pass of protractor test cases. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr.

cant push docker image to ecr

2019-06-25 Thread maninadh golla
Keep getting below error when i tried to push an image to ECR from jenkins. Does anyone know how to fix this? Note: Below are the versions i am using Docker version 17.09.1-ce, build 19e2cf6 Jenkins ver. 2.164.2 [image: image.png] Thanks, Ram. -- You received this message b

Dockercontainer with Jenkins pipeline failing

2019-06-25 Thread NARASIMHAMURTHY G N
JENKINS-33510: working directory will be /home/ubuntu/workspace/pa-service_feature_ABPA-1274-ETE not /home/ubuntu/workspace/pa-service_feature_ABPA-1274-ETE@2

Return runWrapper of a failed build job

2019-06-25 Thread Marco Steffan
I have a pipeline triggering multiple downstream jobs. For each of those jobs I would at least like to get the log-output. Even in case the downstream-build has failed! Master: def getBuildLog(Object runWrapper) { if (runWrapper != null) { echo "Runwrapper exists" return

Terraform State Files

2019-06-25 Thread Charlie
Hi All, I am trying to create a new Azure Linux Virtual Machine using Terraform. But i want to create this linux virtual machine in the existing already created environment. For this i want to modify the existing Terraform code and create a new module in the terraform code and run it. Doubts i

Re: withDockerContainer in pipeline failing

2019-06-25 Thread NARASIMHAMURTHY G N
Hi All, i have also facing Jenkins Deployment issue. could you possible to help me to this issue, this error is looks similar to about error. Please look at below errors. JENKINS-33510: working directory will be /home/ubuntu/workspace/pa-service_feature_ABPA-1274-ETE not /home/ubuntu/workspa

Jenkins version number in Custom Output

2019-06-25 Thread Stuart Cracraft
Hi, My build jobs calculate the last version of the commit by the developer. There are four. These are calculated with git and rolled into 4 variables in the Bash/script area of Jenkins. So, I would like to include those 4 variables in the custom output so my developers can see all the version

WebStart Slave-Agent misbehaving when launched via Windows Task Scheduler

2019-06-25 Thread Nef Rey
I have this very peculiar problem: When I launch the slave agent manually by right clicking and select launch, everything works normally and tests can be executed on that node. However, when I launch the slave-agent via Windows Task Scheduler, Jenkins can see it and can launch tests on that nod

Re: jenkins-cli.jar stopped working for not apparent reason

2019-06-25 Thread Eric Fetzer
Thanks Eric! I updated my java version to 1.8 and it appears my command line has changed since the version of java-cli.jar I was using. the -i doesn't work together with the -s without a -ssh and the -ssh needs a -user, lol. But once I put all those together, I get: java -cp /my/path/to/jar/

Re: jenkins-cli.jar stopped working for not apparent reason

2019-06-25 Thread Eric Pyle
It's telling you the Java version is not correct. What version of Java are you using? Needs to be 1.8 for current Jenkins. On 6/25/2019 11:27 AM, Eric Fetzer wrote: OK, that was a flop.  I downloaded the correct jenkins-cli.jar from : http://myJenkinsServer:8080 /

Re: jenkins-cli.jar stopped working for not apparent reason

2019-06-25 Thread Eric Fetzer
OK, that was a flop. I downloaded the correct jenkins-cli.jar from : http://myJenkinsServer:8080 / jnlpJars/jenkins-cli.jar , and now I get: Exception in thread "main" java.lang.UnsupportedClassVersionError: hu

Re: jenkins-cli.jar stopped working for not apparent reason

2019-06-25 Thread Eric Fetzer
OK, I think I've been getting lucky for years. It appears I'm supposed to be updating jenkins-cli.jar as jenkins is updated (happening from yum update all, but it's not me doing it so I don't think about it). Updating the jenkins client, I'll respond how that worked in a bit. Thanks! On Tue

Re: jenkins-cli.jar stopped working for not apparent reason

2019-06-25 Thread Eric Fetzer
Looks like this issue was fixed with Jenkins 1.424: java.io.EOFException > $ java -jar jenkins-cli.jar -s YOUR_SERVER_URL login > Exception in thread "main" java.io.EOFException > at java.io.DataInputStream.readBoolean(DataInputStream.java:227) > at hudson.cli.Connection.readBoolean(Connec

Re: jenkins-cli.jar stopped working for not apparent reason

2019-06-25 Thread Eric Fetzer
OK, fixed the typo in my export statement and the actual error I'm getting is: Exception in thread "main" java.io.EOFException at java.io.DataInputStream.readFully(DataInputStream.java:197) at java.io.DataInputStream.readUTF(DataInputStream.java:609) at java.io.DataInputSt

Re: jenkins-cli.jar stopped working for not apparent reason

2019-06-25 Thread Eric Fetzer
I can figure out why I can't connect on port 8080. Just need to figure out why all-of-a-sudden, he doesn't understand the -s. Thanks, Eric On Tuesday, June 25, 2019 at 8:12:58 AM UTC-6, Eric Fetzer wrote: > > This makes no sense. When I run the command: > > java -cp /my/path/to/jar/jenkins-cli

jenkins-cli.jar stopped working for not apparent reason

2019-06-25 Thread Eric Fetzer
This makes no sense. When I run the command: java -cp /my/path/to/jar/jenkins-cli.jar -s http://myJenkinsServer:8080 -i /my/key/id_rsa help I get: Neither -s nor the JENKINS_URL env var is specified. Jenkins CLI Usage: java -jar jenkins-cli.jar [-s URL] command [opts...] args... Options: -s UR

Re: Windows Master and Linux Slave give an error: Cannot run program "C:\Windows\system32\cmd.exe"

2019-06-25 Thread Gregory Givler
I am somewhat embarrassed to post this but I found my problem, someone before me, I inherited this Jenkins setup set the shell executable path to "C:\Windows\system32\cmd.exe" I never thought to check, however without your help it would not have a given me the hint to check where Jenkins sets i