我配置了一个 Jenkins 作业,它应该将更改推送回 github git 存储库。当我查看控制台时,一切看起来都很好,这项工作被归类为成功。唯一的问题是:github 中没有任何显示。
我在 github 存储库中注册了 cloudbees 的公钥,这首先可以正常触发构建。
知道发生了什么,以及我如何能够修复/调试这个?
詹金斯配置:
要建立的分支:gh-pages
要推送的分支:
gh-pages
或:remotes/origin/gh-pages
我也尝试了完全废话而不改变结果
目标远程名称:origin
以下是 jenkins 的控制台输出:
Started by user Jens Schauder
Started by user Jens Schauder
Building remotely on s-9c5ce0c6 in workspace /scratch/jenkins/workspace/degraph-publish-page
Checkout:degraph-publish-page / /scratch/jenkins/workspace/degraph-publish-page - hudson.remoting.Channel@7607cd7e:s-9c5ce0c6
Using strategy: Default
Last Built Revision: Revision 1a647b55a3afb68420e154897aa182858a83389e (origin/gh-pages)
Fetching changes from 1 remote Git repository
Commencing build of Revision 1a647b55a3afb68420e154897aa182858a83389e (origin/gh-pages)
Checking out Revision 1a647b55a3afb68420e154897aa182858a83389e (origin/gh-pages)
Copied 135 artifacts from "degraph-commit" build number 51
[Gradle] - Launching build.
[degraph-publish-page] $ /scratch/jenkins/workspace/degraph-publish-page/gradlew mvFiles gitAdd gitCommit
:mvFiles
:gitAdd
:gitCommit
[gh-pages e75cd69] "automatic updated of scaladoc"
135 files changed, 25947 insertions(+)
create mode 100644 nightly/docs/scaladoc/de/package.html
create mode 100644 nightly/docs/scaladoc/de/schauderhaft/degraph/Degraph$.html
create mode 100644 nightly/docs/scaladoc/de/schauderhaft/degraph/analysis/dependencyFinder/Analyzer$.html
create mode 100644 nightly/docs/scaladoc/de/schauderhaft/degraph/analysis/dependencyFinder/AnalyzerLike.html
...跳过了许多类似的行...
create mode 100644 nightly/docs/scaladoc/lib/valuemembersbg.gif
create mode 100644 nightly/docs/scaladoc/package.html
BUILD SUCCESSFUL
Total time: 12.023 secs
Build step 'Invoke Gradle script' changed build result to SUCCESS
Pushing HEAD to branch remotes/origin/gh-pages at repo origin
Opening connection
Counting objects
Finding sources
Getting sizes
Compressing objects
Writing objects
Finished: SUCCESS