Skip to content
This repository was archived by the owner on Jan 25, 2022. It is now read-only.

Commit 83f30d6

Browse files
committed
fix maven repository url
1 parent 3dd944f commit 83f30d6

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

ruby-tools/jpi/lib/jenkins/plugin/tools/release.rb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,13 @@ def run
4949
else
5050
Net::HTTP
5151
end
52-
http = proxy.new("maven.jenkins-ci.org",8081)
52+
http = proxy.new("repo.jenkins-ci.org",8081)
5353

5454
puts @snapshot ? "deploying as a snapshot. Run with the --release option to release it for real when you are ready" : "deploying as a release"
5555
puts "Generating POM"
5656
version = @snapshot ? @spec.version+"-SNAPSHOT" : @spec.version
5757
pom = ERB.new(File.read(File.dirname(__FILE__)+"/templates/release-pom.xml.erb")).result(binding)
58-
59-
path = "/content/repositories/#{@snapshot?'snapshots':'releases'}/org/jenkins-ci/ruby-plugins/#{@spec.name}/#{version}/#{@spec.name}-#{version}"
58+
path = "/#{@snapshot?'snapshots':'releases'}/org/jenkins-ci/ruby-plugins/#{@spec.name}/#{version}/#{@spec.name}-#{version}"
6059
req = Net::HTTP::Put.new("#{path}.pom")
6160
req.body = pom
6261
req.basic_auth(cred.user_name,cred.password)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module Jenkins
22
class Plugin
3-
VERSION = "0.4.0"
3+
VERSION = "0.4.1"
44
RUNTIME_VERSION_DEPENDENCY = "0.2.3"
55
end
66
end

0 commit comments

Comments
 (0)