I would like to build a dynamic parameter page BEFORE launching a pipeline:
- ACTION: comboBox, from MAJOR/MINOR/FIX/SNAPSHOT. - VERSION: inputText, dynamic value depending on git tags and selected ACTION param. I first tryed to use ActiveChoice to achieve that. But in ActiveChoice groovy scripts, I am unable to use http call or execute process (for example ["git", "--version"].execute()), nothing is working to get data dynamically. I then looked at Extended Choice Parameter and I am able to get all git tags with it but unable to update field dynamically like with ActiveChoice. I also discovered jsonEditorOptions which is incredible but I have still the same problem to make things dynamics. In other words : Field ACTION do no need anything particular. Field VERSION need : - to get all tags from git repo - get the value of ACTION - run some other function to determine the good version value depending on the context Could someone give some advice to achive that ? Thank you -- 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/ba76812d-111b-4f22-bf4c-853ea67c1158n%40googlegroups.com.
