git plugins has problems with the last version of jenkins

2016-03-25 Thread ycollet
Hello, I use jenkins1.654 with the last version of git plugins. The last working version was 1.653 with the n-1 version of git plugin. I use "checkout to a subdirectory" option. With the last version of jenkins, the directory I put in the "checkout to a subdirectory" field disappears. So, everyt

Re: Jenkins Maven repository server supports multiple upstream projects?

2016-03-25 Thread Nigel Magnay
You can't. What you can do is if your build is A->B->C, you can specify C's upstream repository as 'repositoryChain', so it will include both A and B (where B takes priority over A). You could can extend the rules - possibly even with different resolution rules, but it's not something anyone has

Re: git plugins has problems with the last version of jenkins

2016-03-25 Thread Mark Waite
My sincere apologies for that bug. When a job definition is saved, it erases all extensions from the copy of the job on disc. It doesn't erase the extensions in memory, just on the disc. That makes the bug even worse, since the user doesn't realize their job definition was damaged until the next

Re: email-ext plugin + credentials plugin?

2016-03-25 Thread Guy Matz
Thanks, yes the credentials are supposed to be in the environment! My presend script is creating a Jira ticket via REST API, so I have my jira user's username & password in credentials, and am defining them as JIRA_USERNAME & JIRA_PASSWORD, respectively. I am then referencing them in the pre-send

Re: email-ext plugin + credentials plugin?

2016-03-25 Thread Slide
Can you try using build.buildVariables['JIRA_USERNAME']? Also, there are a couple of JIRA plugins that might do what you want. https://wiki.jenkins-ci.org/display/JENKINS/JIRA+Plugin https://wiki.jenkins-ci.org/display/JENKINS/Jira+Issue+Updater+Plugin On Fri, Mar 25, 2016 at 6:37 AM Guy Matz w

Re: Jenkins and Github authentication using SSH keys

2016-03-25 Thread M Franzen
The Jenkins ssh-agent plugin doesn't work on Windows. I'm running Jenkins as a service under a user with limited rights. The used ssh settings can be found in the file /C/Users//.ssh/config. But this should not be necessary as you define this also in the Jenkins -> Credentials. But there is a w

Re: email-ext plugin + credentials plugin?

2016-03-25 Thread Guy Matz
Hmm . . . no, the build.buildVariables['JIRA_USERNAME'] showed up as null . . . any other thoughts? Thanks again, Guy P.S. - Thanks for the pointer to the Jira plugin. That might work for another problem I have! On Fri, Mar 25, 2016 at 10:24 AM, Slide wrote: > Can you try using build.buildV

Re: email-ext plugin + credentials plugin?

2016-03-25 Thread Slide
Can you print out what is in build.buildVariables? The other thing to try would be build.getEnvironment(listener)['JIRA_USERNAME'] On Fri, Mar 25, 2016 at 8:39 AM Guy Matz wrote: > Hmm . . . no, the build.buildVariables['JIRA_USERNAME'] showed up as > null . . . any other thoughts? > > Thanks

Re: email-ext plugin + credentials plugin?

2016-03-25 Thread Guy Matz
getEnvironment(listener) worked!! Regarding buildVariables, this code: logger.println("Build Variables Start: ") build.each { logger.println(it) } logger.println("Build Variables End") Produced: Build Variables Start: deploy-sidecar-gold-gmatz-test #20 Build Variables End Thanks agai

Re: One CI job for 4 branches

2016-03-25 Thread Victor Martinez
you can use some regex in the branch name or use the below plugin https://wiki.jenkins-ci.org/display/JENKINS/Multi-Branch+Project+Plugin first approach might help to use pushing rather than polling, second approach, as far as I know, it's polling based. It does also depend on whether you would

Re: One CI job for 4 branches

2016-03-25 Thread Mark Waite
I think you'll like the results better if you have a job dedicated to each branch. There are plugins that will allow you to automatically create a separate job for each branch that matches a pattern (multi-branch plugin, I think), or that will allow you to create a separate job for each branch tha

Git Plugin GIT_LOCAL_BRANCH environment variable implemented

2016-03-25 Thread Michael Giroux
There have been a couple of requests for an environment variable that publishes the local branch name. The current version of the Git Plugin has a new feature that targets Maven release builds, but can be leveraged by other builds. The maven release plugin pushes a commit to git using the loca

Re: One CI job for 4 branches

2016-03-25 Thread Michael Giroux
If you have created a post-update hook on the remote repository to notify Jenkins when a push occurs, you might consider configuration as: Branch to build: ** Checkout to specific local branch: ** (requires Git plugin 2.4.4) Build Triggers: Poll SCM but leave the schedule blank. The job will o

Re: inheritance-plugin child job error: 'Invalid parent reference to'

2016-03-25 Thread GS_L
Is someone can help with this issue? On Thursday, March 24, 2016 at 4:33:34 PM UTC+2, GS_L wrote: > > > Hi > I have created two inheritance parent jobs named: > >- parent_install_crt >- parent_pull_plugins_repos > > Then created a child job that have two ordered projects reference - th

Re: Jenkins 2.0 alpha release available

2016-03-25 Thread E
I cannot find documentation for the Jenkinsfile DSL format. It should be linked on the announcement page at (https://jenkins-ci.org/2.0/ and https://jenkins.io/2.0/) so that all the people who come will get a chance to look at it. On Monday, February 29, 2016 at 3:39:22 PM UTC-8, R Tyler Croy w

Re: Meet jenkins.io

2016-03-25 Thread Henrique de Miranda Gontijo
Great job, very well done! On Thursday, March 24, 2016 at 8:05:45 AM UTC-7, Alyssa Tong wrote: > > Well done! Congrats to all involved! jenkins.io looks AWESOME!! 🤗🤗 > > On Thu, Mar 24, 2016 at 6:30 AM, Tom Fennelly > wrote: > >> Really nice. Thanks guys!! >> >> On Thursday, March 24, 2016 at 12: