Re: [workflow] Git step to check out a commit instead of a branch

2016-03-19 Thread Simone Vratogna
I did, but to me it doesn't work, it checks out anyway the next branch... :( On Fri, Mar 18, 2016 at 8:58 AM, Baptiste Mathus wrote: > Did you try using the generic SCM way as proposed by Jesse? > Le 17 mars 2016 4:51 PM, "Simone Vratogna" a écrit : > >>

Re: Best Practices with LTS Updates

2016-03-19 Thread Indra Gunawan (ingunawa)
Then don't do yum, install the Jenkins as war on Tomcat, Jetty or the embedded Jetty that comes with Jenkins. From: > on behalf of Ashish Yadav > Reply-To:

Re: java.lang.IllegalStateException: Invalid object ID

2016-03-19 Thread oliver . kuster
Also started happening after upgrade. Java: Java Openjdk 7 -> Oracle Java 8u74 Jenkins: 1.626 (I don't remember correctly) -> 1.652 OS: Ubuntu 14.04.4 LTS Happened on 'Invoke Sonar Standalone Analysis' from the SonarQube Plugin. On Friday, October 9, 2015 at 6:06:11 PM UTC-3, Steve K wrote: > >

Re: Best Practices with LTS Updates

2016-03-19 Thread Ashish Yadav
I too am running jenkins v1.609.3. However, I am concerned about upgrading to v1.642.2 due to the following which was 'introduced' in v1.625.3. https://wiki.jenkins-ci.org/display/SECURITY/Jenkins+Security+Advisory+2015-12-09 How can I tell if this will impact me? How can I tell if this will be

Change GitSCM repository from a plugin

2016-03-19 Thread Iñigo Telleria
Hi, I'm developing a Jenkins plugin which copies a job (template-job) and changes some data. To do so, I've written this code in a plugin: MavenModuleSet template = (MavenModuleSet) jenkins.getItem("template-job"); MavenModuleSet newJob = (MavenModuleSet) jenkins.copy((TopLevelItem)

Re: Removing build associated files on Linux from Windows Jenkins

2016-03-19 Thread Ioannis Moutsatsos
Good question! If we were using the intermediate files (on Linux) just for that build, we could certainly do what you are suggesting. In our use patterns the intermediate results can be reused by several downstream jobs. As a result we don't want to delete them at the end of the first build

Re: Included regions feature

2016-03-19 Thread Christopher Orr
On 15/03/16 16:24, Andy Billy wrote: hi: where could I find the option button in jenkins web ui for included regions feature of gradlescm plugin ? There isn't a "Gradle SCM" nor a plugin with a similar name. If you mean the Git SCM, the Git plugin has an "included regions" field,

Re: Plugin to support Docker swarm as cloud provider?

2016-03-19 Thread Jason Swager
We use the Docker Plugin (https://wiki.jenkins-ci.org/display/JENKINS/Docker+Plugin) with Docker Swarm. Since a Swarm Master presents itself just like a normal Docker host, Jenkins doesn't see the difference and and uses it exactly the same. On Wednesday, March 16, 2016 at 12:07:16 PM UTC-7,

Re: Jenkins Pipeline/Workflow node name as variable

2016-03-19 Thread Baptiste Mathus
Inline Le 17 mars 2016 1:23 PM, "Frank Hask" a écrit : > > Hi all, i am building pipeline on my project that uses 5 DB servers. > > So based on build variable i want to set node name. Like this.. > > env.NODE = 'blabla' > > > node('${NODE}') { > //some code > } Why

How to do a simple post request using HTTP request plugin

2016-03-19 Thread steliosP
I am trying to do a post request using HTTP plugin. One basic question: where do you put the content you want to post?I cannot find any related field. Please have a look at

Re: Polling question

2016-03-19 Thread Baptiste Mathus
To add to Victor's answer, depending on the job/on your context, you can also enable the fact that a new build is allowed even if another one for the same job is already running. My 2 cents 2016-03-18 19:19 GMT+01:00 Victor Martinez : > Since you are polling for

Scheduling question

2016-03-19 Thread Hector Magnanao
I have 3 jobs - A, B, and C. I want to poll B but whenever B needs to run, it has to run A first before it can run itself. After B finishes, then run C. How can I setup this type of job schedule ? -- You received this message because you are subscribed to the Google Groups "Jenkins Users"

java.lang.NullPointerException

2016-03-19 Thread cardio palma
Dear everybody, I'm facing the following issue: When I access jenkins login page (logged out), and when I logout too (same page), I get the following error: java.lang.NullPointerException at java.util.TreeMap.put(TreeMap.java:556) at java.util.TreeSet.add(TreeSet.java:255) at

Re: Parameterized TRigger plugin not finding properties files when using Parameter factories

2016-03-19 Thread Elvis Presley
Should I open a bug? On Friday, March 11, 2016 at 9:30:18 AM UTC-6, Elvis Presley wrote: > > Jenkins 1.643 on Windows Server 2012R2 x64 > Java 1.8.0_20 x86 > Parameterized Trigger plugin 2.30 > > Hi, > > Job A uses *"For every property file, invoke one build"* parameter > factory to call

Re: Buildflow/workflow executes code block till next build step even after failure

2016-03-19 Thread Christopher Orr
Sorry, I don't have a good answer, but AFAIK the Build Flow plugin isn't really in development any more — you should be able to achieve what you're looking for with the Pipeline plugin: https://wiki.jenkins-ci.org/display/JENKINS/Pipeline+Plugin Regards, Chris On 13/03/16 09:20, Jayan M N

Re: java.lang.ClassNotFoundException

2016-03-19 Thread Victor Martinez
Hi, AFAIK java.lang.NoClassDefFoundError: com/cloudbees/hudson/plugins/folder/AbstractFolderPropertyDescripton means you are missing some jars/plugins so you need to install the https://wiki.jenkins-ci.org/display/JENKINS/CloudBees+Folders+Plugin plugin Give a go and see whether it

[2.0] feedback on setup wizard

2016-03-19 Thread Kohsuke Kawaguchi
I have two problems with the setup wizard in new alpha-3. I filed those as tickets, but ultimately it should be decided by how users perceive this, so in the hope of creating a discussion here they are: *https://issues.jenkins-ci.org/browse/JENKINS-33599

Re: [2.0] feedback on setup wizard

2016-03-19 Thread Daniel Beck
On 16.03.2016, at 18:54, Kohsuke Kawaguchi wrote: > https://issues.jenkins-ci.org/browse/JENKINS-33599 > … > • Instead of printing it out to stdout, create a file under > $JENKINS_HOME and ask the user to paste in its content. This is my favored approach and probably

[pipeline] not found disable project button

2016-03-19 Thread Hưng Nguyễn Việt
Hi, I'm using Jenkins ver. 1.618 with pipeline 1.4 (installed recently). I want to disable my pipeline like what I can do with a normal free-style project but didn't find the button. Am I missing something here? Thank you. -- You received this message because you are subscribed to the Google

Re: Best Practices with LTS Updates

2016-03-19 Thread Ashish Yadav
Would this work? "yum localinstall http://pkg.jenkins-ci.org/redhat-stable/jenkins-1.625.2-1.1.noarch.rpm; From: "Indra Gunawan (ingunawa)" > Reply-To: "jenkinsci-users@googlegroups.com"

Windows slave fails to connect via JNLP - can't find remoting.jar

2016-03-19 Thread David Aldrich
Hi You may have seen my previous questions about trouble connecting a Windows slave using JNLP. I now have a Jenkins test server that is not behind a proxy server so there are no tunnelling issues. When we attempt to connect the slave to this test server using JNLP we see this exception:

Re: Request for participation: Jenkins Release Officer candidates

2016-03-19 Thread Oleg Nenashev
Yay, we need a release manager! On the other may be a work, which requires a significant amount of time (>8 hours per week I'd guess). понедельник, 7 марта 2016 г., 20:52:03 UTC+1 пользователь R Tyler Croy написал: > > Based on the team lead structure >

Job is run twice on first slave using label parameter

2016-03-19 Thread Elvis Presley
Jenkins 1.643 on Windows Server 2012R2 x64 Java 1.8.0_20 x86 Node and Label Parameter Plugin 1.7.1 Hi, I have multiple slaves that have multiple labels\tags. Four of those slaves are online and all 4 have 'sales' (no

Re: Special measures for running Windows 10 slaves via DCOM?

2016-03-19 Thread Slide
Hi David, I am not behind a proxy, so I don't have to specify that parameter. Thanks, Alex On Thu, Mar 17, 2016 at 5:20 AM David Aldrich wrote: > Hi Slide > > > > Our Jenkins master is behind a reverse proxy so I think I need to specify > the “ > Tunnel connection

Re: Jenkins Pipeline/Workflow node name as variable

2016-03-19 Thread Vincent Latombe
Use double quotes if you want expressions resolved. Vincent 2016-03-17 13:23 GMT+01:00 Frank Hask : > Hi all, i am building pipeline on my project that uses 5 DB servers. > > So based on build variable i want to set node name. Like this.. > > env.NODE = 'blabla' > > >

Re: Best Practices with LTS Updates

2016-03-19 Thread Daniel Beck
On 17.03.2016, at 18:21, Ashish Yadav wrote: > I too am running jenkins v1.609.3. > > However, I am concerned about upgrading to v1.642.2 due to the following > which was ‘introduced’ in v1.625.3. >

Re: Opening Html files failed

2016-03-19 Thread Daniel Beck
On 18.03.2016, at 15:26, jer...@bodycad.com wrote: > I guess I have some syntax error or using the wrong format. Anybody have any > tips? Use the provided script console commands to read what the value you set actually is. Set it using the script console to ensure it's not related to weird

Re: Opening Html files failed

2016-03-19 Thread jerome
I have try to update to the latest Jenkins version 1.653, I try to run the following script console: System.getProperty("hudson.model.DirectoryBrowserSupport.CSP") Here's the return value: Result: sandbox 'allow-scripts'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; img-src *; I still

Re: Change GitSCM repository from a plugin

2016-03-19 Thread Mark Waite
Since the job uses the remote repository address which is stored inside the repository, I suggested that you use JGit to modify the job definition in the repository, then rely on the plugin to read the definition from the repository. Alternately, you could look at the source code of the git

Re: variables in parallel tasks in pipeline plugin.

2016-03-19 Thread John Thompson
So, just in case anyone else has this problem. Variable scope is a thing. Adding a 'def' fixes everything. for (int i = 0; i < list.size(); i++) { def thing = list.get(i) print thing branches[thing] = { node { print thing } } parallel branches On

Re: Jenkins Environment Variable

2016-03-19 Thread Christopher Orr
On 14/03/16 16:44, Jayesh Iyer wrote: Hi, I am using jenkins environment variable, i am specifying property something like count=1 the same is present in my build file as I have specified a property file something as C:\Users\myname.i\workspace\Project\application.properties When i

Re: Scheduling question

2016-03-19 Thread Victor Martinez
You can use the below plugin: - https://wiki.jenkins-ci.org/display/JENKINS/Parameterized+Trigger+Plugin B polls for any changes, configure a build step to trigger A and wait until it finishes then configure what B should do and exactly the same steps for C Cheers On Friday, 18 March 2016

Jenkins Pipeline/Workflow node name as variable

2016-03-19 Thread Frank Hask
Hi all, i am building pipeline on my project that uses 5 DB servers. So based on build variable i want to set node name. Like this.. env.NODE = 'blabla' node('${NODE}') { //some code } but each time i get error - There are no nodes with the label ‘${NODE}’ Thanks for help in advance... --

Re: selenium Jenkins integration issues

2016-03-19 Thread Duarte Carreira
well I was wrong... your problem is not in the testing.xml... obviously... if you run your tests "outside" jenkins you say they don't do what you expect. so you have to debug your tests... at the very least use println often to get feedback on whats going on. I don't use testng so i am not the

Re: [workflow] Git step to check out a commit instead of a branch

2016-03-19 Thread Simone Vratogna
Hello, I'm interested as well. Did you find any solution? On Wednesday, March 25, 2015 at 3:26:37 PM UTC+1, Lóránt Pintér wrote: > > Hi, > > Is it possible to check out a particular commit hash, instead of a branch > with the git workflow step? > > Thanks, > Lorant > -- You received this

Running squish test on jenkins slave from jenkins master

2016-03-19 Thread anks113
Hi, I am trying to run squish test on my Jenkins slave machine (UNIX) from my Jenkins master machine (windows) using the jenkins master and slave philosophy. *While running my build schedule it is giving me following error:- >> Exception: com.froglogic.squish.SquishException: >>

RE: Windows slave fails to connect via JNLP - can't find remoting.jar

2016-03-19 Thread David Aldrich
Fixed, Jenkins URL in Manage Jenkins > Configure System was incorrect. -- 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

Re: java.lang.ClassNotFoundException

2016-03-19 Thread cardio palma
Many thanx, the Error in the Manage Jenkins > System log is gone, log there is clean now, but the error is still raised when i'm in the log out page. I guess it is an other problem then, I will open a new post, anyway I attach here also, in case it is related: Stack trace

[Jenkins Squish Integration ] parse error in test cases string: unexpected escaped character

2016-03-19 Thread Ankit Vashistha
I am trying to run my squish test on slave machine (windows) using jenkins from master machine (windows). When i tried to run test case from squish IDE from slave machine it is working fine. Same when I am trying to run from remote machine (master jenkins machine) I am getting this error :

Re: Removing build associated files on Linux from Windows Jenkins

2016-03-19 Thread Baptiste Mathus
Must be missing something. Why can't you just: * upload files * process them * download resulting files * clean up everything In the same go? Cheers Le 14 mars 2016 6:09 PM, "Ioannis Moutsatsos" a écrit : > I have a job that uploads user data on a Linux server where it

Fwd: [2.0] pushing out beta, RC, and GA by a week

2016-03-19 Thread Kohsuke Kawaguchi
I've sent this out to the dev list yesterday, but also copying it here. -- Forwarded message -- From: Kohsuke Kawaguchi Date: 2016-03-15 18:36 GMT-07:00 Subject: [2.0] pushing out beta, RC, and GA by a week To: "jenkinsci-...@googlegroups.com"

Re: selenium Jenkins integration issues

2016-03-19 Thread Duarte Carreira
your problem is likely in your xml... can you post just the starting lines? On Wednesday, March 16, 2016 at 4:00:03 AM UTC, Kancharla Prasad wrote: > > Thank you Eric, please find my bat file data. > > java -cp bin;lib/* org.testng.TestNG testng.xml > > On 16 March 2016 at 01:30, Eric Smalling

Polling question

2016-03-19 Thread Hector Magnanao
In Jenkins, if I have a polling schedule every 15 minutes on a job, does Jenkins know not to run the job again if the same job is still running after 15 minutes ? -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this

java.lang.ClassNotFoundException

2016-03-19 Thread cardio palma
Dear everybody, hoping I'm not asking in the wrong channel, I'm facing the following issue and I'm unable to find more information around the web. This error is raised when I logout from Jenkins, and in general always when the login page is loaded: Mar 16, 2016 9:47:14 AM WARNING

variables in parallel tasks in pipeline plugin.

2016-03-19 Thread John Thompson
I have code like the following: (obviously more complicated, but this shows the problem) for (int i = 0; i < list.size(); i++) { thing = list.get(i) print thing branches[thing] = { node { print thing } } parallel branches As it's building the branches, it

[Jenkins Squish Integration] running squish test on slave (unix) machine using jenkins from master (windows)

2016-03-19 Thread Ankit Vashistha
I am trying to run squish test on slave machine using Jenkins from master machine. While running build job from my master machine I am getting following errors:- *Exception: com.froglogic.squish.SquishException: com.froglogic.squish.execute.TestCaseNotFoundException: Could not find

Re: Best Practices with LTS Updates

2016-03-19 Thread Christopher Orr
On 14/03/16 19:36, Mark Bidewell wrote: I am managing the Jenkins Server for my company. Recently, we moved from 1.609.3 to 1.625.3. I noticed however that the Required Core Dependencies for Pipe line skipped 1.625.x and went from 1.609.1 to 1.642.1. What are the best practices for selecting

Plugin to support Docker swarm as cloud provider?

2016-03-19 Thread Geoffroy Jabouley
Hello are there any ongoing developments regarding a Jenkins plugins that would add support for Docker Swarm as cloud provider? it would basically work the same way as Jenkins Mesos plugin, ie dynamically provisioning Jenkins Slaves running in docker container on a Docker Swarm cluster. --

jenkins garils build to tomcat javascript asset link issue

2016-03-19 Thread greenbuds software technologies
Hi, I have build war for grails project from jenkins to tomcat.But when I test app javascript assets are not linking correctly,So bootstrap menus are not working. But I did not faced such type of issue when I build using commanline. Software Versions Which I have used: Grails : 2.4.2

java.net.SocketTimeoutException: connect timed out

2016-03-19 Thread Janardhan Korada
Hi , I am using the below command java -jar jenkins-cli.jar -noCertificateCheck -s https://jenkins-url.com help I am getting below error Skipping HTTPS certificate checks altogether. Note that this is not secure at all. java.net.SocketTimeoutException: connect timed out at