In case it helps, here is an example that sets the Jenkins URL <https://github.com/MarkEWaite/docker-lfs/blob/8d598b92eea612f4c8457f5caf87865609c93e65/ref/jenkins.yaml#L267> based on an environment variable set from the script that launches it <https://github.com/MarkEWaite/docker-lfs/blob/8d598b92eea612f4c8457f5caf87865609c93e65/docker_run.py#L156> .
On Fri, Jul 24, 2020 at 9:58 AM Ivan Fernandez Calvo < [email protected]> wrote: > Hi, > > You can use environment variables inside of your JCasC file. If you need > something more complicated you can use a Jinja template and > https://github.com/kolypto/j2cli to make the transformation to YAML > > -- > 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/a8d4e976-1d2d-4638-8ce3-69df6d86e9d6o%40googlegroups.com > . > -- 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/CAO49JtG-UxXgG0NYpxqFSPa1y8GBgOV9qNFO8gm3J96U3RGz_g%40mail.gmail.com.
