diff options
author | Oliver Smith <osmith@sysmocom.de> | 2018-09-21 10:29:51 +0200 |
---|---|---|
committer | Oliver Smith <osmith@sysmocom.de> | 2018-09-21 14:59:14 +0200 |
commit | a99a4ef541af13f93eae4eeb0852f97537886c24 (patch) | |
tree | 2c41cc0e80c29686b2e12dd6e380846f3d525f87 /jobs | |
parent | 85c2effd89f2fc83be3a1a7e178c73908976e167 (diff) |
osmo-depcheck: don't use /tmp, better git codeosmith/dependency-check
* replace --gitdir with --workdir and give it a new folder structure:
* git/$repo: downloaded source code
* build/$repo: files created during the build process
* install/: installation prefix
* adjust the jenkins job to use --workdir
* fetch --tags when source exists already
* readable error message for failed git checkout
Change-Id: I06589277b9d54a2af177451cfab2ca1a658b4058
Relates: OS#2642
Diffstat (limited to 'jobs')
-rw-r--r-- | jobs/osmocom-depcheck.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jobs/osmocom-depcheck.yml b/jobs/osmocom-depcheck.yml index f13d4b7..fd2432e 100644 --- a/jobs/osmocom-depcheck.yml +++ b/jobs/osmocom-depcheck.yml @@ -52,13 +52,13 @@ # Build the arguments args="$PROJECTS" args="$args -j 5" - args="$args -g $PWD/DEPCHECK_GITDIR" + args="$args -w $PWD/DEPCHECK_WORKDIR" args="$args -u $GIT_URL_PREFIX" [ "$BUILD" = "true" ] && args="$args -b" [ "$PRINT_OLD_DEPENDS" = "true" ] && args="$args -o" # Run osmo-depcheck - mkdir DEPCHECK_GITDIR + mkdir DEPCHECK_WORKDIR export PYTHONUNBUFFERED=1 scripts/osmo-depcheck/osmo-depcheck.py $args scm: |