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?
精彩评论