After waiting for a response I thought it is best to figure these things 
out by myself by trial and error. 

In the end I decided to go with using pipeline.


Thanks a lot for the incredible help that I got here. Very helpful indeed.




On Tuesday, December 5, 2017 at 4:55:39 AM UTC+11, addie k wrote:
>
> Hey Group,
>
> I am new to Jenkins. We are creating a CI/CD pipeline and I had some basic 
> questions. Following is my scenario:
>
>
>    1. Node project is cloned from Git repo and built.
>    2. The test cases are run and unit test code coverage report is 
>    generated
>    3. The artifacts are then to be used by SonarQube analysis task.
>    4. With all the above steps successful, the built artifact will be 
>    pushed to cloud foundry.
>    5. The artifacts here are basically the contents of the workspace 
>    directory - they are not zipped or anything. The total size is approx 200 
>    MB.
>
> My questions are:
>
>
>    1. Will it be a good idea that task#1 and task#2 be a part of the same 
>    Jenkins project? I tried isolating them into two separate projects but 
>    since task#2 uses the artifacts in task#1, I find the copy-artifact 
> between 
>    the two workspaces to be time-consuming.
>    2. Task #3 uses the artifacts produced in Task #2 and Task #1. If I 
>    isolate Task#3 in a separate Jenkins project, I am facing the same problem 
>    of artifacts being copied and taking time. 
>    3. I tried using the Jenkins "Pipeline" project. But I am confused - 
>    the tasks will use their workspace individually and create artifacts in 
>    their own job directories, so how will the pipeline bring them together? 
> Is 
>    this even a good candidate for the pipeline? 
>
> Sorry about this, as I am new to this, I have these questions. If you can 
> help me understand this here, I will really appreciate! I will be happy to 
> provide more information in case I am not clear anywhere.
>
> Thanks,
> addie
>

-- 
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/3d09e821-69df-4766-8a5a-5bef7bb87872%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to