Hide command executed, only show output

后端 未结 2 1877
野的像风
野的像风 2020-12-16 14:52

I want to hide jenkins sh execute command in pipeline

pipeline {
    agent any

    stages {
        stage(\'Load Lib\') {
            steps {
                       


        
2条回答
  •  独厮守ぢ
    2020-12-16 15:50

    You can override this behaviour for the whole script by putting the following at the top of the build step:

    #!/bin/bash +x
    

提交回复
热议问题