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
# Sets the repository URL based on the given repository. | |
# Valid uses: | |
# * uses_repository :github => 'me/my-plugin' | |
# * uses_repository :github => 'my-plugin' -- Implies hosting under the | |
# jenkinsci organization. | |
# * uses_repository :git => 'https://code.google.com/p/my-plugin' | |
# * uses_repository :svn => 'https://svn.jenkins-ci.org/trunk/hudson/plugins/my-plugin' | |
def uses_repository(opts) | |
#impl | |
end |
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
import hudson.Launcher; | |
import hudson.Extension; | |
import hudson.util.FormValidation; | |
import hudson.model.AbstractBuild; | |
import hudson.model.BuildListener; | |
import hudson.model.AbstractProject; | |
import hudson.tasks.Builder; | |
import hudson.tasks.BuildStepDescriptor; | |
import net.sf.json.JSONObject; | |
import org.kohsuke.stapler.DataBoundConstructor; |
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
# Hack to avoid "allocator undefined for Proc" issue when unpacking Gems: | |
# gemspec provided by Jeweler uses Rake::FileList for files, test_files and | |
# extra_rdoc_files, and procs cannot be marshalled. | |
# Jeweler Issue GH-73 | |
# Workaround by Alex Coles (myabc) | |
def gemspec | |
@clean_gemspec ||= eval("#{Rake.application.jeweler.gemspec.to_ruby}") # $SAFE = 3\n | |
end |
NewerOlder