Error in build triggered by creating new tag in GitHub

11 views
Skip to first unread message

Danny Sinang

unread,
Jun 28, 2017, 5:41:45 PM6/28/17
to jenkins...@googlegroups.com
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 g...@github.com: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 g...@github.com:MMS/ml-jw-api-lib.git
 > git --version # timeout=10
 > git fetch --tags --progress g...@github.com:MMS/ml-jw-api-lib.git +refs/heads/*:refs/remotes/origin/*
 > git config remote.origin.url g...@github.com: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 g...@github.com:MMS/ml-jw-api-lib.git # timeout=10
Fetching upstream changes from g...@github.com:MMS/ml-jw-api-lib.git
 > git fetch --tags --progress g...@github.com: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


Reply all
Reply to author
Forward
0 new messages