lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dawid Weiss <dawid.we...@gmail.com>
Subject Re: [JENKINS] Lucene-Artifacts-5.x - Build # 1088 - Failure
Date Wed, 17 Feb 2016 19:59:25 GMT
> I will check the Jenkins Config of this Job, maybe it is missing the extra GIT checkout
option ("git reset").

git reset actually only resets the tracked files that differ from the
head. What you're looking for is two things:

# resets any staged changes (not that there should be any on jenkins,
but for local repos there may be)
git reset --hard
# clean ANY files not tracked in the repo -- this effectively restores
pristine state.
git clean -xfd .

Dawid

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message