greenkeeperio / greenkeeper-lockfile

:lock: Your lockfile, up to date, all the time
https://greenkeeper.io
182 stars 72 forks source link

Jenkins w/ Jenkinsfile pipeline not working properly #68

Closed chris-codaio closed 7 years ago

chris-codaio commented 7 years ago

It reports Only running on first push of a new branch, even on the first push of the branch.

I debugged a bit and ran the commands I see in git_helper manually:

$ git for-each-ref '--format=%(refname)' refs/ | grep /PR-15904
refs/heads/PR-15904
refs/remotes/origin/PR-15904
$ notArg=$(git for-each-ref '--format=%(refname)' refs/ | grep -v /PR-15904)
...
refs/remotes/origin/another-update
refs/remotes/origin/greenkeeper/aws-sdk-2.125.0
refs/remotes/origin/greenkeeper/file-loader-1.1.0
refs/remotes/origin/greenkeeper/file-loader-1.1.1
refs/remotes/origin/greenkeeper/file-loader-1.1.2
refs/remotes/origin/greenkeeper/file-loader-1.1.3
refs/remotes/origin/greenkeeper/file-loader-1.1.4
refs/remotes/origin/stuff
refs/remotes/origin/things
...
$ git log refs/heads/PR-15904 --oneline --not "${notArg}"

No output from this command

janl commented 7 years ago

Closing in favour of #73