[JIRA] (JENKINS-61517) Gitea plugin cannot work with tags

1 view
Skip to first unread message

arturmon82@gmail.com (JIRA)

unread,
Mar 18, 2020, 8:22:03 PM3/18/20
to jenkinsc...@googlegroups.com
artur mudrykh created an issue
 
Jenkins / Bug JENKINS-61517
Gitea plugin cannot work with tags
Issue Type: Bug Bug
Assignee: Unassigned
Components: gitea-plugin
Created: 2020-03-19 00:21
Environment: java.runtime.name Java(TM) SE Runtime Environment
java.runtime.version 1.8.0_131-b11
Jenkins ver. 2.226
Gitea Plugin 1.2.0
Priority: Major Major
Reporter: artur mudrykh

Tags do not appear automatically after adding them to Git. gitea is configured as an organization, everything else works. When trying to make an assembly based on a tag, an error appears.

Started by user admin
Querying the current revision of tag v0.1.6...
Current revision of tag v0.1.6 is 7620df0f5c3251ab72ea3a9fd8e09ac94a4e069d
Obtained Jenkinsfile from 7620df0f5c3251ab72ea3a9fd8e09ac94a4e069d
Running in Durability level: MAX_SURVIVABILITY
[Pipeline] Start of Pipeline
[Pipeline] node
Running on Jenkins in /var/lib/jenkins/jobs/art_test/jobs/test/branches/v0-1-6.864k5l/workspace
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
Warning: CredentialId "gitea-jenkins-token" could not be found.
Cloning the remote Git repository
Cloning with configured refspecs honoured and with tags
Cloning repository http://038eacc87a51ca05a261...@192.168.200.36:3000/art_test/test.git
 > git init /var/lib/jenkins/jobs/art_test/jobs/test/branches/v0-1-6.864k5l/workspace # timeout=10
Fetching upstream changes from http://038eacc87a51ca05a261...@192.168.200.36:3000/art_test/test.git
 > git --version # timeout=10
 > git fetch --tags --progress -- http://038eacc87a51ca05a261...@192.168.200.36:3000/art_test/test.git +refs/heads/v0.1.6:refs/remotes/origin/v0.1.6 # timeout=10
ERROR: Error cloning remote repo 'origin'
hudson.plugins.git.GitException: Command "git fetch --tags --progress -- http://038eacc87a51ca05a261...@192.168.200.36:3000/art_test/test.git +refs/heads/v0.1.6:refs/remotes/origin/v0.1.6" returned status code 128:
stdout: 
stderr: fatal: Couldn't find remote ref refs/heads/v0.1.6

	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2430)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:2044)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$500(CliGitAPIImpl.java:81)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:569)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:798)
	at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1122)
	at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1167)
	at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:124)
	at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:93)
	at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:80)
	at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:748)
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
[Gitea] Notifying tag build status: FAILURE There was a failure building this commit
[Gitea] Notified
ERROR: Error cloning remote repo 'origin'
Finished: FAILURE
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages