Skip to content

Commit

Permalink
TRAVIS_BUILD_ID is not unique enough. Use JOB_NUMBER instead
Browse files Browse the repository at this point in the history
  • Loading branch information
kmayer committed Oct 23, 2013
1 parent 6961707 commit 414eb35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/support/travis-key-cleanup.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/sh

heroku keys:remove travis${TRAVIS_BUILD_ID}@example.com
heroku keys:remove travis-${TRAVIS_JOB_NUMBER}@example.com
2 changes: 1 addition & 1 deletion spec/support/travis-ssh-keygen.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/sh

ssh-keygen -f ~/.ssh/id_rsa -C travis${TRAVIS_BUILD_ID}@example.com -N ''
ssh-keygen -f ~/.ssh/id_rsa -C travis-${TRAVIS_JOB_NUMBER}@example.com -N ''

0 comments on commit 414eb35

Please sign in to comment.