Update changelog generator to point to new jenkins.
This commit is contained in:
parent
2e1aa99f54
commit
c40499ab05
2 changed files with 3 additions and 3 deletions
|
@ -26,7 +26,7 @@ class PreemptiveBasicAuthHandler(urllib2.BaseHandler):
|
|||
|
||||
def read_url(url):
|
||||
handler = PreemptiveBasicAuthHandler()
|
||||
handler.add_password(None, 'jenkins.minecraftforge.net:81', 'console_script', 'fd584bffa72fcac12181f37f80001200')
|
||||
handler.add_password(None, 'ci.jenkins.minecraftforge.net', 'console_script', 'dc6d48ca20a474beeac280a9a16a926e')
|
||||
file = urllib2.build_opener(handler).open(url)
|
||||
data = file.read()
|
||||
file.close()
|
||||
|
@ -110,4 +110,4 @@ def make_changelog(job_path, target_build, change_file, current_version=None):
|
|||
file.close()
|
||||
|
||||
if __name__ == '__main__':
|
||||
make_changelog("http://jenkins.minecraftforge.net:81/job/minecraftforge/", 70000, 'changelog.txt', 'pinecone')
|
||||
make_changelog("http://ci.jenkins.minecraftforge.net/job/minecraftforge/", 70000, 'changelog.txt', 'pinecone')
|
|
@ -116,7 +116,7 @@ def main():
|
|||
if not options.skip_changelog:
|
||||
changelog_file = 'target/minecraftforge-changelog-%s.txt' % (version_str)
|
||||
try:
|
||||
make_changelog("http://jenkins.minecraftforge.net:81/job/minecraftforge/", build_num, changelog_file, version_str)
|
||||
make_changelog("http://ci.jenkins.minecraftforge.net/job/minecraftforge/", build_num, changelog_file, version_str)
|
||||
except HTTPError, e:
|
||||
print 'Changelog failed to generate: %s' % e
|
||||
options.skip_changelog = True
|
||||
|
|
Loading…
Reference in a new issue