• python
  • javascript
  • reactjs
  • sql
  • c#
  • java
Facebook Twitter Instagram
Devs Fixed
  • python
  • javascript
  • reactjs
  • sql
  • c#
  • java
Devs Fixed
Home ยป Resolved: How to append to a file in Jenkins pipeline?

Resolved: How to append to a file in Jenkins pipeline?

0
By Isaac Tonny on 17/06/2022 Issue
Share
Facebook Twitter LinkedIn

Question:

I have the following simple pipeline where I just want to append multiple lines into a file
The way I have it, I only get the last string I wrote.
I don’t want to use the echo shell command to do this.

Answer:

or try java/groovy file class if allowed for you

If you have better answer, please add a comment about this, thank you!

groovy jenkins-pipeline
Share. Facebook Twitter LinkedIn

Related Posts

Resolved: I am facing ERR_HTTP2_PROTOCOL_ERROR on my website

27/03/2023

Resolved: TypeScript does not recognize properties when instantiating interface array

27/03/2023

Resolved: How to make statement case insensitive when uploading a dta file with specified columns?

27/03/2023

Leave A Reply

© 2023 DEVSFIX.COM

Type above and press Enter to search. Press Esc to cancel.