You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Richard Zowalla (Jira)" <ji...@apache.org> on 2022/04/15 08:45:00 UTC

[jira] [Resolved] (TOMEE-3908) CI Job für TomEE Site Publish is failing

     [ https://issues.apache.org/jira/browse/TOMEE-3908?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard Zowalla resolved TOMEE-3908.
------------------------------------
    Fix Version/s: 9.0.0-M8
                   8.0.12
       Resolution: Fixed

I did some manual intervention to make it work again, i.e. sync with ASF gitbox.

As the tomee-site-pub is automatically generated, the only source of truth is the generated content from the CI/Job.
You can download the related ZIP file of the workspace.

Next, replicate the Shell script on your local machine and execute a build. Copy the files you downloaded earlier to the "tomee-sit-pub" folder. 
Add GitHub as remote repository and conduct a push. 

That should fix the issue.

> CI Job für TomEE Site Publish is failing
> ----------------------------------------
>
>                 Key: TOMEE-3908
>                 URL: https://issues.apache.org/jira/browse/TOMEE-3908
>             Project: TomEE
>          Issue Type: Bug
>          Components: Website
>    Affects Versions: 8.0.11, 8.0.12
>            Reporter: Richard Zowalla
>            Assignee: Richard Zowalla
>            Priority: Major
>             Fix For: 9.0.0-M8, 8.0.12
>
>
> TomEE site publish fails in CI as it cannot (force) push due to file changes, which differ between the repo and the build.
> Needs investigation
>  
> + git push -f origin asf-site
> remote: To github:apache/tomee-site-pub.git        
> remote:  ! [rejected]            edefa2f1f3272ba365f6f42cc53cfbd8e9ec62ed -> asf-site (fetch first)        
> remote: error: failed to push some refs to 'git@github:apache/tomee-site-pub.git'        
> remote: hint: Updates were rejected because the remote contains work that you do        
> remote: hint: not have locally. This is usually caused by another repository pushing        
> remote: hint: to the same ref. You may want to first integrate the remote changes        
> remote: hint: (e.g., 'git pull ...') before pushing again.        
> remote: hint: See the 'Note about fast-forwards' in 'git push --help' for details.        
> remote: Syncing refs/heads/asf-site...        
> remote: Could not sync with GitHub:         
> remote: Error running update hook: /x1/gitbox/hooks/update.d/01-sync-repo.py        
> remote: error: hook declined to update refs/heads/asf-site        
> To 
> [https://gitbox.apache.org/repos/asf/tomee-site-pub.git]
>  ! [remote rejected]     asf-site -> asf-site (hook declined)
> error: failed to push some refs to '
> [https://gitbox.apache.org/repos/asf/tomee-site-pub.git]
> '
> Build step 'Execute shell' marked build as failure
> Finished: FAILURE



--
This message was sent by Atlassian Jira
(v8.20.1#820001)