Created
November 5, 2014 02:11
-
-
Save nerd0/8ceb47227015b6b72d38 to your computer and use it in GitHub Desktop.
Jenkins .gitgnore
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
bash -c 'cat << EOF > /var/lib/jenkins/.gitignore | |
* | |
!*.xml | |
!.gitignore | |
!jobs | |
!jobs/.gitignore | |
!jobs/* | |
!jobs/*/* | |
EOF' | |
bash -c 'cat << EOF > /var/lib/jenkins/jobs/.gitignore | |
builds/ | |
workspace/ | |
lastStable | |
lastSuccessful | |
nextBuildNumber | |
modules/ | |
*.log | |
EOF' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment