Created
June 24, 2019 19:21
-
-
Save ipcrm/6051c0560719dbe84e3b7fd23540acbe to your computer and use it in GitHub Desktop.
tjhiongs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const hasJenkinsfile: PredicatePushTest = predicatePushTest( | |
"hasJenkinsfile", | |
async p => { | |
const foundNumber = await projectUtils.countFiles(p, "**/Dockerfile"); | |
return foundNumber !== 0; | |
}, | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment