Currently I have in a node project a .json file with certain values.Is it possible to externalize these values into a Jenkins global variable and then consume these properties in my code?
--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/98e36806-f4b9-4b8d-964a-81ee0f71a66d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
It looks like you are trying to write a build script in pipeline...I would think twice if that is actually what you are trying to do.Write your build script to be independent of Jenkins. That lets you test thing from the command line.Pipeline is the glue to wire it all together at the end (same goes for non-pipeline job types, except it is harder to fall into the trap and hence less likely... but it can still happen)
On 15 June 2017 at 05:19, Idan Adar <id...@adar.me> wrote:
Currently I have in a node project a .json file with certain values.Is it possible to externalize these values into a Jenkins global variable and then consume these properties in my code?
--
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-use...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/6c1ec535-68e5-4b77-a46d-a3b8a67d958d%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/1Cfq4PzoPsM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CA%2BnPnMzjHyXgi5Xkh1B_SC7BL3pHRRx%3Dmw2t%2BpVELO87wefjEQ%40mail.gmail.com.
Question:It seems that $CHANGE_ID and $CHANGE_URL are not available in a pipeline job but are available in a multibranch job?
--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/faea6e95-baac-4e08-91dc-48ba7660c33d%40googlegroups.com.
Well that's a deadlock... I need both those variables and the parameter provided to me via parametrized build...parametrized build is available in pipeline but not multibranch
--
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-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/67314e16-6ae2-4c93-84ed-b76b5d46f0de%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.