Commit ff5ceb75 authored by zhangdd's avatar zhangdd

set currentVersion

Signed-off-by: default avatarzhangdd <86431843@qq.com>
parent ae808173
......@@ -11,10 +11,8 @@ pipeline {
world = """${sh(returnStatus: true,
script: '"world"')}
"""
currentVersion=readMavenPom().getVersion().replaceAll("(-SNAPSHOT|-RELEASE)", "")
currentVersion="""${sh(returnStatus: true,
script: readMavenPom().getVersion().replaceAll("(-SNAPSHOT|-RELEASE)", ""))}
"""
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment