How to use file parameter in jenkins

前端 未结 4 1037
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-03 14:26

I am executing parameterised build in jenkins to count no. of lines in file which has 1 file parameter. Its file location is pqr. The name of the script file is

4条回答
  •  借酒劲吻你
    2020-12-03 14:46

    If it's to do with Free-Style job & if your configuration looks similar to this - https://i.stack.imgur.com/vH7mQ.png then you can run simply do sh linecount.sh ${pqr} to get what you are looking for?

提交回复
热议问题