小编pix*_*ata的帖子

如何在 Jenkins 的控制台输出中隐藏 checkout scm 步骤输出

我在 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)

github jenkins devops

7
推荐指数
1
解决办法
2015
查看次数

是否可以在具有高山风味的 docker 容器内构建 AOSP?

我对 AOSP 非常陌生,我正在尝试在 Docker 上设置完整的 AOSP 以构建 Docker 映像,例如 Alpine 或 Ubuntu 映像,如果不可能,请让我知道无法在内部设置 AOSP 的原因泊坞窗图像。

或者我需要编写 Dockerfile 来构建镜像吗?

如果可能的话,请帮助我一些好的片段。

提前致谢 :)

github android-source docker dockerfile devops

4
推荐指数
1
解决办法
3971
查看次数

标签 统计

devops ×2

github ×2

android-source ×1

docker ×1

dockerfile ×1

jenkins ×1