Is it possible to output and rename build artifacts from the TeamCity checkout directory (that are not archives)?

前端 未结 3 540
一生所求
一生所求 2021-02-12 22:25

I have gone through the documentation for TeamCity on build artifact outputs

(https://confluence.jetbrains.com/display/TCD8/Configuring+General+Settings#ConfiguringGene

3条回答
  •  轮回少年
    2021-02-12 22:46

    1. Add command line step which will rename the artifact
    ren Release\oldname.exe newname_%build.number%.exe
    
    1. Define artifact as path to the renamed file.
    newname_%build.number%.exe
    

提交回复
热议问题