OLMIS-6313: Adjust retention of Jenkins builds on development branches

Activity

FEOLMIS-3822 2

Keyboard shortcuts  
  • Summarize the review outcomes (optional)
     
    #permalink

    Details

    Warning: no files are visible, they have all been filtered.
    Participant Role Time Spent Comments Latest Comment
    Author 2m 2 Same settings set in all repositories
    Reviewer - 0% reviewed      
    Reviewer - 0% reviewed      
    Reviewer - Complete 6m    
    Reviewer - 0% reviewed      
    Reviewer - Complete 5m    
    Total   12m 2  
    #permalink

    Objectives

    All of the builds on the development branches are kept on the Jenkins server, with the same settings as the master branch. This doesn't seem necessary though since development branches are short-lived and we usually don't need any history after a few days. At this point though, the outputs and the builds from the last ~15 builds from any dev branch are kept forever on our server, taking a lot of space (a single build stores an output of 150MB+).

    We should adjust our retention for builds on development branches. Some ideas:

    • Only keep the builds for development branch for 7 days
    • Remove the development branch from Jenkins altogether after 7 days of inactivity
    • Only keep 2-3 latest builds from the development branch
    • Limit what the development branches store (perhaps there are some service jars built and kept that we don't need there)


    Make sure that those changes don't affect release branches and the master branch configuration - everything should work as it works now f...

    Branches in review

    #permalink

    Issues Raised From Comments

    Key Summary State Assignee
    #permalink

    General Comments

    Łukasz Lewczyński

    Same settings set in all repositories

    Same settings set in all repositories

    /Jenkinsfile Changed
    Open in IDE #permalink
    /Jenkinsfile Changed
    /Jenkinsfile Changed
    /Jenkinsfile Changed
    /Jenkinsfile Changed
    /Jenkinsfile Changed
    /Jenkinsfile Changed
    /Jenkinsfile Changed
    /Jenkinsfile Changed
    /Jenkinsfile Changed
    /Jenkinsfile Changed
    /Jenkinsfile Changed 1
    /Jenkinsfile Changed
    /Jenkinsfile Changed
    /Jenkinsfile Changed
    /Jenkinsfile Changed
    /Jenkinsfile Changed
    /Jenkinsfile Changed
    /Jenkinsfile Changed
    /Jenkinsfile Changed
    /Jenkinsfile Changed
    /Jenkinsfile Changed

    Review updated: Reload | Ignore | Collapse

    You cannot reload the review while writing a comment.

    Log time against