S
S
stepanof232021-03-05 22:08:27
Conveyor
stepanof23, 2021-03-05 22:08:27

Is it possible to echo off in a Jenkins pipeline?

Jenkins has a pipeline that writes all its steps to the Console Output.
Is there something like echo off for pipelines?
So that the output contains only what is explicitly output via print?

The following lines make it very difficult to read the log:
6042816610f32243404595.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitaly Karasik, 2021-03-06
@stepanof23

Are you getting interrupted by command echoes from your script, or output like "Pipeline ...."?
The first one, as far as I remember, can be disabled (set +x or "#!/bin/bash +x") , the second one can't, as the GUI is based on it, etc.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question