How to Use secret text(s) or file(s) in a Pipeline like in a Freestyle project?


Can we Use secret text(s) or file(s) in a Pipeline like in a Freestyle project like the attached screenshot?

there is the step withCredentials. Use the snippet generator to create it