[pipline] have jenkins to override default parameter's values

2017-01-16 Thread Dan Tran
Hi I have a jenkinsfile which has a bunch of parameters with default values for my site, then another team would like to re-use it on their site,but the number parameters are overwhelming it is possible to have user the provide another file ( stored at their jenkins) to override the original

Docker Build & Publish using --force=true in Pipeline?

2017-01-16 Thread jbrooks
Hi all, I'm running into an issue when executing a job to build and publish an image to a registry: + docker tag --force=true foo:tag foo:tag unknown flag: --force See 'docker tag --help'. The relevant bit from my Jenkinsfile: node { stage('deploy'){ git branch: 'feature/branch',

Re: Windows to Linux migration LogParsed output

2017-01-16 Thread jerome
Seem like the build.xml result use absolute path (sigh...) 0 0 82 C:\Jenkins\jobs\CAD_CPP\jobs\CAD_CPP_ContinuousBuild\builds\83/log_content.html C:\Jenkins\jobs\CAD_CPP\jobs\CAD_CPP_ContinuousBuild\builds\83/logerrorLinks.html

Windows to Linux migration LogParsed output

2017-01-16 Thread jerome
Hi, I'm migrating our Jnekins server to Linux (CentOS 7). I have everything mostly up and running except The previous build log parser results. It try to fetch the file into an aberant path and I cannot figure out why: Problem accessing

Re: Issues with role-strategy plugin on 2.32.1

2017-01-16 Thread Francisca Munhoz
Thanks for your help! The issue was fixed! On Friday, January 13, 2017 at 12:52:58 AM UTC+11, Daniel Beck wrote: > > > > On 11.01.2017, at 23:10, Francisca Munhoz > wrote: > > > > Caused by: com.thoughtworks.xstream.mapper.CannotResolveClassException: >

Re: Running SQL queries from a pipeline script?

2017-01-16 Thread Peter McNab
Just completing the loop in case anyone else is looking into this. My colleague tried my solution in his instance and it didn't work. After doing some more archeology I realized that I at one point printed out the system java.ext.dirs, which included /usr/java/packages/lib/ext. I then

Re: maven-plugin install

2017-01-16 Thread jerome
Sorry for the noise, Sophos AV was going crazy, I downloaded the .hpi on the side and upload the plugins into Jenkins manually and it work just fine. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop

Re: maven-plugin install

2017-01-16 Thread Nick Stolwijk
They are working here. Hth, Nick Stolwijk ~~~ Try to leave this world a little better than you found it and, when your turn comes to die, you can die happy in feeling that at any rate you have not wasted your time but have done your best ~~~ Lord Baden-Powell On Mon, Jan 16, 2017 at 9:58 PM,

Re: maven-plugin install

2017-01-16 Thread jerome
Anybody can tell my if the 2 .hpi url above are working on there side? so I know if I have an enteprise firewall problem or is it really down? Thanks -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop

Re: Access Maven Metadata Plugin parameters in Jenkins pipeline Groovy script

2017-01-16 Thread kelemensanyi
Hi Timo, No, we chose a completely different approach. But I recently got an answer to the same question on stackoverflow (from Torsten Reinhard): http://stackoverflow.com/questions/39451009/access-maven-metadata-plugin-parameters-in-jenkins-pipeline-groovy-script/ String version = >

Re: maven-plugin install

2017-01-16 Thread jerome
All other plugin install properly hudson.util.IOException2: Failed to download from http://updates.jenkins-ci.org/download/plugins/maven-plugin/2.14/maven-plugin.hpi (redirected to: http://mirror.xmission.com/jenkins/plugins/maven-plugin/2.14/maven-plugin.hpi) at

Re: maven-plugin install

2017-01-16 Thread Daniel Beck
> On 16.01.2017, at 21:17, jer...@bodycad.com wrote: > > But I don't see the maven-plugin into the jenkins plugins available list. I'm > using Jenkins 2.41 under CentOS 7. > So I wonder how can I get it? Or is it hidden into another plugin name. > > Also I was trying to install the Maven

maven-plugin install

2017-01-16 Thread jerome
Hi, I'm having some trouble to install Jenkins along some plugins. It seem like the maven-plugin dependencies was not installed: There are dependency errors loading some plugins: - Static Analysis Utilities v1.82 - maven-plugin v2.9 is missing. To fix, install v2.9 or later. -

Re: Access Maven Metadata Plugin parameters in Jenkins pipeline Groovy script

