Why wouldn't it work using Ansible? Granted, as-is it wouldn't be idempotent, but did you try using the shell module for example?
2016-08-26 13:09 GMT+02:00 user_dev <[email protected]>: > I am trying to run some jenkins scripts through command line. But it > requires me to set jnlp port. How do I set it from command line ? > > This question shows a way through curl but it does not work inside ansible > command https://groups.google.com/forum/#!searchin/ > jenkinsci-users/set$20jnlp$20port$20via$20command$20line| > sort:relevance/jenkinsci-users/xQhwgYySRV4/PREXjuR-LBwJ > > -- > 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 [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/jenkinsci-users/12217abc-25ba-441b-8610-148f9dfc760d%40googlegroups. > com > <https://groups.google.com/d/msgid/jenkinsci-users/12217abc-25ba-441b-8610-148f9dfc760d%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS6mkxcg3%3DBvqcTdK3phz8wLgusYDAFFd68KgH9U6ZTP%3Dw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
