I write the output to a file so, reading the json output from the file is 
my backup solution.   Really don't want to repeat code between 
pipeline/freestyle as my commands need both.

Next angle... any way to or example of an "out" variable?

eg: 

def value
myStep input: "something, output: value

On Wednesday, August 26, 2020 at 10:56:37 AM UTC-4 ullrich...@gmail.com 
wrote:

> I don’t think that this is possible, you need to write a Step. (Or your 
> SimpleBuildStep creates an action that you can read after the step call.)
>
> Am 25.08.2020 um 23:41 schrieb Michael Carter <mikeyca...@gmail.com>:
>
> SimpleBuildStep when I use it in pipeline how do I get it to feed back 
> something?
>
> eg:
>
> def myValue = mySimpleBuildStepCmd
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to jenkinsci-de...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-dev/0a7c8744-d0e1-40a5-8bfd-0a18910235bbn%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/jenkinsci-dev/0a7c8744-d0e1-40a5-8bfd-0a18910235bbn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/fefc9cee-4d07-4537-99f6-78904d218b26n%40googlegroups.com.

Reply via email to