I'm using an hook in my GIT repository to trigger a build in Jenkins. I'm using
curl http://<IP>/jenkins/job/Test/buildWithParameters?token=mytoken&PUSHEDGITTAG=0000
I created a job Test and I enabled the parametrized build using a string parameter called PUSHEDGITTAG
. I'm using a simple build with shell step:
echo ${PUSHEDGITTAG}
The job is actually triggered but the variable is always empty. How come?