Re: What is a permanent agent or slave server when discussing Jenkins?

2016-08-19 Thread Baptiste Mathus
Hi, Fwiw, slave in Jenkins 1.x and "permanent agent" in Jenkins 2.x is indeed the same thing. This vocabulary change is the result of https://issues.jenkins-ci.org/browse/JENKINS-27268 to remove the term 'slave' from Jenkins. As for your question, I guess there's no general answer. IMO you have t

Re: Jenkinsfile Multibranch Pipeline Github Maven Checkout Directory Issues

2016-08-19 Thread Baptiste Mathus
Step 5, you say you added a checkout step, but can't see it. Why didn't you leave it? It's indeed required to have the sources. Le 18 août 2016 11:00 AM, "Tony Murphy" a écrit : > Sorry, I wasn't clear > > >1. I created a simple maven project (https://github.com/ >tonymurphy/jenkins-test

Need for Lead .Net Web Developer-(Need for Lead .Net Web Developer-(Only Locals Face-Face Interview)

2016-08-19 Thread krishna sms
*Hi Partners,* *Role::Lead .Net Web Developer* *Location::Rocky Hill, CT* *Duration::6+ Months.* *Client::UHG/ITC* *Job Description::* *Projects:* *Lead .NET, C# development of Web.Strat and it's subcomponents.* *Team:*6+ developers collaborating on the creation and maintenance of cuttin

Re: cURL and API

2016-08-19 Thread Qazwart
Are you using a PC and editing the file on Linux? You could be messing up your End of Lines. It shouldn’t matter with XML files. The end of lines don’t matter. However, you can always reformat the files using xmllint and the -format option. > On Aug 19, 2016, at 1:34 PM, Jedimaster_att wrote:

Re: How to get Jenkins 2.0 multi branch pipeline and bitbucket 4.8.1 web hook working?

2016-08-19 Thread Jeroen Reijn
Hi Martin, Yes that specific PR solves my problem. I hope it will me merged and released soon, so we can start using that in our project. If not we will probably cut our own internal release for now and wait for the release. Jeroen Op donderdag 18 augustus 2016 heeft Martin Dilger het volgende

cURL and API

2016-08-19 Thread Jedimaster_att
I have successfully written a shell script that pulls down the job xml using cURL so i can edit it. However, when i return it to Jenkins using cURL, my shell script is in a single line and not in its original form that Linux needs it to be in to be red. Can anyone point me in the right direction

Re: What is a permanent agent or slave server when discussing Jenkins?

2016-08-19 Thread Eric Pyle
A Jenkins slave (or agent in 2.x) is a service running on "an auxiliary server" as you describe it, which can be assigned jobs to execute by the Jenkins master. There is no Jenkins-specific term for a server that receives artifacts from Jenkins jobs. You would call it whatever you'd call it if

Re: Jenkins fails to import bridging header.The project builds fine in Xcode

2016-08-19 Thread cstirbu
Hi I am running into the same issue. Did you find a solution for this? Any help would be appreciated, thanks. Regards, Cosmin On Monday, July 18, 2016 at 4:16:54 PM UTC+3, Shayeeb Mohammad wrote: > > My project builds fine in Xcode and the checkout that Jenkins takes from > bitbucket also bui

Multi-configuration project fails to load after Jenkins 2 upgrade

2016-08-19 Thread Gavin Williams
Afternoon all I've just upgraded one of our Jenkins hosts from 1.6 to 2.18, and unfortunately it appears to have broken some of our Multi-configuration projects. Upon restarting Jenkins, the following is logged: > SEVERE: Failed Loading job Microservice_Matrix_Unit > java.lang.NullPointerExce

Re: Can't initialize Jenkins

2016-08-19 Thread Mark Waite
Is there a compelling reason why you're asking Jenkins to only listen on the loopback interface? I don't know if that is the cause of your problem, but the --httpListenAddress=127.0.0.1 is not a setting I typically use. You may also need to remove the contents of the .jenkins folder in your home

Using a Master Jenkinsfile for Multi-branch Pipelines

2016-08-19 Thread Qazwart
I have just started looking at using Pipelines. One of the reasons I liked about Jenkins over CruiseControl was that Jenkins allowed you to quickly setup a build using a web form rather than attempting to setup up an entire process using an XML file. Pipelines feels a bit of a step back. Howeve

HA (high availability) Jenkins setup across 2 sites

2016-08-19 Thread John
Hello everyone, We are doing a new implementation of Jenkins and interested in ways to create an HA setup. I can think of a few ways: 1. Stay with the regular XML style configs with shared filesystem (DRBD or NFS?) 2. Use DB PostGres/MySQL with WAN replication. We are OK with having the 2nd mas

Re: Can't initialize Jenkins

2016-08-19 Thread Miguel Alver
You're right, I thought it was ok because it didn't complain... But now it got stuck while initializating: C:\JENKINS>java -jar jenkins.war --httpPort=9090 --httpListenAddress=127.0.0.1 Running from: C:\JENKINS\jenkins.war webroot: $user.home/.jenkins Aug 19, 2016 4:10:44 PM org.eclipse.jetty.ut

Re: [LogParserPublisher] pipeline doesn't set currentBuild.result

2016-08-19 Thread jerome
If the log is null (default value) use the normal full consoleOutput. -- 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...@googlegroups.c

Re: Can't initialize Jenkins

2016-08-19 Thread Mark Waite
The httpPort command line arguments begins with two dashes, rather than the single dash that you included. Mark Waite On Fri, Aug 19, 2016 at 8:04 AM Miguel Alver wrote: > I'm trying to initialize Jenkins on windows using cmd and it seems it's > not launching because port 8080 is already in use

[LogParserPublisher] pipeline doesn't set currentBuild.result

2016-08-19 Thread jerome
Hi, I have a build where I use the following: step([$class: 'LogParserPublisher', parsingRulesPath: "QmlScriptWalker.txt", useProjectRule: false, failBuildOnError: true]); The warnings detected doesn't set the currentBuild.result variable as unstable even if failBuildOnError is set to true. Is

Can't initialize Jenkins

2016-08-19 Thread Miguel Alver
I'm trying to initialize Jenkins on windows using cmd and it seems it's not launching because port 8080 is already in use. I'm trying to start it in another port using: java -jar jenkins.war -httpPort=6000 --httpListenAddress=127.0.0.1 but then I see: FAILED SelectChannelConnector@127.0.0.1:8080

Re: Are pipelines incompatible with local developer builds?

2016-08-19 Thread jerome
Hi, I think you makefile script is just fine and you should keep it this way. I think what you want to split into stage is not what happen during the build but what goes around it. here's an example of my jenkinsfile stages for a build: - stage 'Checkout' - stage 'Clean' // make clean most

Are pipelines incompatible with local developer builds?

2016-08-19 Thread Sorin Ionuț Sbârnea
I do like Jenkins pipelines and the fact that now we can control Jenkins jobs via an inside repository file. I also love the looks of the upcoming Blue Ocean interface and I can't wait to see it as default interface. Now, the reality is that there is a serious problem which seems to be ignored

Re: How do I securely connect to Windows machines with Jenkins with as few plugins on the servers receiving the Jenkins builds as possible?

2016-08-19 Thread Kiran
I'm referring to the first case. For SSH to work, do you recommend OpenSSH? Which of the options you listed have the fewest things to install on the machines that will receive the builds (the servers other than the Jenkins server) ? Of the three options you mentioned, would I need licenses f

Re: When a server is designated as a permanent node, what happens to that server?

2016-08-19 Thread Kiran
I already did that. The answers were not obvious to me. On Thursday, August 18, 2016 at 7:01:17 PM UTC-4, Mark Waite wrote: > > I think you'll be best served by enabling a slave yourself and then > seeking the answers on that system. You'll learn more, and you're more > likely to find answers

Re: When a server is designated as a permanent node, what happens to that server?

2016-08-19 Thread Kiran
I already did that. The answers were not obvious. On Thursday, August 18, 2016 at 7:01:17 PM UTC-4, Mark Waite wrote: > > I think you'll be best served by enabling a slave yourself and then > seeking the answers on that system. You'll learn more, and you're more > likely to find answers to the

Matrix jobs mixed with pipelines

2016-08-19 Thread Leandro Lucarella
Hi, I'm moving to Jenkins 2.0 pipelines using Jenkinsfiles and I'm trying to find the best way to translate matrix jobs to it. Is there a way to define a matrix job or should I emulate it somehow using parallel stages or something like that? I tried to write something using parallel, but I get an

Re: How to best define .m2 local maven repo path in multi-branch projects/Jenkinsfile?

2016-08-19 Thread Álvaro Lobato
I think that multibranch have a workspace for each branch (I'm away from my computer and can't check it) if that is the case it is safe to just use .repository, if not you can use what you propose or .reposotory_${env.BRANCH_NAME} which will make it relative and it should be persistent between exec

Launch SonarScanner from Jenkins without sonar-project.properties only MAVEN

2016-08-19 Thread Philippe Couas
Hi, Ii want launching Sonar Scanner from Jenkins 2.7.2 on an Maven3 Multi modules project Could i avoid creating sonar-project.properties file and just declaring properties in Maven ? Regards Phil -- You received this message because you are subscribed to the Google Groups "Jenkins Users"

Re: How to best define .m2 local maven repo path in multi-branch projects/Jenkinsfile?

2016-08-19 Thread ST
Hi Alvaro, Thanks for your reply. So in a multi-branch project, do you have any better proposal than to use the following? withMaven(mavenLocalRepo: "/tmp/${env.BRANCH_NAME}/.repository") { // Run the maven buildsh "mvn clean package" } Since we're "mvn install"-ing snapshots, w

Re: How do I securely connect to Windows machines with Jenkins with as few plugins on the servers receiving the Jenkins builds as possible?

2016-08-19 Thread Simona Avornicesei
Are you referring to servers where you want to deploy code (e.g. web servers) or machines where to run your builds/Jenkins jobs? In the first case you have several options like psexec, ssh, signed powershell scripts (those require 2 win services to be started). In the second case, you need the J