[JIRA] (JENKINS-61258) Gitea-plugin cannot build tags

5 views
Skip to first unread message

christoph.gritschenberger@gmail.com (JIRA)

unread,
Feb 27, 2020, 10:06:02 AM2/27/20
to jenkinsc...@googlegroups.com
Christoph Gritschenberger created an issue
 
Jenkins / Bug JENKINS-61258
Gitea-plugin cannot build tags
Issue Type: Bug Bug
Assignee: Unassigned
Components: gitea-plugin
Created: 2020-02-27 15:05
Environment: java.runtime.name OpenJDK Runtime Environment
java.runtime.version 1.8.0_242-b08
JENKINS_VERSION 2.204.2
Gitea-plugin 1.2.0
Priority: Minor Minor
Reporter: Christoph Gritschenberger

When configuring an organization with Behaviours - Discover Tags, and adding a Build-Strategy for tgs, the discovered tags cannot be built with this error.
hudson.plugins.git.GitException: Command "git fetch --tags --progress --depth=1 – https://<gitea>/project.git +refs/heads/0.1.4.test:refs/remotes/origin/0.1.4.test" returned status code 128:
stdout:
stderr: fatal: Couldn't find remote ref refs/heads/0.1.4.test
I think the command should be something like:
git fetch --tags --progress – https://<gitea>/project.git +refs/tags/0.1.4.test:refs/tags/0.1.4.test

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo

christoph.gritschenberger@gmail.com (JIRA)

unread,
Feb 27, 2020, 10:06:02 AM2/27/20
to jenkinsc...@googlegroups.com
Christoph Gritschenberger updated an issue
When configuring an organization with Behaviours - Discover Tags, and adding a Build-Strategy for tgs, the discovered tags cannot be built with this error.
{code:java}
hudson.plugins.git.GitException: Command "git fetch --tags --progress --depth=1 -- [ https://<gitea>/project.git |https://gitea.cca.io/cca/bic.git] +refs/heads/0.1.4.test:refs/remotes/origin/0.1.4.test" returned status code 128:

stdout:
stderr: fatal: Couldn't find remote ref refs/heads/0.1.4.test
{code}

I think the command should be something like:
{code:java}
git fetch --tags --progress -- [ https://<gitea>/project.git |https://bitbucket.org/controlcenterapps/caps.git] +refs/tags/0.1.4.test:refs/tags/0.1.4.test
{code}

christoph.gritschenberger@gmail.com (JIRA)

unread,
Feb 27, 2020, 10:06:03 AM2/27/20
to jenkinsc...@googlegroups.com
Christoph Gritschenberger updated an issue
When configuring an organization with Behaviours - Discover Tags, and adding a Build-Strategy for tgs tags , the discovered tags cannot be built with this error.
{code:java}
hudson.plugins.git.GitException: Command "git fetch --tags --progress --depth=1 – https://<gitea>/project.git +refs/heads/0.1.4.test:refs/remotes/origin/0.1.4.test" returned status code 128:

stdout:
stderr: fatal: Couldn't find remote ref refs/heads/0.1.4.test
{code}
I think the command should be something like:
{code:java}
git fetch --tags --progress – https://<gitea>/project.git +refs/tags/0.1.4.test:refs/tags/0.1.4.test
{code}
Reply all
Reply to author
Forward
0 new messages