2017-01-16 Thread Indra Gunawan (ingunawa)
? From: on behalf of Timo Weber Reply-To: "jenkinsci-users@googlegroups.com" Date: Monday, January 16, 2017 at 10:41 AM To: Jenkins Users Subject: Re: Access Maven

Re: Having trouble with Jenkins 2 checking out code in a PR under github org

2017-01-16 Thread nwalke
This continues to be a problem with SCM 2.0 that went out today and the various plugin updates that went with. On Thursday, January 12, 2017 at 2:15:00 PM UTC-6, nwa...@rednovalabs.com wrote: > > > I have a pull request that looks like this with a Jenkinsfile in it: > > >

Re: Running SQL queries from a pipeline script?

2017-01-16 Thread Peter McNab
Oddly enough, after sending this I found I *was* able to skip the extra wrapper and make this work. I swear I had tried that earlier with no luck. (As it happens, I need to use the wrapper for other purposes) Pete On 1/16/2017 10:44 AM, Peter McNab wrote: On 1/12/2017 1:53 PM, Peter McNab

Re: Running SQL queries from a pipeline script?

2017-01-16 Thread Peter McNab
On 1/12/2017 1:53 PM, Peter McNab wrote: Has anyone got a working solution for running SQL queries from a pipeline script (specifically MySQL?) Pete Answering my own post...I've found a method that functions, although it's not ideal. 1) Install the "Pipeline Classpath Step Plugin 2) Make

Re: Access Maven Metadata Plugin parameters in Jenkins pipeline Groovy script

2017-01-16 Thread Timo Weber
Just found your question because I have exactly the same problem. Could you somehow solve this? Timo -- 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

[Jenkins Plugins] Rsync over SSH

2017-01-16 Thread Laura Ureche
Hello, I'm looking for a plugin which can make rsync between the master and the node machines(remote machines). I already searched in the Jenkins plugins list and I couldn't find something like this. Also, I installed the Publish Over SSH plugin but it copies each file to the remote machine,

Tag/name artifacts

2017-01-16 Thread Daniel Matsson
Hi, We currently have two simple pipeline jobs, one for each repository/application we are building. These jobs are triggered when someone pushes code to the repository in GitLab. So if you push code to the api repository on the develop branch, it will trigger the api job in Jenkins, clone

Mesos plugin - node is offline

2017-01-16 Thread Yaroslav Pankratyev
Hi, I have a problem with Mesos plugin - generated node remains offline if Mesos is placed at the remote machine (not the same as Jenkins). As I know from information from other users it may also happen even if they're on the same

Re: Cannot set Git executable using Job DSL

2017-01-16 Thread shaneoh1980 McP
Thank you! That worked. Thanks a lot for your help. On Friday, 6 January 2017 18:02:59 UTC, Indra Gunawan (ingunawa) wrote: > > This one works correctly (put configure block inside git block). > > > > scm { > > git { > > remote { > > .. > > }

Re: How to set Jenkins environment variables containing spaces?

2017-01-16 Thread Slide
Did you try putting those values in quotes? On Mon, Jan 16, 2017, 06:40 nada abdelkader wrote: > Thks for your answer, but that's not what I am looking for. > > I'm trying to set an environment var on Jenkins that can have many values. > I'm looking for a separator

Re: How to set Jenkins environment variables containing spaces?

2017-01-16 Thread nada abdelkader
Thks for your answer, but that's not what I am looking for. I'm trying to set an environment var on Jenkins that can have many values. I'm looking for a separator (other than white space) to set these values (Jenkins->manage Jenkins->configure System -> Global properties -> Environment

Is it actually possible to trigger pipeline job without Jenkinsfile by notifyCommit http-query?

2017-01-16 Thread alexander . ites
Using Jenkins Pipeline there is no longer Source Code Management html-UI section at job configuration (for a pipeline job checkout is handled the pipeline script of the job). I am trying to trigger a test job by 'notifyCommit' http-query (using curl): curl

Jenkins instable with 2 nodes for Team Foundation Server scripts

2017-01-16 Thread Pieter Deschuytter
Hello, We are using Jenkins to periodically test some scripts located on a Team foundation server. We have one set of scripts that is run by the master node. For another set of scripts, which are running each 5 minutes, we decided to create a slave-node (SDL-only). The scripts that may be run

Re: Jenkins job only runs by user jenkins

2017-01-16 Thread 'Björn Pedersen' via Jenkins Users
Hi, As the jobs run as the jenkis user, this is correct. Possible solutions (depending on the real use case): * use one of the ssh /scp plugins to create the file (if you really just want to install soemthing,e.g.). * create a ssh slave with the correct user and tie the build to this slave