Git Product home page Git Product logo

djs's People

Contributors

brownms avatar trevershick avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

brownms

djs's Issues

Getting double slashes (//) with the default djsrc configuration

I followed the readme and used the suggested configuration:

# the Jenkins URL
url = "https://jenkins.local"

# the first part of the Jenkins URL path to my builds
base = "/job/MyProject"

# download them all here:
destination = "/Users/paolodm/ImportXml"

I am getting double slashes after the hostname, jenkins.local//:

Resolved URL: https://jenkins.local//job/MyCompany/job/MyProject/job/develop/lastSuccessfulBuild/artifact/build-test/dist/MyProject.xml

I was able to fix this by removing the first / in base:

base = "job/MyProject"

Ideally, the program should be able to course correct whether or not the user provides a slash at the end.

use a 2-4 digit 0 padded number for the filename on output

sort order is messed up
/Users/trever.shick/MyCorp/xxx-1466-1.xml
/Users/trever.shick/MyCorp/xxx-1466-23.xml
/Users/trever.shick/MyCorp/xxx-1466-3.xml

it should zero pad the build number
/Users/trever.shick/MyCorp/xxx-1466-0001.xml
/Users/trever.shick/MyCorp/xxx-1466-0023.xml
/Users/trever.shick/MyCorp/xxx-1466-0003.xml

the number of zeros should be configurable by branch maybe with a global option as well.
padding = 2 #global
padding.master = 4 #padding count for 'master'

Abbreviated identifiers are not being added to the output file name

/Users/trever.shick/MyCorp/xxx-1466-23.xml was pulled using the 'latest' build identifier but it should be /Users/trever.shick/MyCorp/xxx-1466-23-lt.xml using lt to flag as 'pulled by latest'

whether or not this abbreviation is added should be configurable adn default to 'on'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.