Hi,
I would like to save the build file (ipa and apk file) with unique name (like current date+new build number), build number should be reset every day based on Jenkins job like
20190209.1
20190209.2
20190209.3
20190209.4
20190210.1
20190210.2
20190210.3
20190210.4
I tried in build name setter plugin but couldn't reset build number every day.
This functionality is available in TFS like $(date:yyyyMMdd)$(rev:.r).
Please suggest me how to implement this approach in jenkins job.
Regards,
Pradeep
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/a58984b7-c3a6-45bd-bc56-b3aaef831fc3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f1c24e3a-a0c4-42a7-9c54-bc4575c4b81d%40googlegroups.com.
def runWrapper = selectRun job: 'pipeline-test', selector: permalink('lastBuild') echo runWrapper.getNumber().toString()echo runWrapper.getStartTimeInMillis().toString()