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
<https://github.com/forpix/pr-rest.git>

 > git --version # timeout=10

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

> git config remote.origin.url https://github.com/forpixona/pr-rest.git
<https://github.com/forpix/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
<https://github.com/forpix/pr-rest.git> # timeout=10

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

 > git fetch --tags --progress https://github.com/forpixona/pr-rest.git
<https://github.com/forpix/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

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAOpjHkf8eohNxiJQfSY-4ydX9G5GvkjJUo69QJiFZAJU-0dcVQ%40mail.gmail.com.

Reply via email to