Currently, JobEnvironment requires a java.net.URL, which seems to prevent certain usecases such as templating based on a step output - e.g. as in https://docs.github.com/en/pages/getting-started-with-github-pages/using-custom-workflows-with-github-pages.
I think a variant should be added that allows passing an arbitrary string that doesn't get parsed as a URL.