no files matching the pattern C:\MyApp\bin\project.dll ERROR: no files matching the pattern C:\MyApp\bin\project.dll

506 views
Skip to first unread message

Nef Rey

unread,
Jun 10, 2019, 1:13:26 PM6/10/19
to Jenkins Users
I'm using a Windows10 installation of Jenkins 2.164.3. The configuration for VSTest.Console plugin is like below Test Files = C:\MyApp\bin\project.dll Test Name = /Tests:Test1 However I get the error: no files matching the pattern C:\MyApp\bin\project.dll. Have tried different things to no avail. I know I can use a windows batch command to run the test cases with the same path and switch described above, but I would like to use this plugging as it seems more elegant to use. IS there a fix for this???

Richard Bywater

unread,
Jun 11, 2019, 4:52:53 AM6/11/19
to jenkins...@googlegroups.com
Pure guess without looking at the plugin code or ever having used the plugin but I'm guessing Test Files need to be specified as a relative path within the workspace rather than an arbitrary file somewhere else on the disk.

Richard.

On Tue, 11 Jun 2019 at 05:13, Nef Rey <ngrey...@gmail.com> wrote:
I'm using a Windows10 installation of Jenkins 2.164.3. The configuration for VSTest.Console plugin is like below Test Files = C:\MyApp\bin\project.dll Test Name = /Tests:Test1 However I get the error: no files matching the pattern C:\MyApp\bin\project.dll. Have tried different things to no avail. I know I can use a windows batch command to run the test cases with the same path and switch described above, but I would like to use this plugging as it seems more elegant to use. IS there a fix for this???

--
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-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/16a70671-c27d-433c-9268-67cd848c7eee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Nef Rey

unread,
Jun 11, 2019, 10:12:55 AM6/11/19
to Jenkins Users
That would be a bummer... The files that I need to access are not in the workspace (its complicated). They are moved to another folder. I'm using the batch command for now, but wish I could use the plugin.


On Tuesday, June 11, 2019 at 3:52:53 AM UTC-5, Richard Bywater wrote:
Pure guess without looking at the plugin code or ever having used the plugin but I'm guessing Test Files need to be specified as a relative path within the workspace rather than an arbitrary file somewhere else on the disk.

Richard.

On Tue, 11 Jun 2019 at 05:13, Nef Rey <ngrey...@gmail.com> wrote:
I'm using a Windows10 installation of Jenkins 2.164.3. The configuration for VSTest.Console plugin is like below Test Files = C:\MyApp\bin\project.dll Test Name = /Tests:Test1 However I get the error: no files matching the pattern C:\MyApp\bin\project.dll. Have tried different things to no avail. I know I can use a windows batch command to run the test cases with the same path and switch described above, but I would like to use this plugging as it seems more elegant to use. IS there a fix for this???

--
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 jenkins...@googlegroups.com.

Slide

unread,
Jun 11, 2019, 10:17:00 AM6/11/19
to Jenkins User Mailing List
You could copy the files into the workspace from the location they are currently in. Most Jenkins plugins will only act on things under the workspace for good reasons (security for one).

To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/d17b02a2-24d6-4f89-9621-ad6a247db1e4%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


--

Nef Rey

unread,
Jun 11, 2019, 4:45:15 PM6/11/19
to Jenkins Users
Tried that too. No go.  I found other blogs about the same thing and the answer seems to be use batch commands.  Those blogs were for old revisions so I figured that perhaps this was fixed by now.  Perhaps it was fixed some time ago and is now broke again.


On Tuesday, June 11, 2019 at 9:17:00 AM UTC-5, slide wrote:
You could copy the files into the workspace from the location they are currently in. Most Jenkins plugins will only act on things under the workspace for good reasons (security for one).

On Tue, Jun 11, 2019 at 7:13 AM Nef Rey <ngrey...@gmail.com> wrote:
That would be a bummer... The files that I need to access are not in the workspace (its complicated). They are moved to another folder. I'm using the batch command for now, but wish I could use the plugin.

On Tuesday, June 11, 2019 at 3:52:53 AM UTC-5, Richard Bywater wrote:
Pure guess without looking at the plugin code or ever having used the plugin but I'm guessing Test Files need to be specified as a relative path within the workspace rather than an arbitrary file somewhere else on the disk.

Richard.

On Tue, 11 Jun 2019 at 05:13, Nef Rey <ngrey...@gmail.com> wrote:
I'm using a Windows10 installation of Jenkins 2.164.3. The configuration for VSTest.Console plugin is like below Test Files = C:\MyApp\bin\project.dll Test Name = /Tests:Test1 However I get the error: no files matching the pattern C:\MyApp\bin\project.dll. Have tried different things to no avail. I know I can use a windows batch command to run the test cases with the same path and switch described above, but I would like to use this plugging as it seems more elegant to use. IS there a fix for this???

--
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 jenkins...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/16a70671-c27d-433c-9268-67cd848c7eee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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 jenkins...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages