hudson

Jenkins Crashes after installing GitHub Plugin

我的梦境 提交于 2019-12-20 04:08:34
问题 I have a question about updating GitHub plugin. Everytime I do an update plugin such as GitHub and restart the jenkins, Jenkins start crashing. when I try to access jenkins through URL in my browser, the error page shows up with some exception "class not found jenkins/model jenkins" . and then in order to make jenkins working again , I have to delete the plugin entirely from the plugins directory. I wish someone has an answer for this because I really need to make my github projects available

Link to a network location using file:// does not work in Chrome

回眸只為那壹抹淺笑 提交于 2019-12-19 11:27:59
问题 Our daily builds are stored in a shared network directory. My team wants me to put a link to that location on the results page - the most natural place would be among the artifacts. Clicking on that link should open the folder for viewing, copying, etc. I've tried to implement the following solution: create an html file that redirects to the network directory and save it as an artifact. Here's the html file I generate (let's call it LinkToInstallation.html ): <html> <head> <script type='text

Jenkins - conditions between build steps

女生的网名这么多〃 提交于 2019-12-19 09:16:53
问题 I want to build a Maven project using Jenkins. However, the project only must be built if a certain file in the SVN repository has changed (and contains a special key) So my plan is to create a job with two build steps: the first step executes a shell or python script that checks that "condition". the second step is the actual Maven build The second step only must be invoked if the condition check in step 1 returned "true". Is there a possibility to do so? Well, I guess I could return an exit

Trigger build in Jenkins/Hudson using hashtag in commit-message

心不动则不痛 提交于 2019-12-19 08:11:30
问题 Is it possible to trigger a Hudson/Jenkins build only when a certain string appears in a commit-message? For instance, I want to trigger a build that rolls out my application to the dev environment by writing a commit message like: MYPROJECT-123 Fixed NPE in MyClass.java #deploy:DEV The general idea is described in this great talk on Continuos Deployment but I couldn't find any information on how to do this in Hudson. I would prefer to have this behavior in Hudson itself and not in an

Git plugin for Hudson checkout problem

安稳与你 提交于 2019-12-19 08:05:17
问题 When using the Git plugin for Hudson my job always fails when fetching the latest sources from my online git repository ( git://github.com/ithena/orm2dsl.git ) . The git plugin first executes git fetch succesfully. Then it tries to execute git checkout -f origin/ , which fails as shown below. Is this a problem with my git repository or is it the checkout command that makes no sense? Git command whithout a branch set in the job configuration: git checkout -f origin/ git checkout: updating

Jenkins-Groovy script error

纵饮孤独 提交于 2019-12-19 07:39:05
问题 When I tried to execute the following Groovy script in Jenkins console, the below error occurs. import hudson.model.* /* removed as per comments // get current thread / Executor def thr = Thread.currentThread() // get current build import hudson.model.* def build = thr?.executable */ // get parameters def parameters = build?.actions.find{ it instanceof ParametersAction }?.parameters parameters.each { println "parameter ${it.name}:" println it.dump() println "-" * 80 } // ... or if you want

Continous Integration Server in Windows Azure

余生颓废 提交于 2019-12-19 03:59:06
问题 I would like use a continuous integration system in my projects. However, I don't want to use a server sitting in my office, instead I'd like my continuous integration server to run on Windows Azure. Has anyone set this up? Are there recipes to host Hudson or CruiseControl.Net (or any other CI system) within Azure? 回答1: We use the Build Manager in Team Foundation Server to push our automated builds to Azure. We set up our Azure hosted services to allow for Web Publish through remote desktop

What do I have to do so that assertions won't block automated tests anymore?

China☆狼群 提交于 2019-12-19 03:29:09
问题 We run automated NUnit tests on our C# projects using hudson/jenkins on several virtual machines which run mostly unattended on some server. The tests involve starting several processes that exchange data, one of which is NUnit itself, the others created by the unit test. Sometimes, one of the developer checks in something that triggers an assertion ( Debug.Assert() ). This then pops up a message box, asking the user what to do. Usually those happen in one of the "external" processes created

Hudson svn credentials

谁说胖子不能爱 提交于 2019-12-19 03:25:10
问题 How to enter subversion credentials in Hudson by shell? I've tried to generate file hudson.scm.SubversionSCM.xml in HUDSON_HOME and reload configuration, but changes weren't applied. 回答1: The easiest way to enter a credential from the shell is to use "svn" executable. Hudson recognizes the ~/.subversion/auth directory that it creates. 回答2: Under Windows the global credenentials are stored under %APPDATA%\Subversion\auth . The following Groovy code helps generating these credentials:

Configuring the Atlassian JIRA plugin to work with Jenkins CI system

最后都变了- 提交于 2019-12-19 02:51:09
问题 I am trying to configure the JIRA plugin with Jenkins but I am receiving the error "This is a valid URL but it doesn't look like JIRA". I am trying to connect to my company installation of JIRA studio which is http://[company].jira.com and I know this URL is correct as I have several projects using it successfully. Is there some setting I should enable in JIRA studio for this to work? 回答1: I had a similar issue and fixed it by setting our JIRA studio Title to "Atlassian JIRA". You can change