Re: Matrix Axis Labels Not Exposed to JUnit Plugin
Bumping. On Tuesday, October 25, 2016 at 6:35:07 PM UTC-4, Chris Wozny wrote: > > All, > > I am currently running the following setup: > > Jenkins 2.0 > ClearCase Plugin 1.6.2 > Multijob Plugin 1.21 > JUnit Plugin 1.6 > > I have a (crude example of a) matrix job in which each axis slave runs > a different set of tests as follows: > > User-defined Axis #1 > Name: TYPE > Values: Windows Linux > > User-defined Axis #2 > Name: SOFTWARE > Values: Fourier DSP Prime > > Each combination runs a different set of tests i.e. Windows/Fourier is > a different set of tests than Linux/Fourier. > > When I execute the Google test output, each test gets saved off with a > different filename and in a different path such as: > > %CLEARCASE_VIEWPATH%\VOB\%TYPE%\Builds\UnitTest%SOFTWARE%.exe > --gtest_output=xml:%CLEARCASE_VIEWPATH%\Results_%TYPE%_%SOFTWARE%.xml > > which can resolve to the following as an example: > > E:\VOB\Linux\Builds\UnitTestPrime.exe > --gtest_output=xml:E:\Results_Linux_Prime.xml > > My issue comes when I attempt to publish the Junit test result report. > It doesn't appear that the JUnit plugin supports either environment > variables or axis labels. > > I've got the above matrix job example with the following Test report > XMLs section: > > ${CLEARCASE_VIEWPATH}\Results_${TYPE}_${SOFTWARE}.xml > > and the plugin is telling me that the string doesn't match anything: > > '${CLEARCASE_VIEWPATH}\Results_${TYPE}_${SOFTWARE}.xml' doesn't match > anything: even '${CLEARCASE_VIEWPATH}' doesn't exist. > > I can't use wildcards in any fashion because then it will aggregate > all the results together on each axis on each subsequent slave job > build which is incorrect. > > Does anyone know if post-build actions are exposed to environment > variables and/or axis labels in a matrix job? > > Let me know if any additional information is needed. > > Thanks, > Chris > -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/6258c149-5d36-4d49-901f-eebe294ceebf%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Matrix Axis Labels Not Exposed to JUnit Plugin
All, I am currently running the following setup: Jenkins 2.0 ClearCase Plugin 1.6.2 Multijob Plugin 1.21 JUnit Plugin 1.6 I have a (crude example of a) matrix job in which each axis slave runs a different set of tests as follows: User-defined Axis #1 Name: TYPE Values: Windows Linux User-defined Axis #2 Name: SOFTWARE Values: Fourier DSP Prime Each combination runs a different set of tests i.e. Windows/Fourier is a different set of tests than Linux/Fourier. When I execute the Google test output, each test gets saved off with a different filename and in a different path such as: %CLEARCASE_VIEWPATH%\VOB\%TYPE%\Builds\UnitTest%SOFTWARE%.exe --gtest_output=xml:%CLEARCASE_VIEWPATH%\Results_%TYPE%_%SOFTWARE%.xml which can resolve to the following as an example: E:\VOB\Linux\Builds\UnitTestPrime.exe --gtest_output=xml:E:\Results_Linux_Prime.xml My issue comes when I attempt to publish the Junit test result report. It doesn't appear that the JUnit plugin supports either environment variables or axis labels. I've got the above matrix job example with the following Test report XMLs section: ${CLEARCASE_VIEWPATH}\Results_${TYPE}_${SOFTWARE}.xml and the plugin is telling me that the string doesn't match anything: '${CLEARCASE_VIEWPATH}\Results_${TYPE}_${SOFTWARE}.xml' doesn't match anything: even '${CLEARCASE_VIEWPATH}' doesn't exist. I can't use wildcards in any fashion because then it will aggregate all the results together on each axis on each subsequent slave job build which is incorrect. Does anyone know if post-build actions are exposed to environment variables and/or axis labels in a matrix job? Let me know if any additional information is needed. Thanks, Chris -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/652b8e54-aac9-4d4a-aad3-07be2dfda5f6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Matrix Axis Labels Not Exposed to JUnit Plugin
All, I am currently running the following setup: Jenkins 2.0 ClearCase Plugin 1.6.2 Multijob Plugin 1.21 JUnit Plugin 1.6 I have a (crude example of a) matrix job in which each axis slave runs a different set of tests as follows: User-defined Axis #1 Name: TYPE Values: Windows Linux User-defined Axis #2 Name: SOFTWARE Values: Fourier DSP Prime Each combination runs a different set of tests i.e. Windows/Fourier is a different set of tests than Linux/Fourier. When I execute the Google test output, each test gets saved off with a different filename and in a different path such as: %CLEARCASE_VIEWPATH%\VOB\%TYPE%\Builds\UnitTest%SOFTWARE%.exe --gtest_output=xml:%CLEARCASE_VIEWPATH%\Results_%TYPE%_%SOFTWARE%.xml which can resolve to the following as an example: E:\VOB\Linux\Builds\UnitTestPrime.exe --gtest_output=xml:E:\Results_Linux_Prime.xml My issue comes when I attempt to publish the Junit test result report. It doesn't appear that the JUnit plugin supports either environment variables or axis labels. I've got the above matrix job example with the following Test report XMLs section: ${CLEARCASE_VIEWPATH}\Results_${TYPE}_${SOFTWARE}.xml and the plugin is telling me that the string doesn't match anything: '${CLEARCASE_VIEWPATH}\Results_${TYPE}_${SOFTWARE}.xml' doesn't match anything: even '${CLEARCASE_VIEWPATH}' doesn't exist. I can't use wildcards in any fashion because then it will aggregate all the results together on each axis on each subsequent slave job build which is incorrect. Does anyone know if post-build actions are exposed to environment variables and/or axis labels in a matrix job? Let me know if any additional information is needed. Thanks, Chris -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAEZoMYOBngJA%2BdHO6tg3D9ueO5cvBNkdH6Fmu9S6DsRW6UwhRw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Coverity Plugin Can't Deal with Pre-Build Step Batch Scripts, MSBuild Plugin, or Environmental Variables
Hey guys and gals, I've been trying to use the Coverity plugin (1.2.3) along with the MSBuild plugin (1.16) on Jenkins 1.505. The job also has a pre-build step to run some Windows batch commands. I set up ClearCase to be on my blacklist for cov-build, but no matter what I try, cov-build is always called with my Windows batch commands as follows: [Builds] $ C:\Coverity\CIC\static-analysis\bin\cov-build --dir C:\CoverityAnalyzeDir cmd /c call C:\Temp\hudson56334.bat The Windows batch commands succeed, but Coverity still warns me about no files being emitted which is merely an annoyance. The real problem comes from when the MSBuild step is called. I've got my SLN file defined with environment variables like %BUILD_DIRECTORY%\Project.sln. When the build step comes around it fails as follows: [JENKINS_COVERITY_TEST] $ C:\Coverity\CIC\static-analysis\bin\cov-build --dir C:\CoverityAnalyzeDir cmd.exe /C C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe /t:Clean;Build /nologo /p:Configuration=Release %BUILD_DIRECTORY%\Project.sln EXIT %%ERRORLEVEL%% The filename, directory name, or volume label syntax is incorrect. This leaves me with two questions: - Is there anyway to blacklist the Windows batch files created by Jenkins so they won't be called with cov-build? - Has anyone successfully used the MSBuild plugin with the Coverity plugin? Also, I was able to successfully run Coverity as Windows batch commands inside of a job, but I want to use the Coverity post-build task so I don't have to leave my password in the open for everyone to see. If anyone has any suggestions, please let me know. Thanks, Chris -- 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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Cron Style Syntax for Overnight Builds for Non-Consecutive Hour Ranges
All, I'm wondering if anyone has come up with a syntax to stagger builds/poll SCM with the 'H' syntax between hours which aren't technically in the same day. I'd like to stagger builds between 10 pm and 4 am of the next day and I tried: H H(22-23,0-3) * * * But it complains that there should only be one range for the hour. If this is not available, I think this would be an excellent feature to include as I've got matrix jobs which take about 3 hours to complete and would like to expand the staggered build another two hours before midnight. Best, Chris
Re: Cron Style Syntax for Overnight Builds for Non-Consecutive Hour Ranges
If I put two lines with two ranges, will that not kick off a build for each line? And also, how will the staggered build with the 'H' syntax be calculated if there are two lines? On Thursday, November 8, 2012 2:47:15 PM UTC-5, Arnaud wrote: Hi, You may put two lines to get two ranges My 2 cents Arnaud. 2012/11/8 Chris Wozny cwo...@gmail.com javascript:: All, I'm wondering if anyone has come up with a syntax to stagger builds/poll SCM with the 'H' syntax between hours which aren't technically in the same day. I'd like to stagger builds between 10 pm and 4 am of the next day and I tried: H H(22-23,0-3) * * * But it complains that there should only be one range for the hour. If this is not available, I think this would be an excellent feature to include as I've got matrix jobs which take about 3 hours to complete and would like to expand the staggered build another two hours before midnight. Best, Chris
Specifying Branches to Poll for ClearCase Plugin
All, Under Source Code Management in Base ClearCase for the ClearCase plugin, how do I specify the mainline as a branch to poll? I'm unsure of the syntax as the ClearCase plugin page only shows how to specify all of the branches of a file or a specific branch which is not the mainline.
Show Individual Builds in Dashboard from Multiconfiguration Builds
All, Is it possible to display individual builds in a multiconfiguration build on the Dashboard instead of seeing a single multiconfig build? Instead of seeing a single failure for the whole project when a single build fails, I'd like to be able to increase the granularity so I can see all of the builds within the matrix build on my dashboard. - Chris
Global Job Configuration
All, I was wondering if it is possible to have a single job configuration for multiple jobs or even specify certain sections such as Poll SCM settings, Pre-build steps, etc for multiple jobs. We're currently using the ClearCase plugin and we'd also like to be able to specify a single config spec and load rules for multiple jobs we have. I saw that there was a request for this feature in March of 2009, did anything come from that? Thanks, Chris