Re: Jenkins job builder -- Cannot create pipeline style jobs

2017-06-30 Thread Ramanathan Muthaiah
On Fri, Jun 30, 2017 at 10:05 AM Matthew Wilmott wrote: > Okay so it looks like it relies on the 2.x codebase which is beta. Pip had > installed version 1.6 by default, upgraded using pip and rerun the test > script which worked. Now its obviously a beta build but I'm only currently > building ou

Re: Jenkins/2.66 Maven build Error on Slave

2017-06-30 Thread Oleg Nenashev
>From what I see you are trying to use the Maven Project plugin with Maven on Java 7. See the compatibility notice on Wiki: https://wiki.jenkins.io/display/JENKINS/Maven+Project+Plugin Hopefully it helps, пятница, 30 июня 2017 г., 16:30:20 UTC+2 пользователь Leiber, Rick написал: > > Any help

Re: Pipeline powershell

2017-06-30 Thread Slide
You're right, I was looking at the tool descriptor having an @Symbol. On Fri, Jun 30, 2017 at 12:45 PM wrote: > unless I'm mistaken or I missed the feature, MsBuild plugin is not > pipeline compatible ( > https://github.com/jenkinsci/pipeline-plugin/blob/master/COMPATIBILITY.md > seem to agree o

Re: Pipeline powershell

2017-06-30 Thread jerome
unless I'm mistaken or I missed the feature, MsBuild plugin is not pipeline compatible ( https://github.com/jenkinsci/pipeline-plugin/blob/master/COMPATIBILITY.md seem to agree on that, not sure if this up to date). If I'm wrong I will totally up to use it. I was using batch because the plugin w

Re: Pipeline powershell

2017-06-30 Thread Slide
Why not use the msbuild plugin to launch msbuild? https://wiki.jenkins.io/display/JENKINS/MSBuild+Plugin?focusedCommentId=67568742 On Fri, Jun 30, 2017 at 12:35 PM wrote: > So far I can execute the following into a powershell: > $msbuild = "C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" >

Re: Pipeline powershell

2017-06-30 Thread jerome
def psScript = """ \$msbuild = "${bcad.msbuild_current}" \$options = "${bcad.msbuild_solution_name} ${bcad.msbuild_default_arg. replace('"', '`"').replace('%CD%', '$PSScriptRoot')} /t:Build" Invoke-Expression "& '\$msbuild' \$options" """; powershell returnStatus: false, script: psScript is doing

Re: Pipeline powershell

2017-06-30 Thread jerome
So far I can execute the following into a powershell: $msbuild = "C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" $options = "BodyCad.sln /m /p:Configuration=Release;Platform=x64;SolutionDir=`" + $PSScriptRoot + `"\ /t:Clean;Build" Invoke-Expression "& '$msbuild' $options" But I cannot make

Pipeline powershell

2017-06-30 Thread jerome
Hi, I just realized that the powershell is not part of pipeline script. I'm no powershell guru. So I wonder how one can use it properly to launch something like msbuild (I known I can launch it with the bat but this often hang like many jenkins issues have already show the problems). So I hope t

Re: notifyCommit won't fire specific jobs, need help debugging

2017-06-30 Thread David Karr
On Friday, June 30, 2017 at 5:56:40 AM UTC-7, Kevin Burnett wrote: > > so the job that doesn't fire has parameters. what about the job in the > same instance that you said works? does it have parameters? i'm believe > i've seen jobs with parameters not get triggered, but i'm not sure if > that's

Re: Adding .groovy files to secured script classpath

2017-06-30 Thread jerome
"In the name of security you shall not pass!" Run you stuff into a sh/bat/powershell with python/perl/bash script and get over the false security wall. Ok, I'm out of here! -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from

Jenkins not indicating that there are updates for plugins

2017-06-30 Thread John Lussmyer
We are running Jenkins 1.616, and I've recently noticed that we no longer receive notifications that there are new versions of plugins. When I go to Manage Jenkins, Manage Plugins, the Updates tab is always empty. I've manually checked, and there are multiple plugins that have new versions avail

Re: Does the sh pipeline step not work in windows with cygwin?

2017-06-30 Thread Dan Tran
same issue found on Mingw shell. Ubuntu shell is promising, unfortunately I don't see that option under my windows 10 enterprise after turning on 'Developers mode'. I may have been disable by company's central IT -Dan On Friday, June 30, 2017 at 1:42:25 AM UTC-7, Dirk Heinrichs wrote: > > On

Re: GitHub PR Comment Build Plugin - How to debug

2017-06-30 Thread Danny Rehelis
Anyone? On Tue, Jun 27, 2017 at 8:47 PM Danny Rehelis wrote: > Hi, > > I've been notified by my staff that leaving configured comment not always > triggers PR build. > How to debug this? Nothing getting logged when comment comment is left. > How can I track this for better analysis? > > latest m

Re: Can we construct a more complex slackSend notification?

2017-06-30 Thread Idan Adar
Do you happen to know why does the following line shows an error? "mrkdwn_in": ['text','pretext'], -- expecting '}', found ':' def payload = JsonOutput.toJson([ "username": "Production Deployer", "icon_emoji": ":robot_face:", "mrkdwn": true, "attachments": [ {

Re: Can we construct a more complex slackSend notification?

2017-06-30 Thread Idan Adar
Ohhh, nice! Thanks for the example Michael. On Friday, June 30, 2017 at 5:41:38 PM UTC+3, mpapo - Michael Pailloncy wrote: > > Alternatively, you can create your own Pipeline method, a bit like this > one : > https://github.com/jenkinsci/pipeline-examples/blob/master/pipeline-examples/slacknoti

Re: Can we construct a more complex slackSend notification?

2017-06-30 Thread Michael Pailloncy
Alternatively, you can create your own Pipeline method, a bit like this one : https://github.com/jenkinsci/pipeline-examples/blob/master/ pipeline-examples/slacknotify/slackNotify.groovy Since it's a simple curl, you can then directly use all the existing options/parameters offered by the Slack RES

Jenkins/2.66 Maven build Error on Slave

2017-06-30 Thread Leiber, Rick
Any help would be greatly appreciated. <===[JENKINS REMOTING CAPACITY]===>channel started ERROR: ERROR: Invalid project setup: jenkins/security/MasterToSlaveCallable : Unsupported major.minor version 52.0 [WEBSERVI

Re: Adding .groovy files to secured script classpath

2017-06-30 Thread Jesse Glick
On Fri, Jun 23, 2017 at 5:07 AM, Oliver Gondža wrote: > I was thinking about migrating out users to secure variant by > consolidating the directory into a single file No, this is not possible. > I would really like to avoid building .jars out of it... Just create a JAR file. (Or, better, a test

Re: Can we construct a more complex slackSend notification?

2017-06-30 Thread Idan Adar
Anyone? :) On Tuesday, June 27, 2017 at 8:13:35 PM UTC+3, Idan Adar wrote: > > In a Node.js app, one can use the slack-notify package to send something > like this: > > > slack.send({ > "username": "myBotName", > "icon_emoji": ":robot_face:", > "mrkdwn": true, > "attachmen

Re: notifyCommit won't fire specific jobs, need help debugging

2017-06-30 Thread Kevin Burnett
so the job that doesn't fire has parameters. what about the job in the same instance that you said works? does it have parameters? i'm believe i've seen jobs with parameters not get triggered, but i'm not sure if that's just how it works (job with parameters never get triggered) or if there are

Re: parameterised build which can set multiple values/variables from a choice

2017-06-30 Thread paul b
I have tried to understand the various options but I am not too sure I can use it. Unless I am missing something... All I want is something simple like the following. my choice(dropdown) selections are: 1. dev 2. sit 3. uat 4. prod For example when I select dev I would like it set variables

Re: parameterised build which can set multiple values/variables from a choice

2017-06-30 Thread Michael Pailloncy
Have you tried this plugin https://wiki.jenkins.io/display/JENKINS/Extended+Choice+Parameter+plugin ? 2017-06-29 22:26 GMT+02:00 paul b : > Hi, > I wondered if it is possible to do a parameterised build which can set > multiple values. I would like to use the choice(dropdown box) and select a

Re: Does the sh pipeline step not work in windows with cygwin?

2017-06-30 Thread Dirk Heinrichs
On 30.06.2017 10:25, Dan Tran wrote: > I am facing same issue where i spin a jnlp slave using cygwin shell, > and runs a jenkins pipeline job run inside docker Not sure if that helps, though, but did you try using Windows 10's Ubuntu feature (given your Windows 10 is new enough) instead of Cygwin

Re: Does the sh pipeline step not work in windows with cygwin?

2017-06-30 Thread Dan Tran
I am facing same issue where i spin a jnlp slave using cygwin shell, and runs a jenkins pipeline job run inside docker Here is the error log. The job bails out before spin docker container to build Running shell script sh: /cygdrive/c/views/jenkins/workspace/@tmp/durable-1398ef71/pid: No su

ISO13485 for medical device development

2017-06-30 Thread Per Wilhelmsson
Does anyone know if Jenkins are compliant according to ISO13485 for medical device development. The way my consultants see it using 4.2.5 & 4.1.6 in ISO13485:2016 one can use risk management to validate the use of this tools for QMS systems. Has anyone here any experience of this? -- You