我在 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 …Run Code Online (Sandbox Code Playgroud) 我对 AOSP 非常陌生,我正在尝试在 Docker 上设置完整的 AOSP 以构建 Docker 映像,例如 Alpine 或 Ubuntu 映像,如果不可能,请让我知道无法在内部设置 AOSP 的原因泊坞窗图像。
或者我需要编写 Dockerfile 来构建镜像吗?
如果可能的话,请帮助我一些好的片段。
提前致谢 :)