Re: Passing env variable bettween different pipeline

2019-08-19 Thread Yeikel Santana
In Jenkins UI you can configure credentials[1] . Environment variables are inherited from the system and can be used in your pipeline with *env[2]* *Example : env.host* [1]https://jenkins.io/doc/book/using/using-credentials/ [2] https://jenkins.io/doc/pipeline/tour/environment/ On Monday, Aug

Generate stage from script stdout

2019-08-18 Thread Yeikel Santana
Dear Jenkins Community, I am aware that we can generate dynamic stages using groovy scripts. Question is, can we also do this from the standard output of a script? For example, I have a script written in Nodejs that I execute with "sh node script.js" and that It can produce standard output to

Generate Stages from a script stdout

2019-08-18 Thread Yeikel Santana
Dear Jenkins Community. I have a script written in NodeJS that I execute from Jenkins using the shell. I would like to know if it possible to derive stages from its standard output without parsing the output and generating the stages from groovy. I am aware that we can generate dynamic stage