Re: How can I access the Jenkins build console log from postbuild email section of Jenkins job

2019-01-11 Thread Adam von Nieda
Use “Editable Email Notification” and choose “Attach build log” from the selector at the bottom. -- Adam vonNieda a...@vonnieda.org > On Jan 11, 2019, at 4:06 PM, RAJENDRA PRASAD > wrote: > > Hi all, > I am trying to setup a mail notification in Jenkins and mail should have > consol

Re: How to copy all the Jenkins jobs config.xmls with folder names and excluding other jobs related files in single shell command?

2019-01-11 Thread Adam von Nieda
Here’s a few examples, all run from $JENKINS_HOME/jobs #!/bin/bash export JENKINS_HOME=/opt/jenkins cd $JENKINS_HOME/jobs # # Copy directory and config.xml to /tmp # find . -name config.xml -exec ls {} \; | while read dir_file do cp --parents $dir_file /tmp done # # tar up directories and

How can I access the Jenkins build console log from postbuild email section of Jenkins job

2019-01-11 Thread RAJENDRA PRASAD
Hi all, I am trying to setup a mail notification in Jenkins and mail should have console log of the build /job. How can I access the Jenkins build console log from postbuild email section of Jenkins job? Thanks in Advance, Rajendra -- You received this message because you are subscribed to t

How to copy all the Jenkins jobs config.xmls with folder names and excluding other jobs related files in single shell command?

2019-01-11 Thread RAJENDRA PRASAD
Hi all, I am trying to implement Jenkins jobs backup on existing Jenkins instance and restore on new jenkins server mechanism. For that I need to copy/backup all the jobs from each jenkins instance . I am using Linux OS and I need to use shell command for that. Can anybody help me in with shell

Re: Saving job log as text file?

2019-01-11 Thread alex . tiunov
0 Log location: ${JENKINS_HOME}/jobs/${JOB_NAME}/builds/${BUILD_NUMBER}/log MAC: Get log as a text and save to workspace: cat ${JENKINS_HOME}/jobs/${JOB_NAME}/builds/${BUILD_NUMBER}/log >> log.txt WINDOWS: Get log as a text and save to workspace: type ${JENKINS_HOME}/jobs/${JOB_NAME}/builds/

Re: Problem with TAP Plugin

2019-01-11 Thread 'aaron Scholz' via Jenkins Users
Hi, i did some investigation about this issue. The root cause for this issue is about the different path separator "\" != "/" used in the saveReports method. I am able to fix this by added .absolutize() for the source pathes. Maik /** * @param workspace * @param tapDir * @param

Re: Problem with TAP Plugin

2019-01-11 Thread 'aaron Scholz' via Jenkins Users
/** * @param workspace * @param tapDir * @param reports * @param logger * @return */ private boolean saveReports(FilePath workspace, FilePath tapDir, FilePath[] reports, PrintStream logger) { logger.println("Saving reports..."); try

Re: Error sending to the following VALID addresses; SendFailedException message: 501 5.1.7 Invalid Address

2019-01-11 Thread Slide
Sorry, I should have been more clear. When I said can you view logs on the server, I meant the mail server. On Fri, Jan 11, 2019 at 9:15 AM Ujjawal Khare wrote: > no mail server installed on my machine. So I am using jenkins email plugin > to connect my company's mail server. > > On Fri, Jan 11,

Re: Problem with TAP Plugin

2019-01-11 Thread Arnaud bourree
Try ant syntax: **/*.tap Tap files may be located in subfolders Arnaud Le jeu. 10 janv. 2019 à 19:57, 'aaron Scholz' via Jenkins Users < jenkinsci-users@googlegroups.com> a écrit : > Hi, > > i am running a jenkins master on a ubuntu machine and a slave agent on a > Windows 10 PC. > While running

Issue with Active Choices plugin

2019-01-11 Thread MDKF
I created a multi select parameter in a pipeline job. When the job is run, all of the selected parameters are concatenated into a single long string instead of into a list as expected. How can I fix this? -- You received this message because you are subscribed to the Google Groups "Jenkins Use

Re: Error sending to the following VALID addresses; SendFailedException message: 501 5.1.7 Invalid Address

2019-01-11 Thread Ujjawal Khare
no mail server installed on my machine. So I am using jenkins email plugin to connect my company's mail server. On Fri, Jan 11, 2019 at 8:51 PM Slide wrote: > It will depend on what email server you are using. > > On Fri, Jan 11, 2019 at 7:36 AM Ujjawal Khare > wrote: > >> Yes I can login to th

Re: Error sending to the following VALID addresses; SendFailedException message: 501 5.1.7 Invalid Address

2019-01-11 Thread Slide
It will depend on what email server you are using. On Fri, Jan 11, 2019 at 7:36 AM Ujjawal Khare wrote: > Yes I can login to the server but what is the path of log file ? Please > tell me and i will check. > > Regards, > Ujjawal > > On Fri, 11 Jan 2019, 19:32 Slide >> Do you have the ability to

Re: Error sending to the following VALID addresses; SendFailedException message: 501 5.1.7 Invalid Address

2019-01-11 Thread Ujjawal Khare
Yes I can login to the server but what is the path of log file ? Please tell me and i will check. Regards, Ujjawal On Fri, 11 Jan 2019, 19:32 Slide Do you have the ability to see the logs on the server? The message is > coming from your server. > > On Fri, Jan 11, 2019 at 1:33 AM Ujjawal Khare

Re: Error sending to the following VALID addresses; SendFailedException message: 501 5.1.7 Invalid Address

2019-01-11 Thread Slide
Do you have the ability to see the logs on the server? The message is coming from your server. On Fri, Jan 11, 2019 at 1:33 AM Ujjawal Khare wrote: > Here is the debug logs: > > Set build name. > New build name is 'xyz #18' > [Start-xyz-TestSuite] $ > /var/jenkins_home/tools/ru.yandex.qatools.a

Re: Error sending to the following VALID addresses; SendFailedException message: 501 5.1.7 Invalid Address

2019-01-11 Thread Ujjawal Khare
Here is the debug logs: Set build name. New build name is 'xyz #18' [Start-xyz-TestSuite] $ /var/jenkins_home/tools/ru.yandex.qatools.allure.jenkins.tools.AllureCommandlineInstallation/local_allure/bin/allure generate -c -o /home/ukhare/move/Start-xyz-TestSuite/allure-report Report successfully ge