Jenkins Integration with Visual Studio Release Management

2016-10-27 Thread Victor Martinez
The console error is quite straight about what the issue is about '401 - Unauthorized: Access is denied due to invalid credentials' -- 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

Re: ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.

2016-10-27 Thread Oscar Vadillo
Thanks, but that's not the problem. The error appear only with the first command line: git url: "g...@bitbucket.org:mycompany/myrepo.git" Any idea about it? Thanks El jueves, 27 de octubre de 2016, 21:04:26 (UTC+2), Indra Gunawan (ingunawa) escribió: > > DOn’t you need to cd to “myrepo” direc

Re: [Pipeline Shared Libraries] acme.foo = "5" documented example doesn't work

2016-10-27 Thread Michael Lasevich
You are not doing anything wrong. CPS is just broken in this scenario. You cannot have both a field and a getter/setter at the same time with matching names - it gets confused and goes into infinite loop. Change 'this.foo' to 'this._foo' and it will start working (and you can still use "acme.foo

Re: Best practices for develop/release branch model with pipeline

2016-10-27 Thread Michael Lasevich
Quick and dirty version of a job lister that takes two parameters "job" (multibranch job name) and "old_job" (non-mb job name) and produces output that can be used by Active Choices Parameter to present a list of builds to select. Value is a | delimited set of values, so you may want to parse it

Re: EXTERNAL: Clearcase integration with Jenkins to schedule jobs

2016-10-27 Thread haritha swapna
Hello Jeff, Wow this is great !!! Need your assistance on setting up this !. Differences between Clear Case plugin, UCM CLear case & Base clear case. 2. what is that i need to put under config specin jenkins pipeline. Have many queries any other way to contact you? On Tuesday, 14 January 2014

Re: jenkins ssh-agent ansible

2016-10-27 Thread jcsirot
Hello, Ansible is launched as a subprocess of Jenkins server and is therefore using the same user. However I'm not really familiar with ssh-agent. I'm going to try to reproduce this issue and see if there is something I can do in the plugin code to help you. Regards, -- Jean-Christophe Le m

Re: How to MsBuild for certain project

2016-10-27 Thread jerome
msbuild subfolder/myproject.vcxproj /t:build /p:Configuration="Release"; Platform="x64";SolutionDir=MyPathToSln\ Make sure you don't use any absolute or relative path to the project, try to use path with $(SolutionDir)\MyPathToRessource and specify your path according to the provided SolutionDir

Re: Limit time a job can spend waiting for an executor in the Queue

2016-10-27 Thread Baptiste Mathus
Hi, Don't think such a plugin exists, but might be useful. Can't find something approaching in https://wiki.jenkins-ci.org/display/JENKINS/Plugins Writing such a plugin should be very straightforward. Basically, with http://stackoverflow.com/a/12363390/345845 you have almost all the core feature

Re: ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.

2016-10-27 Thread Indra Gunawan (ingunawa)
DOn't you need to cd to "myrepo" directory in the workspace before using "git checkout" git cli with sh? From: mailto:jenkinsci-users@googlegroups.com>> on behalf of Oscar Vadillo mailto:oscar.vadil...@gmail.com>> Reply-To: "jenkinsci-users@googlegroups.com

Re: Cannot launch slaves now I'm using an Apache proxy

2016-10-27 Thread Jonathan Hodgson
Well I've made some progress. It turns out I was missing a forward slash in my jenkins URL setting (there really should be a syntax check there IMHO) So now it no longer reports that the reverse proxy is not working. But launching a slave fails in both cases. In windows, from the browser, I am

Re: No action in response to a PR, even with hooks all apparently set

2016-10-27 Thread Benson Margulies
I found the bottom of this one, too. I should never have turned on the elaborate github-specific whitelisting plugin, but rather read the doc: https://github.com/KostyaSha/github-integration-plugin/blob/master/docs/Configuration.adoc -- You received this message because you are subscribed to th

vCenter plugin -- customize slave launch parameters?

2016-10-27 Thread Greg Smith
Does anyone know if there is a way to customize the launch parameters of the vCenter plugin slaves? We use the plugin to dynamically start up our slave vms, and we would like to add a -D parameter to the startup. But I don't see any obvious way to do this. Any help appreciated. Thanks, Greg

Re: No action in response to a PR, even with hooks all apparently set

2016-10-27 Thread Benson Margulies
And on the PR status page, here's my PR, but it has no builds, and clicking on 'rebuild' gets me 'Build not found'. > #293: WS-1008: basic changes required. > > Head SHA: ae9d5233a8c23d60bd173fb793990bd41328c62e Author: benson Issue > updat

No action in response to a PR, even with hooks all apparently set

2016-10-27 Thread Benson Margulies
My project has 'Hooks with Persisted Data' as the mechanism, and Pull Request Opened and Commit Changed as the triggers. I can see the hooks being fired in the github hook area. see that Jenkins returned this very boring 200 response. *Date:* Thu, 27 Oct 2016 16:33:26 GMT*Server:* Jetty(9.2.

Re: TLS/ssl problems talking to github enterprise

2016-10-27 Thread Benson Margulies
I solved this for myself. It turns out that the stock Docker image for java8, used by jenkins, has it's own special approach to trust stores. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving ema

Re: Failed to create an external job

2016-10-27 Thread Harathi
Thanks Logan. The above mentioned "Null object error", is the complete error message that I am getting while creating external job on Jenkins. I am not so sure about fixing JSON issue. Thanks again for looking into this! On Thursday, October 27, 2016 at 10:31:35 AM UTC-5, Logan MAUZAIZE wrote: >

Re: TLS/ssl problems talking to github enterprise

2016-10-27 Thread Benson Margulies
Please also note the last exception: Can't process check (Can't find appropriate client for github repo ) org.jenkinsci.plugins.github.internal.GHPluginConfigException: Can't find appropriate client for github repo

TLS/ssl problems talking to github enterprise

2016-10-27 Thread Benson Margulies
Our GFE instance uses a certificate from an annoying certificate authority (godata). To get Jenkins to talk to it at all, I had to create a trust store with their intermediate certificates. And now, basic operations work, everything tests out on the configuration page, etc. But when a pull req

ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.

2016-10-27 Thread Oscar Vadillo
Hi all, I am trying to use Jenkins in Pipeline mode. For that, I have defined a fist step which I make a git checkout to my repo. git url: "g...@bitbucket.org:mycompany/myrepo.git" sh "git checkout tags/1.2.1" But, when I run the Groovy script, appear this error: [Pipeline] stage (Getti

Re: Failed to create an external job

2016-10-27 Thread Logan MAUZAIZE
Looking at the message, it seems you lack an item into your JSON configuration. I'm not an expert but others may guess missing item(s) if you provide the payload ! Le jeudi 27 octobre 2016 17:12:06 UTC+2, Harathi a écrit : > > Hello, > I wish to create an external job on my Jenkins, but it is fa

Re: Suggestions needed

2016-10-27 Thread Logan MAUZAIZE
I don't think blocking slave/agent for long duration is a good idea, except if a single test can be run at once for a particular platform. Thus, you must consider the hosting platform as a jenkins slave/agent and use a waiter script. If you need feed back managed by Jenkins, may be you can use

Failed to create an external job

2016-10-27 Thread Harathi
Hello, I wish to create an external job on my Jenkins, but it is failing giving null object exception? Does anyone have any clue to solve this? Error null object net.sf.json.JSONException: null object at net.sf.json.JSONObject.verifyIsNull(JSONObject.java:2688) at net.sf.json.JS

Re: Not able to url encode password parameter for credentialed git tagging

2016-10-27 Thread Daniel Collette
Wow that was really simple. I never noticed that before. For anyone as ignorant as me: in Jenkins web ui Manage Jenkins > In-process Script Approval > Approve the signature It worked great. The only issue is that now, instead of the credentials displaying as ***, it is url encoded in plain tex

Re: Not able to url encode password parameter for credentialed git tagging

2016-10-27 Thread Mark Waite
The simplest solution is to approve that method for use in your Jenkins. Then you can use the URLEncoder class in Jenkinsfile on that instance. Mark Waite On Thu, Oct 27, 2016 at 7:57 AM Daniel Collette wrote: > Using multibranch pipeline plugin and credentials binding plugin and using > this

RE: Suggestions needed

2016-10-27 Thread Jeffrey Harris
I think our longest test is 20 hours. Also, any number of tests can be spooled at a particular time. The legacy system just puts the job in the queue and returns. Jeff -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this

Not able to url encode password parameter for credentialed git tagging

2016-10-27 Thread Daniel Collette
Using multibranch pipeline plugin and credentials binding plugin and using this method to git tag, it is failing due to a character that requires url encoding in the password. To

[Pipeline Shared Libraries] acme.foo = "5" documented example doesn't work

2016-10-27 Thread Rob Oxspring
Hi, I've been trying to use a shared library script with properties according to the following but am having no luck. https://github.com/jenkinsci/workflow-cps-global-lib-plugin/blob/master/README.md#defining-global-variables To reproduce I've installed a totally clean Jenkins LTS with recommend

RE: Suggestions needed

2016-10-27 Thread Teichner Peter
Just to add to that - make sure you set the timeout on the shell / ssh to unlimited otherwise it will time out -Original Message- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of John Mellor Sent: 27 October 2016 13:34 To: jenkinsci-users@goog

RE: Suggestions needed

2016-10-27 Thread John Mellor
How long does the hardware testing take? If its only a couple of hours, why not just run a shell step to ssh or whatever out to the hardware and test? A shell step normally blocks until completed, so the job will be in-progress until the tests are done. -Original Message- From: jenkin

Upgrade Banner. How to show again after minimize?

2016-10-27 Thread Antonio Oliva
I clicked in minimize corner. And now I can see this banner. How can I enable again? Thanks. -- 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

Re: How to MsBuild for certain project

2016-10-27 Thread Slide
This sound like a question for the Microsoft folks instead. Lookup how to do this in the msdn documents. On Thu, Oct 27, 2016 at 2:55 AM Ziv Margolin wrote: > Hi all > I got a c++ solution, solution includes 2 directories with projects. > > demo.sln -> dir1->p1 > > I am interested make a build o

How to MsBuild for certain project

2016-10-27 Thread Ziv Margolin
Hi all I got a c++ solution, solution includes 2 directories with projects. demo.sln -> dir1->p1 I am interested make a build only for one specific project (p1). How can i o that ? Thanks -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. T

Re: Install specific version of plugins with Groovy script

2016-10-27 Thread Daniel Beck
> On 28.04.2016, at 11:38, Alexandre Chaussier > wrote: > > All is OK if I want to use latest versions of plugins, but I would like to > know if it is possible to request a specific version of the plugins when I > request installation from my groovy code ? > > I use the UpdateCenter.getPlugi

Re: Install specific version of plugins with Groovy script

2016-10-27 Thread Victor Martinez
I'm also looking for a similar groovy command, any ideas? On Thursday, 28 April 2016 11:38:43 UTC+2, Alexandre Chaussier wrote: > > Hello, > > Today, I use groovy scripts with an Ansible role to manage my Jenkins > installation and configuration. > > All is OK if I want to use latest versions of

Re: Best practices for develop/release branch model with pipeline

2016-10-27 Thread Sathyakumar Seshachalam
Thanks, > And then modify the selection of the job run to select from multiple branches (need to write a Groovy based Parameter selector for that) - and now you can deploy builds from feature branches for testing BEFORE they are merged into develop If there are any examples / code snippets on how

Re: Multibranch Pipeline: GCC errors does not stand out

2016-10-27 Thread 'Björn Pedersen' via Jenkins Users
Hi, Most probable reason: gcc will only emit color codes if run in an interactive terminal( with a console attached). Check gcc docs how to enable this for non-interactive runs, or check bash manuals how to force interactive mode. Björn Am Donnerstag, 27. Oktober 2016 09:02:22 UTC+2 schrieb S

Re: Jenkins upgrade from 1.608 to 2.9-1.1 version on CentOS release 6.8 (Final).

2016-10-27 Thread Kaushal Shriyan
On Wednesday, 26 October 2016 22:32:23 UTC+5:30, John Mellor wrote: > > Kaushal ran: > > Ø #cp -r jenkinsnbackup /opt/jenkins > > > > I assume from the prompt that you ran this as the wrong user, and the > permissions and ownership are all now messed up. Correct? > > > > > > > > *From:

Re: How to clone a git repo with a different branch than master on Jenkinsfile

2016-10-27 Thread Sverre Moe
One more thing: You do not need to set all parameters on the new checkout. Get common parameters through the available scm variable. Getting the URL to git repository: final def repositories = scm.getRepositories() final def scmRepo = repositories.first() final def URI = scmRepo.getURIs

Re: How to clone a git repo with a different branch than master on Jenkinsfile

2016-10-27 Thread Sverre Moe
Snippet generator => checkout: General SCM torsdag 27. oktober 2016 01.50.56 UTC+2 skrev Mario Rodriguez følgende: > > Hi, I have a very simple Jenkinsfile pipeline that uses "checkout scm" but > I'm looking for a way to specify this command to use a different branch > than master. > > any ideas

Re: Multibranch Pipeline: GCC errors does not stand out

2016-10-27 Thread Sverre Moe
There is not much information on that plugin page how to do that. In Jenkins configuration for ANSI Color there are xterm, vga, css and gnome-terminal. Those are only color codes, and there is nothing how to "translate" the ansi escape codes. I found a Pipeline example on the plugin github page