Created
August 1, 2019 20:11
-
-
Save ksoviero-medici/461533a4c041e08be2eb2787ece02212 to your computer and use it in GitHub Desktop.
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
jobs: | |
- script: | | |
organizationFolder('medici') { | |
displayName('Medici') | |
organizations{ | |
github{ | |
repoOwner('medici-labs') | |
credentialsId('github-token') | |
traits{ | |
gitHubTagDiscovery() | |
gitHubBranchDiscovery { | |
strategyId(3) | |
} | |
originPullRequestDiscoveryTrait{ | |
strategyId(2) | |
} | |
} | |
} | |
} | |
orphanedItemStrategy { | |
discardOldItems { | |
daysToKeep(1) | |
numToKeep(1) | |
} | |
} | |
projectFactories { | |
workflowMultiBranchProjectFactory { | |
scriptPath('Jenkinsfile') | |
} | |
} | |
triggers { | |
periodicFolderTrigger { | |
interval('* * * * *') | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment