Hi,

In my case Job 1 and Job 2 contains different workspaces, but job2 should
refer the build artifacts (dll’s) from job 1 and run the sln file which is
in job 2 workspace.

So I want to publish these artifacts to nexus and refer it from there.I am
not sure in which file should I refer these dll’s in the Job 2 ,in
Jenkinsfile or sln file or any other file.

Please advise on this.

Thanks,
Saisirisha

On Wed, 3 Jul 2019 at 8:58 AM, Slide <[email protected]> wrote:

> I would recommend using a local number repo, then using nuget restore with
> that as a source. There are lots of examples online.
>
> On Tue, Jul 2, 2019, 17:39 sirisha sai <[email protected]> wrote:
>
>> Hi,
>>
>> As of now our organization will not support downloading plugins, so they
>> asked me to publish Job 1 dll’s to nexus repository and reference these
>> dll’s from nexus in the Job 2.For java apps we can put the dependency jars
>> in build.gradle dependency section but in case of msbuild how do we
>> reference it?please suggest any docs/ideas on this.
>>
>> Thanks,
>> Saisirisha
>>
>> On Tue, 2 Jul 2019 at 10:28 PM, Martin d'Anjou <[email protected]>
>> wrote:
>>
>>> You can use the external workspace manager
>>> <https://github.com/jenkinsci/external-workspace-manager-plugin> for
>>> this purpose. No copies are made, just reuse the same workspace between
>>> jobs. Examples are provided in the README.
>>>
>>> On Monday, July 1, 2019 at 4:37:40 AM UTC-4, sirisha sai wrote:
>>>>
>>>> Hi,
>>>>
>>>> Currently I am working on a .net project.I have a scenario,Job 1
>>>> output(dll's) needs to be copied to Job 2 Jenkins workspace and then run
>>>> the corresponding sln(solution) file of Job 2.In this case can I use stash
>>>> and unstash to copy the files or should I use copy artifacts plugin.I am
>>>> currently using jenkins pipeline script.Please suggest
>>>> any references or docs.
>>>>
>>>>
>>>> Thanks,
>>>> Saisirisha
>>>>
>>> --
>>> 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 [email protected].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/jenkinsci-users/2064e1ad-e614-4714-ae79-dba11cf5e9a5%40googlegroups.com
>>> <https://groups.google.com/d/msgid/jenkinsci-users/2064e1ad-e614-4714-ae79-dba11cf5e9a5%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> 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 [email protected].
>>
> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jenkinsci-users/CA%2BVkrRzNugjreAp3Rf2Spv6sYPUv%3DmREsFULtmgXBPQEx7Na3w%40mail.gmail.com
>> <https://groups.google.com/d/msgid/jenkinsci-users/CA%2BVkrRzNugjreAp3Rf2Spv6sYPUv%3DmREsFULtmgXBPQEx7Na3w%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVeYONyX1nGrUyuLp-LpZZ81Ub8g9Te9OP4mUHYRTio9nA%40mail.gmail.com
> <https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVeYONyX1nGrUyuLp-LpZZ81Ub8g9Te9OP4mUHYRTio9nA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CA%2BVkrRzihQ--UFwqvLkySVTK2xvnuk9wDxZwkpm70pj0Woj9NQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to