You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@yetus.apache.org by "Sean Busbey (JIRA)" <ji...@apache.org> on 2017/03/05 04:10:32 UTC

[jira] [Commented] (YETUS-485) Yetus run is failing on branch after rebase/force push

    [ https://issues.apache.org/jira/browse/YETUS-485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15896050#comment-15896050 ] 

Sean Busbey commented on YETUS-485:
-----------------------------------

{code}
-      ${GIT} pull --rebase
+      ${GIT} fetch
+      ${GIT} reset --hard FETCH_HEAD
+      ${GIT} clean -df
{code}

What does the {{clean -df}} get us that the {{reset --hard} doesn't?

> Yetus run is failing on branch after rebase/force push
> ------------------------------------------------------
>
>                 Key: YETUS-485
>                 URL: https://issues.apache.org/jira/browse/YETUS-485
>             Project: Yetus
>          Issue Type: Bug
>    Affects Versions: 0.5.0
>         Environment: Apache Jenkins build server
>            Reporter: Subru Krishnan
>            Priority: Critical
>         Attachments: YETUS-485.01.patch
>
>
> I rebased YARN-2915 with trunk and did a force push following which all Yetus runs fails as the local enlistment in the jenkins slave is outdated: https://builds.apache.org/job/PreCommit-YARN-Build/14775/console. Looked at it with [~chris.douglas] and [~asuresh]'s help and we decided to directly use the commit hash based on https://github.com/apache/yetus/blob/master/precommit/test-patch.sh#L1356-L1368 but even that didn't work out as yetus does a pull after the checkout: https://builds.apache.org/job/PreCommit-YARN-Build/14800/console.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)