cloudbees

Error when building play framework app in cloudbees with jenkins: Deployment type not supported: zip

拈花ヽ惹草 提交于 2019-12-08 04:08:54
问题 I have created a simple app using play framework and want to deploy it to cloudbees. I followed the instructions here: http://developer.cloudbees.com/bin/view/RUN/Playframework But when I run the jenkins job I get the following error when checking the log: Caused by: hudson.remoting.ProxyException: com.cloudbees.api.BeesClientException: Server.InternalError - Deployment type not supported: zip I'm not sure what's causing this. Can someone help me solve this problem? Here's a more detailed log

cloudbees, groovy, jobs, folders: How to determine the job result, if the job is within a cloudbees folder?

孤街醉人 提交于 2019-12-06 16:00:09
Problem : I'm using a script to determine if a certain amount of jobs are in SUCCESS state. It worked fine as long as I was not using cloudbees folder plugin. I could easily get the list of projects and get the project result. But after I moved the jobs to the cloudbee folder, the jobs and therefore the job results are no longer available! Q : Does anybody now how to get the job results with groovy from jobs which are located in a Cloudbees folder? Jesse Glick def job = Jenkins.instance.getItemByFullName('foldername/jobname'); Folder plugin provides the getItems() method which can be used to

App runs locally but returns 404 running on cloudbees

亡梦爱人 提交于 2019-12-06 15:58:10
问题 My app ([URL]) is not responding. I have gone through the recommended steps on your site. I have deployed this war to my local tc-server and everything is working there (/people-server/rest/persons/). I would expect to get some xml back from [URL]/people-server/rest/persons/. Please advise Darren Leung 回答1: Your app is actually responding to http://[URL]/_stax/status, which implies the container is able to receive and handle requests properly. Since your app is returning 404 for /people

How do I deploy to private Maven repo from CloudBees?

喜夏-厌秋 提交于 2019-12-06 10:26:28
问题 I'd like to use CloudBees for my CI environment, but I'd also like to deploy my Maven artifacts to my existing private Nexus repository. In my current local Hudson setup, I utilize the username/password settings within the .m2/settings.xml file as follows: ... <servers> <server> <id>my-repository</id> <username>username</username> <password>password</password> </server> </servers> ... How/where can I configure these credentials on CloudBees? 回答1: You can put these in your private webdav

How do I get a grunt task working with a Cloudbees Jenkins build

社会主义新天地 提交于 2019-12-04 23:47:01
问题 I'm trying to get a Jenkins build up and running on Cloudbees. I've successfully gotten NodeJs installed and my source pulled from my BitBucket repository. I am trying to run my grunt task to minify and concatenate my JS and CSS files before deploying. However, I am not able to run the grunt program, even though it is successfully installed. Below is my build script: curl -s -o use-node https://repository-cloudbees.forge.cloudbees.com/distributions/ci-addons/node/use-node NODE_VERSION=0.8.0 \

How to use logback on Cloudbees

旧巷老猫 提交于 2019-12-04 20:18:27
I would like to know if it's possible to use my own logback configuration on Cloubees, I have a default.logback.xml file that works perfectly fine in local, but once I deploy to Cloudbees its being ignored. Logging in CloudBees is via stdout and stderror - these are piped via syslog-ng to various systems (not all of which are file based) - so you can configure logging things as you want - but if you want your logs managed - it is best to ensure that things end up in stdout and stderr. 来源: https://stackoverflow.com/questions/12724599/how-to-use-logback-on-cloudbees

How do you deploy a non-web Java app through CloudBees Jenkins “Deploy Now” feature?

て烟熏妆下的殇ゞ 提交于 2019-12-04 14:09:50
With CloudBees now supporting deployment of Java applications, is it possible to use the post-build action in Jenkins "Deploy to CloudBees" to deploy your app? Furthermore, I'd like to use the Maven assembly plugin's jar-with-dependencies goal so that I can simply and automatically deploy my entire app to CloudBees right through Jenkins. While the current CloudBees deployer Jenkins plugin appears to not support this, in fact it does. Here are the steps that after much trial and error worked for me: Include the jar-with-dependencies maven plugin in your pom.xml. I used the <goal>single</goal>

How do I deploy to private Maven repo from CloudBees?

≡放荡痞女 提交于 2019-12-04 12:33:24
I'd like to use CloudBees for my CI environment, but I'd also like to deploy my Maven artifacts to my existing private Nexus repository. In my current local Hudson setup, I utilize the username/password settings within the .m2/settings.xml file as follows: ... <servers> <server> <id>my-repository</id> <username>username</username> <password>password</password> </server> </servers> ... How/where can I configure these credentials on CloudBees? You can put these in your private webdav filestore: http://wiki.cloudbees.com/bin/view/DEV/Sharing+Files+with+Build+Executors Then, just point Maven at

How do I get a grunt task working with a Cloudbees Jenkins build

自闭症网瘾萝莉.ら 提交于 2019-12-03 15:53:18
I'm trying to get a Jenkins build up and running on Cloudbees. I've successfully gotten NodeJs installed and my source pulled from my BitBucket repository. I am trying to run my grunt task to minify and concatenate my JS and CSS files before deploying. However, I am not able to run the grunt program, even though it is successfully installed. Below is my build script: curl -s -o use-node https://repository-cloudbees.forge.cloudbees.com/distributions/ci-addons/node/use-node NODE_VERSION=0.8.0 \ source ./use-node npm install npm install grunt grunt I've tried installing grunt with and without the

Pass groovy variable to shell script

别等时光非礼了梦想. 提交于 2019-11-30 20:47:24
I just started learning groovy.I want to pass the svnSourcePath and svnDestPath to shell script in the svn copy command. But URL not rendered. node { stage 'Copy Svn code' def svnSourcePath = "${svnBaseURL}${svnAppCode}${svnEnvDev}${SVN_DEV_PACKAGE}" def svnDestPath = "${svnBaseURL}${svnAppCode}${svnEnvTest}${SVN_DEV_PACKAGE}" print "DEBUG: svnSourcePath = ${svnSourcePath}" print "DEBUG: svnDestPath = ${svnDestPath}" withCredentials([[$class: 'UsernamePasswordMultiBinding', credentialsId: crendentialsIdSVN, passwordVariable: 'SVN_PWD', usernameVariable: 'SVN_USER']]) { sh ''' svn copy