Re: Publish NUnit test result report

2015-12-18 Thread AshtaBhuja Tripathi
Hi , can you tell me how to configure Jenkins for Unit Testing .My source code is in c++ and Jenkins server is on CentOs. Thanks On Wednesday, June 11, 2014 at 10:19:38 AM UTC+5:30, capt edgar wrote: > > Hi there > > we are running on Jenkins version 1.480.3 > > Our Jenkins wrapper Job runs

Re: Need help to configure jenkins for unit testing.

2015-12-18 Thread Baptiste Mathus
Hi, Basically, you need to be able to run those tests outside Jenkins. That is, something like a run-tests.sh script in your project root. That script would yield an exit status: 0 if all OK, something else than 0 if an error occurred. Then: * configure a job to clone/checkout your sources from

Re: Need help to configure jenkins for unit testing.

2015-12-18 Thread A B Tripathi
Thanks Baptiste Mathus. *Thanks,* *A B Tripathi* On Fri, Dec 18, 2015 at 3:21 PM, Baptiste Mathus wrote: > Hi, > Basically, you need to be able to run those tests outside Jenkins. > > That is, something like a run-tests.sh script in your project root. That > script would

Re: Need help to configure jenkins for unit testing.

2015-12-18 Thread A B Tripathi
Hey i also want the unit tests to return the correct formatted XML and enable the XML parser in: jenkins/jobs/my_project/job.xml. I am stuck in these . *Thanks,* *A B Tripathi* On Fri, Dec 18, 2015 at 3:21 PM, Baptiste Mathus wrote: > Hi, > Basically, you need to be able

Got XVfb error while run selenium script on jenkins

2015-12-18 Thread dhrumil shah
Hello, When I run my selenium script on jenkins then it gives below error *testng-execution*: [mkdir] Created dir: /var/lib/jenkins/workspace/ZeeTV/Zeetv_script/Test-Report/TestNGreport [testng] [TestNG] Running: [testng] /var/lib/jenkins/workspace/ZeeTV/Zeetv_script/testng.xml

Need help to configure jenkins for unit testing.

2015-12-18 Thread AshtaBhuja Tripathi
Hi, My project written in c++ and i have written unit-test for each class and I want to run these test cases using Jenkins. Thanks in Advance. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop

Re: publish over ssh: send only commit scripts

2015-12-18 Thread Ismaila Baradji
Hi, thanks very much, this help me a lot, but it works only if there are no delete files between the commit files. this is my jenkins log rm -rf target_dir + mkdir target_dir + git diff-tree --no-commit-id --name-only -r HEAD + cp -r --parents puro/error_log puro/tmp/test/tes2/testfile.php

Re: publish over ssh: send only commit scripts

2015-12-18 Thread Baptiste Mathus
Try with *cp $(git diff-tree --no-commit-id --name-only --diff-filter=ACMRTU -r HEAD) transitdir* See also $ git help diff-tree 2015-12-18 16:02 GMT+01:00 Ismaila Baradji : > Hi, thanks very much, this help me a lot, > but it works only if there are no delete files

CRASH - Jenkins slave crashes on OSX

2015-12-18 Thread nobel . tester01
Hi, We have a setup with a Windows master and a Jenkins slave running on Mac OSX through JNLP. We encounter regular crashes of the Java process connecting to the master. I attached an error log of a crash that occurred during the run of a Jenkins job on this slave. Anybody any thoughts on

Re: v3.9

2015-12-18 Thread Baptiste Mathus
Yes. First Jenkins LTS version to make JRE7+ compulsory is 1.625.1. Please refer to https://jenkins-ci.org/changelog-stable in general. It's likely to contain a lot of informations you want to be aware. 2015-12-18 14:55 GMT+01:00 Ashish Yadav : > Ok. The CentOS 3.9 VM

Re: v3.9

2015-12-18 Thread Ashish Yadav
Ok. The CentOS 3.9 VM is running JRE v1.6 Would Jenkins (LTS v1.609.3) be able to run on this vm? From: Baptiste Mathus > Reply-To: "jenkinsci-users@googlegroups.com"

jenkins workflow plugin

2015-12-18 Thread Oded Priva
Jenkins workflow Plugin is THE tool to build your continuous delivery pipelines here you can find best practices and examples for how to use it http://jenkins-ci.org/content/workflow-best-practices-and-examples-repo-github --

Re: how to cancel build queue jobs in jenkins by only using the build number, which are not started by jenkins and are in its build queue through REST API

2015-12-18 Thread Daniel Beck
On 15.12.2015, at 14:56, tushar singhal wrote: > how to cancel build queue jobs in jenkins by only using the "build number" > through REST API, which are not started by jenkins and are in its build > queue. Trigger the build programmatically using the

Re: Restart an API with Jenkins

2015-12-18 Thread Indra Gunawan (ingunawa)
Does your Jenkins user have sudo permission on the VM you are running this stop/start service on? From: > on behalf of GBANE FETIGUE > Reply-To:

Re: How to prevent Jenkins from adding single quotes to parameterized vlaues

2015-12-18 Thread Daniel Beck
I answered this on IRC. Here's basically the same answer again: http://stackoverflow.com/a/34364786 On 18.12.2015, at 22:57, no...@gmx.com wrote: > I've also tried doing this: > Name: OPTS > Default Value: -o tmp -e "arg1=${VAR1} arg2=${VAR2} arg3=${VAR3}" > > Execute shell command: >

How to prevent Jenkins from adding single quotes to parameterized vlaues

2015-12-18 Thread norve
I basically have a string parameter that contains values from other parameter fields, which I then use again in the Execute shell command. However, Jenkins adds single quotes in erroneous places within that string, which makes the executing application unable to parse the arguments. Example:

Re: How to prevent Jenkins from adding single quotes to parameterized vlaues

2015-12-18 Thread norve
I've also tried doing this: Name: OPTS Default Value: -o tmp -e "arg1=${VAR1} arg2=${VAR2} arg3=${VAR3}" Execute shell command: ARGS=$(echo $OPTS) ./build_app $ARGS Console Output: ++ echo -o tmp -e '"arg1=value1' arg2=value2 'arg3=value3"' + ARGS='-o tmp -e "arg1=${VAR1} arg2=${VAR2}

SCM Sync removes JAVA_HOME path under JDK in Jenkins

2015-12-18 Thread Vidhyadhar P
Hi Team, We are facing issue with SCM sync plugin configuration.While configuring SCM Sync under Manage JenkinsàConfigure system, under SCM Sync Configuration, if we put SVN URL it is removing JAVA_HOME setting under jdk. Jenkins version: 1.580.3 SCM sync plugin: 0.0.8