HTML report between different jobs ??

2016-12-11 Thread Albert Shamsiyan
I have multiple deployment jobs which executes the same downstream testing job. I would like to attach the HTML report generated by the Testing job to the build report of the upstream deployment job. Is it possible ? How ? Example: Deploy_Dev -> AutoamtedTest (Environemt=Dev) Deploy_QA -> A

Re: Pipeline: Hos to test them locally

2016-12-11 Thread Victor Martinez
I'll follow that jira ticket then. Thanks Michael On Saturday, 10 December 2016 18:00:10 UTC, Michael Kobit wrote: > > You can use the "Replay" option, which might help you iterate a little bit > faster. There isn't really a good way to test and validate that your > pipeline is correct other tha

Re: pipeline : slave throws an exception on trying to create a tmp folder, despite creating the workspace and a subfolder just fine

2016-12-11 Thread Jonathan Hodgson
I tried a couple of experiments today. Launching a cmd windows as an administrator and running the slave from there... no difference. Manually created the pipeline-test2@tmp directory - build was successful Deleted both pipeline-test2 and pipeline-test2@tmp and ran build - jenkins recreated pi

Re: pipeline : slave throws an exception on trying to create a tmp folder, despite creating the workspace and a subfolder just fine

2016-12-11 Thread Jonathan Hodgson
> > Ok, adding to the confusion... > I just tried changing the slave configuration to give a compleely new root folder (C:\Jenkins2 rather than C:\Jenkins) Ran the same same job Failed to mkdirs: C:\Jenkins2\workspace\pipeline-test2 hudson.FilePath.mkdirs(FilePath.java:1169) org.jenkinsci.plu

Re: HTML report between different jobs ??

2016-12-11 Thread Daniel Beck
If you use the Parameterized Trigger plugin, you could use the build step it provides, which allows waiting for the downstream job to finish. Then just configure downstream to archive the report as artifacts, copy its artifacts (Copy Artifacts Plugin, or Jenkins HTTP API) and create an HTML rep

Re: pipeline : slave throws an exception on trying to create a tmp folder, despite creating the workspace and a subfolder just fine

2016-12-11 Thread Daniel Beck
Is this a file system that doesn't like the @ character? Set the system property hudson.slaves.WorkspaceList to e.g. _ to use a different separator as described on https://wiki.jenkins-ci.org/display/JENKINS/Features+controlled+by+system+properties > On 11.12.2016, at 14:30, Jonathan Hodgson

Re: HTML report between different jobs ??

2016-12-11 Thread Albert Shamsiyan
Daniel, Since both Deploy AND Test are managed by the same master, any way to configure the Test to "place" the html report in the Deploy job directory ??? On Sunday, December 11, 2016 at 6:34:12 PM UTC+2, Daniel Beck wrote: > > If you use the Parameterized Trigger plugin, you could use the bu

Re: HTML report between different jobs ??

2016-12-11 Thread Daniel Beck
> On 11.12.2016, at 17:50, Albert Shamsiyan wrote: > > managed by the same master, any way to configure the Test to "place" the html > report in the Deploy job directory ??? If you enjoy implementing a 'worst practice', sure. Of course this will make it much more difficult to grow your Jenki

Re: HTML report between different jobs ??

2016-12-11 Thread Albert Shamsiyan
not that i enjoy heart my self, yet, using the default value in the html publish widget (on testing job) - i can see the following log at very button: *[htmlpublisher] Archiving at BUILD level D:\JenkinsSlave\workspace\**My_Test_job** to /local/apps/My_Name/.jenkins/jobs/My_Test_job/builds/38

Re: Maven project not showing JUnit tests' report?

2016-12-11 Thread Jeff
Nevermind. The user did not have his test methods named properly. On Thursday, December 8, 2016 at 3:17:06 PM UTC-5, Jeff wrote: > > Jenkins 2.15 (production) and 2.19.4 (test box). > > We're stumped. Our *successful* build of a Maven project is not showing > any test results report. The console

Re: pipeline : slave throws an exception on trying to create a tmp folder, despite creating the workspace and a subfolder just fine

2016-12-11 Thread Jonathan Hodgson
On Sunday, December 11, 2016 at 4:36:24 PM UTC, Daniel Beck wrote: > > Is this a file system that doesn't like the @ character? > Seems unlikely, since 1) I created the folder manually without issue (and then things worked correctly) 2) Jenkins previously created those folders just fine, this

Re: pipeline : slave throws an exception on trying to create a tmp folder, despite creating the workspace and a subfolder just fine

2016-12-11 Thread Jonathan Hodgson
Further to the above. I just forced it to run multiple builds simultaneously, and it generates new folders for them as pipeline-test2@2 and pipelin-test2@3. So the @ symbol is most certainly not the issue. On Sunday, December 11, 2016 at 7:23:01 PM UTC, Jonathan Hodgson wrote: > > > > On Sunday

Re: Techniques for managing an scp call to a remote box, with a specific principal

2016-12-11 Thread Rachel Moreno
Hi David, I don't know if I've understood what you really need, but please, take a look at: - https://wiki.jenkins-ci.org/display/JENKINS/SCP+plugin - https://wiki.jenkins-ci.org/display/JENKINS/Publish+Over+SSH+Plugin For example, if you have a user/password you can choose "Use password

Re: How to customize the email based on attachments?

2016-12-11 Thread Rachel Moreno
Hi Jyo, If you install Email-ext plugin you'll have this section available when adding an *Editable Email Notification* in a job (*Advanced settings*): *Pre-send Script* *This script will be run prior to sending the email to all

Re: Techniques for managing an scp call to a remote box, with a specific principal

2016-12-11 Thread David Karr
On Sunday, December 11, 2016 at 1:05:19 PM UTC-8, Rachel Moreno wrote: > > Hi David, > > I don't know if I've understood what you really need, but please, take a > look at: > >- https://wiki.jenkins-ci.org/display/JENKINS/SCP+plugin >- https://wiki.jenkins-ci.org/display/JENKINS/Publish+