I’m using Jenkins.
Jenkins has a upstream job : A
Jenkins has a downstream job : B
A’s console log output is:
1
2
3
B’s console log output is:
A
B
C
What I’m trying to get is:
IS there any way, I can get the console output of job B in Job A’s console log and THEN, make a decision whether the JOB “A” was successful or not (using log parsing/grep a keyword for failuer/errors etc).
Not sure what you are trying to achieve, but it looks rather contrived. See if the following approach fits your needs: start Job B from Job A via Parameterized Trigger Plugin as a build step. There is an option for A to wait for B and then adjust build result for A depending on that of B.