[Python] How to create a file inside a Jenkins job that can be used by another Jenkins job

Discussão em 'Python' iniciado por Stack, Fevereiro 19, 2025.

  1. Stack

    Stack Membro Participativo

    I have a daily report that is produced by running 2 Jenkins jobs. The first job creates a snapshot file and stores it on a file share. The second job grabs that file on the file share, retrieves other data and creates a report. Our file shares are going away soon though and now I need to figure out a different way to store this snapshot and allow the second job to retrieve it.

    This application is written in python.

    Is there a way to create the snapshot file in the first job's Jenkins workspace then have the second Jenkins job retrieve the snapshot file from the first job?

    I would appreciate any help here.

    I haven't tried anything yet as I know no idea how to even approach this.

    Continue reading...

Compartilhe esta Página