Hi,

Mode: Pipeline script from SCM


I tried to change working example to take a TAG as String parameter
and to use *${TAG}* for the Branch using the Pipeline job in Jenkins 2.x
When trying this I get this:

 > git rev-parse origin/${TAG}^{commit} # timeout=10
 > git rev-parse ${TAG}^{commit} # timeout=10
ERROR: Couldn't find any revision to build. Verify the repository and branch 
configuration for this job.


It looks to me that the variable TAG is not evaluated. Using "master" instead
of "${TAG}" works fine.


Bug? I guess so.


Kind Regards,

Thomas


PS: I tried to register at Jenkins JIRA but it's a nightmare. Either the 
captcha popup appears
after hours, or it timeouts or I get null pointer exception after submitting or 
whatever.

After 20 minutes I gave up. So don't ask me to write a ticket please ;)

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/bfea1f0d-b9e9-4be7-8aff-c00aece09876%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to