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 ssat...@gmail.com 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

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 commit

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

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 --

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

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

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

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: 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

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

2015-05-20 Thread Brian Ray
https://lh3.googleusercontent.com/-8aepTvtIBMU/VVyvKKfZ9fI/AJc/Y9rtv4yOuSU/s1600/SS-2015-05-20_08.54.32.png 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 https://cloud.google.com/tools/repo/push-to-deploy#python only explains how to build an App Engine app which is a part of the same project as the Jenkins VM. I

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

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',

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

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 12

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

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

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

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

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

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

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

Re: Run scripts on MySQL database

2015-05-20 Thread Les Mikesell
On Wed, May 20, 2015 at 3:43 AM, Faizan Javed faixanja...@gmail.com 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

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

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? --