Page 13 of 13 FirstFirst ... 3 11 12 13
Results 121 to 127 of 127

Thread: Automatically download the newest daily build

  1. #121
    Junior Member
    Join Date
    May 2010
    Posts
    8

    Default

    Updating the virus definitions fixed it.

  2. #122
    Senior Member Pazleysox's Avatar
    Join Date
    Feb 2009
    Posts
    162

    Default

    What's going on with this project? My copy stopped working for some reason, and now I can not download a new one.

  3. #123
    Senior Member Theraze's Avatar
    Join Date
    Mar 2010
    Posts
    8,680

    Default

    Code:
    ---------------
    1/5/2017 7:18:27 AM
    Checking http://ci.kolmafia.us/ for the latest version of KoLMafia...
    KoLmafia-17631.jar is the latest version
    Attempting to download http://ci.kolmafia.us/job/Kolmafia/lastSuccessfulBuild/artifact/dist/KoLmafia-17631.jar...
    Successfully downloaded http://ci.kolmafia.us/job/Kolmafia/lastSuccessfulBuild/artifact/dist/KoLmafia-17631.jar
    Copying KoLmafia-17631.jar to KoLmafia-latest.jar
    Deleting old version KoLmafia-17625.jar
    Running KoLmafia-latest.jar...
    Dunno what happened for you. It's still running for me today. More information if you want a suggestion besides redownloading from post 103?

  4. #124
    Senior Member icon315's Avatar
    Join Date
    Nov 2009
    Location
    Kentucky
    Posts
    647

    Default

    Anyone have a copy of the executable? Both links are 404

  5. #125
    Developer
    Join Date
    Aug 2009
    Posts
    2,659

    Default

    Post #103 should still work, supposedly. I'll edit that info into the first post.

  6. #126
    Developer
    Join Date
    Apr 2006
    Posts
    883

    Default

    I haven't really thought about this code in a long time but currently I'm just loading the jenkins api for the last successful build (http://ci.kolmafia.us/job/Kolmafia/l...Build/api/json or http://ci.kolmafia.us/job/Kolmafia/l...lBuild/api/xml) to get the path to the latest jar. For example in python:

    Code:
    import json
    import urllib2
    
    lastUrl = r'http://ci.kolmafia.us/job/Kolmafia/lastSuccessfulBuild'
    data = json.load(urllib2.urlopen(r'%s/api/json' % lastUrl))
    jarUrl = r'%s/artifact/%s' % (lastUrl, data['artifacts'][0]['relativePath'])
    Hope that's helpful.
    Last edited by Rinn; 04-07-2017 at 05:29 AM.

  7. #127
    Junior Member
    Join Date
    May 2017
    Posts
    1

    Default

    Looks like it, thanks!

Similar Threads

  1. Getting the latest daily build
    By matt.chugg in forum Community Support
    Replies: 1
    Last Post: 11-21-2011, 04:19 AM
  2. Bug - Not A Bug Relay Browser won't open in newest Firefox build (6.0.2)
    By maximillian the red in forum Bug Reports
    Replies: 9
    Last Post: 09-14-2011, 01:14 PM
  3. Problems with the daily build
    By linguinelad in forum Unofficial Builds
    Replies: 5
    Last Post: 09-16-2010, 10:41 PM
  4. Using the daily build
    By Jt in forum Community Support
    Replies: 2
    Last Post: 12-06-2007, 01:06 AM
  5. Replies: 1
    Last Post: 06-02-2006, 02:50 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •