开发者

How to set Jenkinsfile string parameter "defaultValue" from an S3 bucket file?

开发者 https://www.devze.com 2022-12-07 18:00 出处:网络
I\'m trying to implement a Jenkins pipeline for an application build. So, I have the version file saved in an S3 bucket file (eg: s3://my-bucket/version.txt).

I'm trying to implement a Jenkins pipeline for an application build. So, I have the version file saved in an S3 bucket file (eg: s3://my-bucket/version.txt).

This file only contains the current build version such as 1.0.0.

Is it possible to get this value and set it to a Jenkinsfile string defaultValue option?

开发者_高级运维

Or else is there an alternative option to achieve this?

0

精彩评论

暂无评论...
验证码 换一张
取 消