Re: Get POM Version from Jenkins Pipeline

2018-02-05 Thread Hongguo An
Thanks, so I need to do it this way? { pipeline{ node{ def pom = readMavenPom() def version=pom.version agent any tools { maven '3.x' } stages{} } } }? -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group

Get POM Version from Jenkins Pipeline

2018-02-03 Thread Hongguo An
Hi: I am using Jenkins 2.104, I am using pipeline from Jenkinsfile. What is the right way to get POM Version? I have the pipeline-utility-steps-plugin installed. If I using { pipeline{ environment { ECRURL = 'https://353705521121.dkr.ecr.us-east-1.amazonaws.com'

RE: Help for Maven Metadata Plugin

2016-03-29 Thread Hongguo An
meters drop-down. SORRY for the "inconvenience" :-( Kind regards Marc On Monday, 14 March 2016 04:23:33 UTC+1, Hongguo An wrote: Hi: I can't make Maven Metadata Plugin work, I installed it, but when I try to add a parameter, I don't see "List maven artifact vers

Help for Maven Metadata Plugin

2016-03-13 Thread Hongguo An
Hi: I can't make Maven Metadata Plugin work, I installed it, but when I try to add a parameter, I don't see "List maven artifact versions from the drop-down. Do I need to setup anything first? Thanks -- You received this message because you are subscribed to the Google Groups "Jenkins