pix*_*ata 7 github jenkins devops
我在 Jenkinsfile(脚本化管道)中的第一阶段是 checkout scm,它简要描述了 GitHub checkouts 以及我不想在 Jenkins 控制台输出中显示的所有与修订相关的内容。
是否可以在 Jenkins 的控制台输出中隐藏它。以下控制台输出来自 Jenkins,用于结帐 scm 步骤,我想隐藏它
Cloning the remote Git repository
Cloning repository https://github.com/forpi/cherry-pik.git
> git init /home/ubuntu/.jenkins/workspace/Dummy-project # timeout=10
Fetching upstream changes from https://github.com/forpi/cherry-pik.git
> git --version # timeout=10
> git fetch --tags --progress https://github.com/forpi/cherry-pik.git +refs/heads/*:refs/remotes/origin/*
> git config remote.origin.url https://github.com/forpi/cherry-pik.git # timeout=10
> git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url https://github.com/forpi/cherry-pik.git # timeout=10
Fetching upstream changes from https://github.com/forpi/cherry-pik.git
> git fetch --tags --progress https://github.com/forpi/cherry-pik.git +refs/heads/*:refs/remotes/origin/*
> git rev-parse refs/remotes/origin/master^{commit} # timeout=10
> git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision b80c4d6b655429d7f84347b4192461cc3d68283e (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f b80c4d6b69c429d7f84347b4192461cc3d68283e
> git branch -a -v --no-abbrev # timeout=10
> git checkout -b master b80c4d6b655429d7f84347b4192461cc3d68283e
Commit message: "lets try this again"
Run Code Online (Sandbox Code Playgroud)
Rav*_*thy -1
尝试这个方便的插件: https://wiki.jenkins.io/display/JENKINS/Collapsing+Console+Sections+Plugin
它可能不是非常整洁,但它可以完成工作。
| 归档时间: |
|
| 查看次数: |
2015 次 |
| 最近记录: |