VirtualTam's bookmarks
8 bookmarks found
Page 1 of 1
-
Jenkins Job DSL Plugin
2018-09-25 - https://github.com/jenkinsci/job-dsl-plugin/wiki
- https://stackoverflow.com/questions/47206215/environmentvariables-not-working-for-jenkins-job-dsl-and-pipeline-jobs
- https://stackoverflow.com/questions/33792633/using-jenkins-job-dsl-to-set-polling-ignores-commits-in-certain-paths-for-git
- https://github.com/jenkinsci/job-dsl-plugin/wiki/User-Power-Moves
- https://stackoverflow.com/questions/43699190/seed-job-asks-for-script-approval-in-jenkins
- https://groups.google.com/forum/#!msg/job-dsl-plugin/jueturR7sCo/2BCz2rRWBAAJ
- https://github.com/Praqma/JenkinsAsCodeReference
-
Git - Split / shrink a repository
2014-09-05 1# first, clone the repository 2git clone REPO REPO2 3cd REPO2 4# remove all unneeded files from this version 5git filter-branch -f --prune-empty --index-filter "git rm --cached --ignore-unmatch FILES_AND_DIRS_TO_DELETE" 6git gc --aggressive --prune=1day 7git fsck --unreachable 8# refresh the remote 9git remote rm origin 10git remote add origin ssh://HOST/REPO 11# broforce push! 12git push -f origin master 13 14# cleanup our original repository 15cd REPO 16git filter-branch -f --prune-empty --index-filter "git rm --cached --ignore-unmatch OTHER_FILES_AND_DIRS_TO_DELETE" 17git gc --aggressive --prune=1day 18git fsck --unreachable 19# broforce push! 20git push -f origin master
Page 1 of 1