Re: Docker volume do not work as expected when used from shell script

2016-12-07 Thread Abhijit Vaidya
No issues. I have solved this one. Thanks Abhijit On Thu, Dec 8, 2016 at 10:20 AM, Abhijit Vaidya wrote: > Hi Experts, > > I am trying to run docker command from jenkins. > docker run --rm -t -v /extdisk/jenkins/workspace/ > TEST-BUILD-DOCKER-TEST/test-build/branchfile:/workspace/branchfile -v

Re: which plugin will help me run my tests

2016-12-07 Thread xwyxw
On your job need to enable Build Triggers -> Build periodically. This will allow you to trigger the job at a particular time(s)/date(s). I am not sure but I think that feature does not require any additional plugin. You can use one job as the entry point and that one will kick the other jobs. .

Need office 365 connector plugin script

2016-12-07 Thread KaliRajan G
Hi All, I have need the office 365 connector plugin script for create new custom plugin for notifier settings Thanks, Kalirajan G -- 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 i

Re: Email reports for passing builds

2016-12-07 Thread xwyxw
are you using pipelines or standard jobs? On Tuesday, December 6, 2016 at 6:49:54 AM UTC+11, Narayana Prasad wrote: > > I need to send emails reports after build is successful along with results > ( not just failure) possibly attaching some cucumber reports. > > Has anyone done similar thing ?

Re: Need pipeline script help

2016-12-07 Thread xwyxw
This may enlight your way https://github.com/jenkinsci/pipeline-examples/tree/master/pipeline-examples On Tuesday, December 6, 2016 at 5:47:41 PM UTC+11, Venkat S wrote: > > I am very new for Jenkins. i am try to create Jenkins pipeline script. > Please help me out develop pipeline script. if yo

Re: JUnit test result report

2016-12-07 Thread xwyxw
this plugin check the time stamp of the JUnit file and it is not the latest one it will complain about it. Try to manually remove the file before the build and check if your system regenerate the file if not well there is the issue. On Thursday, December 8, 2016 at 8:27:17 AM UTC+11, GBANE FETI

Docker volume do not work as expected when used from shell script

2016-12-07 Thread Abhijit Vaidya
Hi Experts, I am trying to run docker command from jenkins. docker run --rm -t -v /extdisk/jenkins/workspace/TEST-BUILD-DOCKER-TEST/test-build/branchfile:/workspace/branchfile -v /extdisk:/extdrv test-build:1.3 As we know jenkins behavior, it creates a shell script of whatever commands provid

Office 365 connector plugin:Notification Error and Local host running in notification message

2016-12-07 Thread KaliRajan G
Hi All, I have added the office 365 connector plugin.and also add the connector in Microsoft team channel.I have add the web hook URL to job configure.It Send the build status message into Microsoft team.but it does't notify that.If we go the team,It show the message.but it doesn't notify the m

Re: Pipeline: analysis-core steps (findbugs, PMD, etc) and JaCoCo NoSuchMethodError

2016-12-07 Thread Jeremy
Yes, use the 'general build step' step for all plugins that don't have their own keyword. -- 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+unsu

Jenkins pipeline and Gitlab webhooks does not work

2016-12-07 Thread xwyxw
Hi, Just for reference I am using the latest Jenkins 2.35 with all the latest Gitlab/Pipeline plugins. My Gitlab (Hosted on our own servers) version is 8.13.2. I have been using webhooks to start other non-pipeline Jenkins jobs and it works ok. I tried to do the same thing using a pipeline J

Re: Why does JNLP4 not work

2016-12-07 Thread Jonathan Hodgson
I already did, before raising this question, I'll see if I can get some more examples. On Wednesday, December 7, 2016 at 10:26:14 PM UTC, Stephen Connolly wrote: > > Sounds like you need to post some details of these "remote" (remote to > where) file operations - in a new thread, as the JNLP4 i

Re: Why does JNLP4 not work

2016-12-07 Thread Stephen Connolly
Sounds like you need to post some details of these "remote" (remote to where) file operations - in a new thread, as the JNLP4 issue is solved - if you want to get further. Stack traces are usually helpful On Wednesday, 7 December 2016, Jonathan Hodgson wrote: > Thanks, I hadn't seen those setti

SOAPUI

2016-12-07 Thread GBANE FETIGUE
Hi, any soapui-Jenkins expert I am trying to find a way to test deployed API with soapUI test suite. I have deployed API now I would like to run test suite for those deployed app. everything I have seen so far is to run a test through deployment I would like to do after deployment. any ideas ?

JUnit test result report

2016-12-07 Thread GBANE FETIGUE
Hi, I have added a JUnit plugins to my project and it keep telling me " ERROR: Step ‘Publish JUnit test result report’ failed: Test reports were found but none of them are new. Did tests run?" Here is the build : [EnvInject] - Loading node environment variables. Building in workspace /var/li

How to know the 'changed' state of a Pipeline Model Definition based build?

2016-12-07 Thread Tim Downey
Hi all, Has anyone come to a satisfactory way to know the build status during pipeline model definition in terms of things like emailing on build state changes? Nominally, we only want to email folks on failures and on build state changes, but I want the email to be able to say why the build s

Re: Why is Jenkins trying to start SSHD upon boot? (jenkins.InitReactorRunner$1.onTaskFailed Failed SSHD.init)

2016-12-07 Thread Daniel Beck
> On 07.12.2016, at 21:59, ken edward wrote: > > Upon boot, my apache tomcat Jenkins instance throws the below error. I > understand that my Tomcat is starting as non-root hence can bind to port 22, > but what is it trying to do here? The os is already running a SSHD process, > why is Jenkins

Why is Jenkins trying to start SSHD upon boot? (jenkins.InitReactorRunner$1.onTaskFailed Failed SSHD.init)

