jenkinsci / jenkinsci/gitlab-plugin

Jenkins are not able to build tags

Open
#873 12 comments 0 reactions 0 assignees View on GitHub
awaiting feedback
Dominant language
Java
Stars
1.4k
Forks
615
Avg merge
4h 32m
Merged PRs (30d)
10

Description

### Before submitting an issue I have first:

## Issue

### Context
- **Gitlab plugin version**: X1.5.9
- **Gitlab version**: GitLab Enterprise Edition 10.4.3-ee
- **Jenkins version**: X.Y.Z
- **Job type**: Freestyle

### Logs & Traces

> git fetch --tags --progress http://192.168.100.61:12345/Testgruppe/HelloWorld.git +refs/tags/*:refs/remotes/origin/tags/*
skipping resolution of commit refs/tags/v0.0.3, since it originates from another repository
> git rev-parse refs/remotes/origin/refs/tags/v0.0.3^{commit} # timeout=10
> git rev-parse refs/remotes/origin/origin/refs/tags/v0.0.3^{commit} # timeout=10
> git rev-parse origin/refs/tags/v0.0.3^{commit} # timeout=10
ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.
[WARNINGS] Skipping publisher since build result is FAILURE

### Problem description

Jenkins does not build tags when a Trigger was created from GitLab.
However branches works fine. I added +refs/tags/*:refs/remotes/origin/tags/* to the Refspec.
The Jenkins job is triggerd but the job itself does not find the tag.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.