You can use pipeline dsl to do this. ref link
https://jenkins.io/doc/pipeline/steps/phoenix-autotest/#-writeproperties-%20writepropertiesstep

read from properties file link:
https://jenkins.io/doc/pipeline/steps/pipeline-utility-steps/#-readproperties-%20read%20properties%20from%20files%20in%20the%20workspace%20or%20text.

On Tue, Aug 14, 2018 at 5:44 PM Egor Kozlov <[email protected]> wrote:

> I've created a new project in Jenkins. But now I want to change some
> information in my .properties file
>
> How can I do that? (I've already read about Environment Injector, but I
> don't think, that it's what I need)
>
>
> So, and one more questions - will this changes commit in file? (I don't
> want to do 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/97b8b439-51e2-4cd1-959b-7d3639a1fc98%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/97b8b439-51e2-4cd1-959b-7d3639a1fc98%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/CAMM7nTFLgYGFUGmWyvA4mUp8UonMG0G%3D73XCc8oAh-MoKOOqFA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to