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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.