maven - Getting the current release version from Jenkins and pass it as a parameter -


i new devops , jenkins , want ask something. i'll try explain need hoping helpful suggestions you, here start :

to perform maven release, need specify version of current release in pom.xml file

<carbon.appmgt.version>${version.release}</carbon.appmgt.version> 

to so, using :

-darguments='-dversion.release=value' 

in goals , option input in build section image shows

now problem want jenkins put current release version me in place of value


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -