I have a use case where one step of drone pipeline prints the certain strings in the drone console logs, i want to capture that string from logs and consume that in later pipeline steps.
OR
What is the possible way to pass on information(this is dynamic information) from one pipeline step to other?
Like @jhernandez suggested, the workplace is shared between builds.
But - what is the process that outputs the string you need?
Maybe the better idea is to generate it on the same stage that requires it?
If you share what you are trying to do maybe others can suggest better solutions.
Thanks @jhernandez for the udpate, you mean to say this /drone directory which will be available to pipeline steps like workspace? and this apart from the workspace correct or same?
Thanks @omerxx for the update.
Actually, we are using one drone plugin not managed by us, does some particular task, and while executing it prints certain strings onto drone web pipeline/build console. so we want to capture all of those required strings and use them in the later pipeline steps.
I understood that from you first message, but - what are these strings?
perhaps there’s a better way of extracting them. or maybe you can clone the plugin souce code and add your desired behaviour.
Strings would be key value pairs name=value or name:value, tell me one more thing can we set env variables from one pipeline step to be used by later steps?
This could be th approach to share dynamic data between steps.