Skip to content

Commit

Permalink
Merge pull request cms-sw#231 from ktf/master
Browse files Browse the repository at this point in the history
Misc cleanups to PR testing.
  • Loading branch information
ktf committed Nov 28, 2014
2 parents d4d4ca2 + 80d1d21 commit 45049f9
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions run-pr-tests
@@ -1,11 +1,15 @@
#!/bin/sh -ex

# Reset kerberos token every time you run.
aklog
kinit cmsbuild@CERN.CH -k -t ~/private/cmsbuild.keytab
# In case we have kerberos and aklog reset token every time you run.
if [ ! X`which aklog` = X ]; then
aklog
fi
if [ ! X`which kinit` = X ]; then
kinit cmsbuild@CERN.CH -k -t ~/private/cmsbuild.keytab
fi

cd "$WORKSPACE"
git clone git@github.com:$CMS_GIT_TOOLS_REPO/cms-git-tools
git clone https://github.com/$CMS_GIT_TOOLS_REPO/cms-git-tools

### this is for triggering the comparison with the baseline
PULL_REQUEST_NUMBER=$PULL_REQUEST
Expand Down

0 comments on commit 45049f9

Please sign in to comment.