Simple collection of Groovy scripts to help me maintain some Jenkins systems.
See also https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+Script+Console
Please comment & let me know if you have a fork / fixes you'd like to include.
Simple collection of Groovy scripts to help me maintain some Jenkins systems.
See also https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+Script+Console
Please comment & let me know if you have a fork / fixes you'd like to include.
| default.target.wants/ | |
| nexus |
| wget http://download.mono-project.com/repo/xamarin.gpg | |
| sudo apt-key add xamarin.gpg | |
| echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee --append /etc/apt/sources.list.d/mono-xamarin.list | |
| sudo apt-get update | |
| sudo apt-get install mono-complete | |
| sudo certmgr -ssl -m https://go.microsoft.com | |
| sudo certmgr -ssl -m https://nugetgallery.blob.core.windows.net | |
| sudo certmgr -ssl -m https://nuget.org | |
| mozroots --import --sync |
I've known people at nodejitsu for years, since before the company even existed. I still consider many of them friends. That said, somebody over there has lost their mind.
Trademarks are an important part of open source. They protect the integrity of the trust that is built by any project. A classic example of why this is the case is Firefox. Suppose that a malware producer takes the Firefox codebase, which is free and open source, packages up their malware with it and then releases it as "Firefox". Then they buy search advertising and suddenly their bad and malicious version of Firefox is the first result on search engines across the web. This is clearly a bad thing for Firefox and open source everywhere, but what can Mozilla do to protect their community of users?
They can't enforce a software license since the use is permitted under the Mozilla Public License. They can, however, enforce on these hypothetical bad actors using their trademark on the word "Fi
| #!/usr/bin/env python | |
| """ | |
| NOTE: | |
| This gist has been moved to EZmomi: | |
| https://github.com/snobear/ezmomi | |
| Give it a star or fork. Contributions are more than welcome. I'm hoping it will become an easy cli tool for | |
| common VMware tasks. |
| # check if job exists | |
| curl -XGET 'http://jenkins/checkJobName?value=yourJobFolderName' --user user.name:YourAPIToken | |
| # with folder plugin | |
| curl -s -XPOST 'http://jenkins/job/FolderName/createItem?name=yourJobName' --data-binary @config.xml -H "Content-Type:text/xml" --user user.name:YourAPIToken | |
| # without folder plugin | |
| curl -s -XPOST 'http://jenkins/createItem?name=yourJobName' --data-binary @config.xml -H "Content-Type:text/xml" --user user.name:YourAPIToken | |
| # create folder |
| gem 'angularjs-rails' | |
| gem 'chart-js-rails' |