Re: Using shell script

2018-02-14 Thread Francisco Vieira
I got there today :) although I got it to work now I need to use shell 
script inside that function... Any suggestions to do this inside a NonCPS ? 
I've been reading that is not possible.

Thanks!

Em segunda-feira, 12 de fevereiro de 2018 22:04:37 UTC, Victor Martinez 
escreveu:
>
> Hi Francisco,
>
> Did you use the annotation @NonCPS in your function? 
>
> Cheers
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/938b939e-7663-45ae-b7af-8ea8e35cd8d2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Using shell script

2018-02-12 Thread Francisco Vieira
Hello there,

I'm an begginer at Jenkins and I was wondering if you guys could help. My 
problem: I'm 'building' a JSON file with JSONBuilder in groovy (so far so 
good). After I do this, I wanna be able to do a command with shell script 
so I can do some things of my own. And I know how to do it, but then I get 
NotSerializableException 
when I build. Any suggestions?

Cheers!

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/644b738a-0127-4700-85da-9d9db02cfbd4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.