Last active
August 28, 2020 07:23
-
-
Save Kairo-Dai/c886a62064458df3915d33f61e6afe80 to your computer and use it in GitHub Desktop.
Jenkinsfile获取最后一行
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def mystr = """ | |
asf | |
asdf | |
asdfasdf | |
1123 | |
sssssss | |
""" | |
mystr.tokenize().last() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment