jenkins-plugins

Jenkins: Gerrit & Git plugin - missing refspec field?

隐身守侯 提交于 2019-12-11 14:22:02
问题 I am trying to set up a Jenkins job (actually it's a MultiJob, but I don't think this is relevant at this point), with a Gerrit trigger. The documentation for the Gerrit Trigger with the Git Plugin gives instructions for the correct refspecs, choosing strategy and branch. However, in my job setup, I do not have settings for the refspec and choosing strategy, and the options are not the same as those shown in the Gerrit trigger docs. This is what I have: Do I have the wrong version of a plugin

Unable to set up Git pull in Jenkins

南楼画角 提交于 2019-12-11 13:53:40
问题 We currently have Subversion builds in Jenkins, and are trying to add Git builds as well, using Windows filesystem access. So far: Jenkins GIT Plugin is installed. Jenkins and the repositories are on the same machine, so we don't need ssh setup. Started a new Jenkins Project, and clicked on Git under Source Code Management. We're hitting a snag on the Repsitory URL: Repository URL: file:////my_server/Repositories/My_Repo Failed to connect to repository : Error performing command: git ls

Getting “Target Repository Cannot be Empty” For Jenkins Artifactory Plugin on Slave

主宰稳场 提交于 2019-12-11 13:24:11
问题 We are currently utilizing the Jenkins Artifactory Plugin to push our artifacts to Artifactory, and everything is working well on the master Jenkins Node. One thing we do in ALL of our builds is: we specify the target repository IN THE BUILD SCRIPT based on the version of the build (i.e. if the project version contains SNAPSHOT, put the builds somewhere else). This has worked without issues, even without explicitly setting the target repo as in the picture below: On the master node, leaving

how to configure job in jekins if first project is build successful then trigger another project and so on with “Multi-configuration project” job

孤街浪徒 提交于 2019-12-11 12:42:06
问题 I want to trigger project in jekins if first project is build successful then trigger another project and so on.. how can do it. I hava project1 , project2, and project3, project4, project5 so on. here I am configuring "Multi-configuration project" job. for exp:- project1->success then trigger project2->success then trigger project3 if any stage failed then doesn't trigger other project.This is "Multi-configuration project" job, because this single job, I am trigger on multiple slaves

Combining Build triggers in Jenkins

二次信任 提交于 2019-12-11 12:34:08
问题 I have two build triggers (poll SCM and FStrigger-MonitorFiles) configured for a job, say the polling is scheduled for daily poll (@daily) , Now the build is triggered if poll SCM detects change or FStrigger-MonitorFiles does which is normal behavior. But if both detects the change the build will be triggered twice as each triggers tries to trigger the build , how do i achieve combining the results of above two triggers daily and trigger/not trigger the build only once. 回答1: You could create

Jenkins github plugin returns error 400 “Hook should contain event type”

戏子无情 提交于 2019-12-11 11:14:39
问题 At my company we have a Github Enterprise instance keeping all of our source in line, and Jenkins servers to do continuous integration. I'm using the Jenkins github plugin on Jenkins, and installing a service on Github to call MYJENKINS/github-webhook. I would see the POSTs arriving from github on the jenkins server, but nothing would happen. The access log reports a 400 error being returned to github. To find out what was being returned, I put tcpdump on the port. I now see that Jenkins is

Publish over ssh plugin - can't copy build archive

泄露秘密 提交于 2019-12-11 11:11:35
问题 I have been struggling for hours with this thing and I have spent time reading some of the suggested similar questions but couldn't find a hint or solution. I have a build job that creates a build archive. Then I have a separate deploy job that should take that archive and copy it over ssh to a remote environment. I am using the publish over ssh Jenkins plugin. Everything seems to go well except for the copy part. No files are copied to the remote location. I get the following: Started by

Jenkins Log parser plugin - parsed console log page is not showing Load denied by X-Frame-Options does not permit framing ERR_BLOCKED_BY_RESPONSE

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-11 10:31:56
问题 Jenkins version: 1.642.3 or 2.32.3 Jenkins machine Ubuntu 14.04 Log parser plugin: 2.0 Browsing Jenkins from my Mac OS sierra machine. In Jenkins global configuration, I created a new entry (description and file path (full) where the file contains the following contents). error /ERROR: Couldn't find any revision to build./ error /SyntaxError: Use of const in strict mode./ error /svn: E220003: / error /npm ERR! fetch failed/ error /ERROR: Found inconsistencies/ error /ERROR: svn up failed for

HTML page is shown with broken UI While publishing the extent report HTML file using the 'HTML Publisher Plugin'

淺唱寂寞╮ 提交于 2019-12-11 10:09:47
问题 HTML page is shown with broken UI While publishing the extent report HTML file using the 'HTML Publisher Plugin', Can any one please guide me how can I print the complete report with proper UI Screenshot of the report when I open the html report using the HTML publisher plugin Screenshot of the report when I open the same html report file using the Firefox browser 回答1: I was facing a similar issue when I was trying to view the extent report from Jenkins. Reason for this issue: The issue is

How to safe guard against broken jenkinsfiles causing pipelines to run indefinitely?

非 Y 不嫁゛ 提交于 2019-12-11 09:05:43
问题 I have my repo getting polled every 5 mins. But I found that if the jenkinsfile is totally broken the pipeline will fail with "This stage has no steps". Then every 5 mins it will retry it and keep failing. How do I safe guard against this? Can I set a threshold somewhere so if this happens it doesn't churn forever? 回答1: If you are using scm polling, it should only build if there are changes. Sounds like you may be building on a cron schedule. Here is the different syntax for each in a