commit | 229fa070c49cb78c10dfda9e813b3702d9bf6e47 | [log] [tgz] |
---|---|---|
author | Neels Hofmeyr <neels@hofmeyr.de> | Fri Oct 27 22:40:30 2017 +0200 |
committer | Neels Hofmeyr <neels@hofmeyr.de> | Fri Oct 27 22:41:57 2017 +0200 |
tree | 0d53dddfa5f7607d3064ce7ae6c1a07a9a221d5b | |
parent | faee5dead683b87102240e8a4ff1f1a053869aeb [diff] [blame] |
jenkins: use osmo-clean-workspace.sh before and after build See osmo-ci change I2409b2928b4d7ebbd6c005097d4ad7337307dd93 for rationale. Depends: I2409b2928b4d7ebbd6c005097d4ad7337307dd93 Change-Id: I99fdd20e7b18c2f4a59a9db35e5efccca6546b77
diff --git a/contrib/jenkins_common.sh b/contrib/jenkins_common.sh index bc4ac65..a6ffe7f 100644 --- a/contrib/jenkins_common.sh +++ b/contrib/jenkins_common.sh
@@ -8,6 +8,8 @@ exit 1 fi +osmo-clean-workspace.sh + verify_value_string_arrays_are_terminated.py $(find . -name "*.[hc]") prep_build() { @@ -16,11 +18,8 @@ cd "$_src_dir" - # a failed 'make distcheck' may leave files without write permissions - chmod -R a+w . - git clean -dxf - # make absolutely sure no src files have modifications - git checkout -f HEAD + # clean again before each build variant + osmo-clean-workspace.sh autoreconf --install --force