2016-12-07 Thread ken edward
Hello, Upon boot, my apache tomcat Jenkins instance throws the below error. I understand that my Tomcat is starting as non-root hence can bind to port 22, but what is it trying to do here? The os is already running a SSHD process, why is Jenkins trying to start another instance? The server does

Re: Why does JNLP4 not work

2016-12-07 Thread Jonathan Hodgson
Thanks, I hadn't seen those setting on the security page. JNLP4 now seems to be connecting, which is good (and I'm a little less confused than I was). Unfortunately it hasn't made any difference to my problem with remote file operations, not that I had any real reason to think it would, I just

Re: Why does JNLP4 not work

2016-12-07 Thread Stephen Connolly
Then What protocols have you enabled in global security settings and by the sound of it, you may need to check if Apache is filtering the headers (specifically blocking the header that reports enabled protocols) On Wednesday, 7 December 2016, Jonathan Hodgson wrote: > I'm the latest version of j

Re: Why does JNLP4 not work

2016-12-07 Thread Daniel Beck
Any of these protocols disabled in Manage Jenkins » Configure Global Security? > On 07.12.2016, at 20:10, Jonathan Hodgson wrote: > > I'm the latest version of jenkins (2.35), updated today via apt-get on > debian, and downloaded slave.jar fresh from the server after a restart. > > On Wednesda

Re: Why does JNLP4 not work

2016-12-07 Thread Jonathan Hodgson
I'm the latest version of jenkins (2.35), updated today via apt-get on debian, and downloaded slave.jar fresh from the server after a restart. On Wednesday, December 7, 2016 at 6:33:32 PM UTC, Stephen Connolly wrote: > > Have you updated the agent jar file? > > The agent jar file that supports JN

Re: Why does JNLP4 not work

2016-12-07 Thread Stephen Connolly
Have you updated the agent jar file? The agent jar file that supports JNLP4 does protocol discovery to only try protocols that are supported by the agent jar file... or alternatively have you updated Jenkins to a version that supports advertising supported protocols (which would be needed for Jenk

How to use Jenkinsfile to set job permission properties (AuthorizationMatrixProperty)

2016-12-07 Thread Rudy Gevaert
Hello Jenkins users I'm trying to use the Jenkinsfile to set the permissions of a job. When I use the groovy Snippet Generator it gives me this properties([, pipelineTriggers([])]) How can I do this? I managed to set all my parameters of the job through the properties function, however it r

Re: Demo Days

2016-12-07 Thread Patrick Wolf
Tyler pointed out, correctly, that I didn't include a time for demos. Also, Youtube won't show future live presentations; at least I haven't figured out how to get future events to show on Youtube. The first demo time slot will be tomorrow, December 8, at 8 AM PST (16:00 UTC) The video link shoul

Pipeline how to prepare environment params by groovy scripts

2016-12-07 Thread Torsten Reinhard
Hi, in my old builds jobs I often prepared some environment parameters, based on groovy code. For example I extracted some attribute values from an existing *.xml file: def appServerCluster = new XmlSlurper().parse( myXmlFileAtURI ) // SSHParams is a simple Serializable Wrapper to encapsulate

Re: Multibranch Pipeline Jenkinsfile job script not seeing Credentials

2016-12-07 Thread Francis Lalonde
I ended up with the dirty solution of copying the Ansible SSH creds file along side the scripts in the source repo, and invoke Ansible using a Jenkins shell plugin, manually selecting the correct Ansible version and laying out the full ansible-playbook invocation by hand as the last command of

Re: Bug report of plugin RemoteJobParameterized

2016-12-07 Thread Daniel Beck
Thanks. Unfortunately the wording on the exception page is wrong. Please report bugs as explained here: https://wiki.jenkins-ci.org/display/JENKINS/How+to+report+an+issue > On 07.12.2016, at 16:26, Alexandre Pérou wrote: > > Hello, > > Please find below a bug encountered on jenkins with Remot

Bug report of plugin RemoteJobParameterized

2016-12-07 Thread Alexandre Pérou
Hello, Please find below a bug encountered on jenkins with RemoteJobParameterized plugin channel stopped Remote Jenkins server returned empty response or invalid JSON - but we can still proceed with the remote build. ERROR: Processing failed due to a bug in the code. Please report t

Re: Pipeline: analysis-core steps (findbugs, PMD, etc) and JaCoCo NoSuchMethodError

2016-12-07 Thread Torrey Hull
Hey im having the same issue, did you ever figure out what was causing it? On Friday, October 21, 2016 at 11:24:23 AM UTC-4, Jeremy wrote: > > Hello, > > > First time posting here, sorry if the format isn't the norm. > > > I am having trouble using the analysis-core and JaCoCo plugins with my > P

Re: Multibranch Pipeline Jenkinsfile job script not seeing Credentials

2016-12-07 Thread Sophie Field
Did you find a workaround this? Currently experiencing the same problem. On Thursday, July 28, 2016 at 3:01:58 PM UTC+1, Francis Lalonde wrote: > > Looking at the code, it is not clear to me what the workaround would be - > Although somewhat experienced as a user, I am not knowledgeable about

Why does JNLP4 not work

2016-12-07 Thread Jonathan Hodgson
Hi, I'm having some issues with my windows slave.. remote file operations are failing, also the connection is unreliable. Now this may have no connection, but I notice that when I run the slave I get Server reports protocol JNLP4-connect not supported, skipping Server reports protocol JNLP4-pla

Re: Unmask credentials in pipeline

2016-12-07 Thread Sophie Field
Hi Raja, Did you have any success with this? I'm using the withCredentials syntax in a build but I can't use/access the variables stored globally. Also for a pipeline project there isn't the option of including the variables in the build from the Configure page like you get from a freestyle pro