Hi, I have a Jenkins job that gets triggered by creating a new release or tag in GitHub. It is configured like this :
refspec : +refs/tags/*:refs/remotes/origin/tags/* branch specifier : */refs/tags/* My problem is, the build it triggers fails with this error message : Wiping out workspace first. Cloning the remote Git repository Cloning repository [email protected]:MMS/ml-jw-api-lib.git > git init /var/lib/jenkins/workspace/ML/JWATCH/deploy-ml-jw-api-lib # timeout=10 Fetching upstream changes from [email protected]:MMS/ml-jw-api-lib.git > git --version # timeout=10 > git fetch --tags --progress [email protected]:MMS/ml-jw-api-lib.git +refs/heads/*:refs/remotes/origin/* > git config remote.origin.url [email protected]:MMS/ml-jw-api-lib.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url [email protected]:MMS/ml-jw-api-lib.git # timeout=10 Fetching upstream changes from [email protected]:MMS/ml-jw-api-lib.git > git fetch --tags --progress [email protected]:MMS/ml-jw-api-lib.git +refs/tags/*:refs/remotes/origin/tags/* ... Seen branch in repository origin/tags/v9 Seen 57 remote branches > git tag -l # timeout=10 ... > git rev-parse refs/tags/v4^{commit} # timeout=10 > git rev-parse refs/tags/v5^{commit} # timeout=10 ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job. [WS-CLEANUP] Deleting project workspace...[WS-CLEANUP] done Finished: FAILURE Any idea on how to fix this ? Am running Jenkins 2.46.2 . Regards, Danny -- 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/CAPKs-UJq-tFQiWtWyM6%3DWXoeWXfbc2iV%3DQr2Mhquv4SnjNgQag%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
