Questions tagged [gerrit-trigger]

Use this tag for unresolved issues using the jenkins's Gerrit Trigger plugin

Jenkins Plugin, created in 2010 and is still updating releases every month (or less)

It's used for integrating Gerrit:

This plugin integrates Jenkins to Gerrit code review for triggering builds when a "patch set" is created.

Notice it has a required dependency - Structs v.1.1

Jenkins plugin: https://plugins.jenkins.io/gerrit-trigger

Jenkins Wiki: https://wiki.jenkins.io/display/JENKINS/Gerrit+Trigger

Gerrit: https://www.gerritcodereview.com/

Structs: https://plugins.jenkins.io/structs

131 questions
0
votes
2 answers

Sonar Gerrit plugin not reporting results

We utilize the pipeline and after the build completes successfully we are running the following: bat "mvn sonar:sonar -B -s ${buildSettings} -Dsonar.analysis.mode=preview -Dsonar.skipDesign=true…
0
votes
1 answer

Error java.nio.file.FileSystemException occured on installing gerrit trigger in jenkins

I'm completely stuck with Gerrit Trigger install. The Gerrit trigger plugin version is 2.27.2 in Jenkins plugin manager. please refer to the error message as below the java.exe process is necessary for Jenkins service, so I can't end it. Do you…
Y.Gao
  • 1
  • 3
0
votes
0 answers

In a Hook, pull a diff for the first commit in a pushed branch against the SHA it was created against

I have on the surface what appears to be a simple issue to handle but under the covers things get sticky quick. I am still at the straw man stage so there isn't any functional code to share. The Desired Behavior: We attach diffs for commits to our…
JonE
  • 1
0
votes
1 answer

Long rebase using gerrit

Our project is multi-module maven project. This project is dependent on another multi-module maven project. The relationship of poms (both aggregation and inheritance wise) is…
Mukund Jalan
  • 1,145
  • 20
  • 39
0
votes
1 answer

Jenkins fetches correct branch but doesn't continue building

In my setup I want to combine a local git repository with gerrit as code review tool and Jenkins for automatic reviewing purposes. Git and Gerrit are working properly but Jenkins is making some trouble. What is working so far: I make a commit which…
Dani_h
  • 5
  • 2
0
votes
1 answer

Jenkins Query and Trigger Gerrit Patches

I am using Jenkins 'Gerrit Trigger' to configure if there is any patchset uploaded to Gerrit server, then the Jenkins job will be triggered. But unfortunately, there is some issue that some of the patchsets are not being triggered. I tried to use…
IAMbeginner
  • 269
  • 1
  • 3
  • 14
0
votes
0 answers

gerrit-trigger server cannot remove as server name has https://

when I create new server for gerrit trigger, I accidentally typed name as https://x.x.x.x:8080. After saving it, I cannot open edit page of this server or remove it on http://localhost:8080/jenkins/gerrit-trigger/ page. How can I remove this server…
0
votes
0 answers

Gerrit push to new branch does not trigger Jenkins job

I have a very peculiar problem on my Jenkins. Gerrit trigger works on first master branch usually. When I create a new branch and push something to it, the build is not triggered at all. Even when I do Query and Gerrit trigger patch it does not…
0
votes
0 answers

Gerrit trigger does not comments automaticly - error from jenkins: The url to submit to is not valid

I am trying to figure out why Gerrit Trigger in Jenkins does not report back to Gerrit output from job (leave comment). Job is triggered by gerrit,proper git change is used in build,job completes,no error in build console. Using ssh -p $GERRIT_PORT…
jozefow
  • 626
  • 3
  • 14
0
votes
0 answers

gerrit jenkins integration issue by using sonar gerrit plugin

Gerrit-Trigger plugin is able to post comment on Gerrit dashboard , but sonar-gerrit plugin is not posting comments and getting error depicted below: Gerrit-Trigger plugin:2.23 Gerrit:2.7 Sonar-Gerrit plugin:2.0 sonarQube: 5.6 Jenkins:2.32 Jenkins…
0
votes
1 answer

Gerrit trigger can't see my SSH Keyfile on Windows

Gerrit trigger returns "C:\Windows\System32\config\systemprofile.ssh\id_rsa" does not exist. However the file exists, Jenkins can clone repos using it. This is on Windows server 2016
Filip Stefanov
  • 800
  • 3
  • 10
  • 18
0
votes
1 answer

Can Gerrit trigger be configured for maven project

I have set up Gerrit server on SERVER_GERRIT. I have jenkins running on SERVER_JENKINS. I have installed Gerrit trigger on SERVER_JENKINS and done required settings on SERVER_GERRIT for jenkins user. I have configured a MAVEN job to build git repo…
AartiD
  • 1
  • 1
0
votes
1 answer

Jenkins Gerrit Trigger plugin's feature "Block build until replication is complete" dose not work

I want to pull code from Gerrit slave, there is a feature of Jenkins Gerrit Trigger plugin called "Block build until replication is complete", But it seems not work, I found my build always start immediately, but not wait the replciation done.…
0
votes
2 answers

Http connection unauthorized in gerrit trigger

I am trying to setup Rest API for gerrit trigger jenkins plugin. I have created a service user in git. But now when i am entering the http username/password for service user and pressing test connection . I am getting Http connection unauthorized…
saurav
  • 5,388
  • 10
  • 56
  • 101
0
votes
1 answer

How to disable default code reviews values in Gerrit Jenkins trigger?

In Gerrit Jenkins trigger,I do not want to send default values of code review set by Gerrit admin. How can I do that ? I am giving no values in my projects under code review section but still Jenkins is sending code review values in gerrit. Under…
devops
  • 1,121
  • 5
  • 20
  • 50
1 2 3
8
9