How to hide checkout scm step output in Jenkins console output

16 views
Skip to first unread message

pix data

unread,
Sep 5, 2019, 1:53:31 AM9/5/19
to jenkins...@googlegroups.com
Hi Team,

Is it possible to hide the checkout scm step generated console output in Jenkins.

In my Jenkinsfile I have checkout scm as first step, which is generating following output in my console of Jenkins.

The following output I want to hide in Jenkins Console is,

Cloning the remote Git repository

Cloning repository https://github.com/forpixona/pr-rest.git

 > git init /var/jenkins_home/workspace/Testing # timeout=10

Fetching upstream changes from https://github.com/forpixona/pr-rest.git

 > git --version # timeout=10

 > git fetch --tags --progress https://github.com/forpixona/pr-rest.git +refs/heads/*:refs/remotes/origin/*


> git config remote.origin.url https://github.com/forpixona/pr-rest.git # timeout=10

 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10

 > git config remote.origin.url https://github.com/forpixona/pr-rest.git # timeout=10

Fetching upstream changes from https://github.com/forpixona/pr-rest.git

 > git fetch --tags --progress https://github.com/forpixona/pr-rest.git +refs/heads/*:refs/remotes/origin/*


> git rev-parse refs/remotes/origin/testing^{commit} # timeout=10

 > git rev-parse refs/remotes/origin/origin/testing^{commit} # timeout=10

Checking out Revision 591a19f0a5f83d128ff1a0db17934094c3c6e410 (refs/remotes/origin/testing)

 > git config core.sparsecheckout # timeout=10

 > git checkout -f 591a19f0a5f83d128ff1a0db17934094c3c6e410

Commit message: "updated the things"



Thanks in Advance.
--
Kind Regards

Reply all
Reply to author
Forward
0 new messages