Same issue, I don't know how to get  $POM_VERSION 

On Monday, February 6, 2017 at 7:24:30 PM UTC+7, alo...@test-cloud.com 
wrote:
>
>
> I am trying to execute shell script with Promotion Build plugin to get 
> info about maven properties (POM_VERSION, POM_ARTIFACTID).
>
> Trouble is values for Jenkins environment variables are shown, but info 
> about maven properties are shown empty. Projects where I am testing are MVN 
> projects.
>
> echo $POM_ARTIFACTID
>  
> echo $POM_VERSION 
>
> echo $PROMOTED_JOB_NAME 
> tests 
> echo $JOB_NAME 
> tests/promotion
>
> These are the versions I am using:
>
>    - Jenkins 2.43
>    - Maven Project Plugin 2.14
>    - Promoted Builds Plugin 2.28.1
>
> Anyone knows some solution for this?
>

-- 
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/31a9ca93-2b44-45c7-ab86-1a28a5058096%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to