Hi,
i have 2 stages & jobs as follows
+Stage1
-Job1
-Task 1[Inject variable]->>Created
-Job2
-Task 1[fetch Inject variable] -->can't Access
+Stage2
-Job1
-Task 1[fetch Inject variable]->>SUCCESS
If Tasks in Stage 2 can access injected variables from Stage 1->>Job1->>task1.
Why job from the same Stage i.e. Stage1->>JOB2 cant access it? seems pretty absurd.
I found a workaround from Przemek Brusk
idea is to pass the injectFile as an artifact to next Job in same satge & use it. i.e. JOB2
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.