Customized contents in Email extension plugin

2015-05-20 Thread Mohamed Sathack
Hi, I have a summary report in the form of text file (say, summary.txt). This fill will be hardly having few lines saying the overall status of my execution. I have to use the files contents in the "contents" section of extended email plugin. Can you please help? Regards, Mohamed Sathack --

Run scripts on MySQL database

2015-05-20 Thread Faizan Javed
How do I run sql scripts on my MySQL database from external file in my Jenkins job? -- 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...

github integration issue

2015-05-20 Thread peter
Hi This is my first time setting up jenkins. Using 1.613 Simple task is to pull latest version of master from github when building a job. I am using: GIT client plugin v 1.17.1 GIT plugin v 2.3.5 The problem: jenkins "talks" to github ok BUT it checks out a very very old version (last commi

Re: Customized contents in Email extension plugin

2015-05-20 Thread Slide
Look at the help for the content tokens. You probably want the FILE token. On Wed, May 20, 2015, 01:18 Mohamed Sathack wrote: > Hi, > > I have a summary report in the form of text file (say, summary.txt). This > fill will be hardly having few lines saying the overall status of my > execution. I

Re: github integration issue

2015-05-20 Thread Mark Waite
I think that log is showing that the workspace repository has a remote named "origin" (the default) and that remote has a branch named "master" and "git rev-parse" command in that workspace repository reports that origin/master or origin/origin/master points to commit 9d4fd82b5... Assuming it is or

Powershell and Jenkins - Remoting to a win 2012

2015-05-20 Thread ELIASSAL
Hi, I am currently trying to do CI for databases using flywayDB, where I need powershell in Jenkins. I have a jenkins setup which works fine with a linux and windows machines, tested a basic poweshell commands in ajob and it works like a charm. In my CI scenario, I have a Win 2K12 Box with sql

sbt-release and Credentials Plugin

2015-05-20 Thread mikelenner
Hello - I'm using the Credentials Plugin to manage jenkin's access to git. This works fine and integrates well with the Jenkins Git Plugin. However, I'm running an sbt build that uses the sbt-release plugin to add commits, tag, and push those changes to the origin repo. I have this setup as a

RE: Git polling: could not lock config file .git/config: File exists

2015-05-20 Thread Dunnigan, Terrence J
Thanks Mark! I had not seen all of those reports. I shall investigate. Terry From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Mark Waite Sent: Tuesday, May 19, 2015 7:16 PM To: jenkinsci-users@googlegroups.com Subject: Re: Git polling: could not lock

Re: github integration issue

2015-05-20 Thread peter
Thanks Mark It turns out its because I'm an idiot:) I had setup a repository on a different account with the same name and then later migrated it to where we have actually put all the commits. My original setup used the old account, switching to the one we actually used had a much better resul

Re: Run scripts on MySQL database

2015-05-20 Thread Les Mikesell
On Wed, May 20, 2015 at 3:43 AM, Faizan Javed wrote: > How do I run sql scripts on my MySQL database from external file in my > Jenkins job? Use a shell script or batch file to do it the same way you would from the command line. You have to make sure the executable you run and the script file ar

Run subjobs but disregard the result in the parent job

2015-05-20 Thread Radu Codrin Leterna
Hello, I need to setup a main job that will trigger a couple sub-jobs. I am using a multijob-phase to trigger the sub-projects. The requirement is to ignore the result from *one* of the sub-jobs (whether it fails or passes, the parent should just ignore that). How can this be accomplished? --

Re: sbt-release and Credentials Plugin

2015-05-20 Thread mikelenner
I solved this myself. 1. Use Credentials Binding Plugin to inject the git creds into two environment variables - GIT_USER and GIT_PASSWORD 2. Before the sbt build, use a shell build step to get the creds into a git credential.helper store. E.g.: git config --local credential.h

Re: Run subjobs but disregard the result in the parent job

2015-05-20 Thread Brian Ray
Assuming you're using the multijob plugin, be sure to set this field to *Completed* for this subproject (phase) in question: On Wednesday, May 20, 2015 at 8:05:10 AM UTC-7, Radu Codrin Leterna wrote: > > Hello, > > I need to setup a main job that will trigger a couple sub-jobs. > I am using a m

Re: Run subjobs but disregard the result in the parent job

2015-05-20 Thread Brian Ray
Darnit, pasting my screenshot didn't work. Let me try again: On Wednesday, May 20, 2015 at 8:56:42 AM UTC-7, Brian Ray wrote: > > Assuming you're using the multijob plugin, be

Jenkins on App Engine can not access Cloud Repository

2015-05-20 Thread Yuri Shmorgun
First time using Jenkins. I'm trying to deploy a Jenkins server which will build my App Engine projects. This tutorial by Google only explains how to build an App Engine app which is a part of the same project as the Jenkins VM. I w

Re: [workflow-plugin] Get environment variables defined in Jenkins configuration

2015-05-20 Thread Yasir Saleem
You can get them by simply calling by name like: testVar = myVar Where 'testVar' is var defined in the flow.groovy (or whatever name you gave) script, and 'myVar' is env or parameters (input or choice etc). if you don't use 'def' they can be global variable, used inside that your flow.groovy

Powershell Plugin and Remote Session

2015-05-20 Thread ELIASSAL
HI, can somebody confirm if Powershell plugin can work using remoting in a Jenkins job? I have a win 2012 box where Jenkins reside and Powershell works fine when executing commands on the machine itself. I need to do powershell remotely to another win 2012 and issue commands from SQL server Po

Re: How do I initiate a puppet run from Jenkins?

2015-05-20 Thread Yasir Saleem
You can use something like this: This mechanism help you do any ssh related task. Where 'ssh_key_file' is secrete file base credentials. def runShellwithCredentials(ssh_key_file,cmd) { env.RUN_CMD = cmd try { withCredentials([[$class: 'FileBinding', variable: 'PVT_KEY_FILE', credenti

"Host Key Verification Failed" error

2015-05-20 Thread VFloyd
Afternoon - How do you guys handle the "Host Key Verification Failed" msgs when deploying to new servers. I have 9 new build/deploy servers - one job can run on any of those deploy servers to move code to 12 servers in an environment. ssh'ing from each of the 9 new servers to each of the 1

Re: "Host Key Verification Failed" error

2015-05-20 Thread Paul Kilgo
You can take a look at ssh-keyscan help build known_hosts databases (maybe you are using that). The man page even says it can collect 1000s of host keys in tens of seconds. Our Jenkins instance happens to be managed by Puppet which can do ssh host key propagation for you, but it seems overkill if

View with TFS Project Paths

2015-05-20 Thread zippo7061
I'd like to create a custom view that has TFS project path in all the jobs. I have no idea how to extract it. I have download extra columns plugin, which has scm type, but I would like to see project path instead. Anyone do this? -- You received this message because you are subscribed to th

Re: How to deploy readily availble war file in JBOSS 6.x using Jenkins

2015-05-20 Thread MP Rocket
Hi Victor, Thanks for the details. We are using it on Windows environment for now as all our clients are on windows platform. Also we get only the war file for our testing. we do not build any war file here. But the details shared by you looks really help. Let me try and post you the

jenkins LDAP -- AD

2015-05-20 Thread g.fer.ordas
Hi I am trying to Use the LDAP plugin to connect to an AD Server While I can easily run a ldapsearch against the server and I am trying to use the same parameters but it does not work. Neither what is posted in the official page for the plugin https://wiki.jenkins-ci.org/display/JENKINS/L

Need Help on Jenkins build execution

2015-05-20 Thread Er. Debasish Dutta
How jenkin will build automatically when ever check in happens to the TFS server. Please help on this. -- 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 jenkinsc

Job without trigger building constantly because of "SCM change"

2015-05-20 Thread David Resnick
Unfortunately, I don't have a lot to add to the subject. The job has SCM but no triggers -- it is triggered using the Parameterized Trigger Plugin. Yesterday we noticed that it was running continuously (using default parameters), restarting as soon as it finishes the previous build. The build

LDAP Plugin for AD -- Issue with the Groups

2015-05-20 Thread g.fer.ordas
Hi I am trying to Use the LDAP plugin to connect to an AD Server and it seems to work fine BUT for the Groups. I got the users and group on the same CN=Users The extract of my current config is: awsdc1.company.com:389 DC=company,DC=com false CN=Users sAMAccountName={0} CN=Users {{(& (cn

Re: Two jobs that never shall build if the other one builds

2015-05-20 Thread tps800
On Tuesday, May 19, 2015 at 3:58:01 PM UTC+2, tps800 wrote: > > Hi! > > I'm having two jobs each one depends on the other and shall never build > while the other one builds. Both are independend of each other except they > are using the result of each: > > - cmake blocks building of llvm > - llvm

Re: Two jobs that never shall build if the other one builds

2015-05-20 Thread tps800
On Tuesday, May 19, 2015 at 5:58:12 PM UTC+2, Baptiste Mathus wrote: > > Better use the throttle concurrent build plugin IMO. Works fine for us: > > Define a central token. Then configure both job to "acquire" it when > starting. Done. Both jobs won't run at the same time. > This plugin isn't as

Is there any plugin for finding the perforce changelist

2015-05-20 Thread niraj nandane
Hi, We are using perforce as our SCM. We have multiple jenkins projects. When we want to search the perticular changelist number or incident id by using the build has been done, we need to look at builds of each and every project . This is very time consuming. Is there any plugin which will pr