Questions tagged [cloudbees]

CloudBees provides products and services related to the Jenkins continuous integration/delivery server.

This tag may be used to discuss tips and techniques related to CloudBees offerings, such as CloudBees Jenkins Platform (including CloudBees Jenkins Enterprise and CloudBees Jenkins Operations Center), or the hosted Jenkins service on *.ci.cloudbees.com.

CloudBees customers who need guaranteed help should use the support site.

693 questions
4
votes
0 answers

Error cleanup script CloudBees Jenkins unable to resolve class com.cloudbees.hudson.plugins.folder.AbstractFolder

My question is about a groovy script that fails. I tried to run it from a freestyle job with a Build Step "Execute system Groovy script" and 'Groovy command' where I have pasted the script from this source and I also tried running the scripts…
4
votes
1 answer

Jenkins pipeline with folder plugin. How to build a job located different folder

I'm using jenkins 2.0 with Cloudbees Folder plugin as this allow me to create multiple similar projects. The jobs in each folder can be factored out leaving a top level job that can then call a parameterised job. I want to place the parameterised…
Garry
  • 41
  • 1
  • 1
  • 2
4
votes
1 answer

pipeline Source for DSL

I'm starting to work on pipelines for jenkins (formerly workflow) I'm using IntelliJ for an IDE Is there a source of Documentation for GDSL or some way I can know what groovy is acceptable in the pipeline and what is not? Also is there a way that…
jvanryn
  • 294
  • 1
  • 3
  • 11
4
votes
2 answers

HipChat integration with Jenkins

I'm trying to add the HipChat plugin to my Jenkins builds, but it doesn't post anything. In the global configuration I've set the HipChat server to api.hipchat.com, added an API token und default room ID, set the build server URL to…
xeraa
  • 10,456
  • 3
  • 33
  • 66
4
votes
1 answer

I want zero downtime deploys on CloudBees - but my app needs to warm up

I want to do zero downtime deployment of apps on cloudbees (I am using continuous deployment) - but my app needs time to warm up? Also, I would like to quickly be able to roll back if things go horribly wrong, is there a way to do this?
Michael Neale
  • 19,248
  • 19
  • 77
  • 109
4
votes
1 answer

CloudBees Runtime Classpath

I just read the CloudBees whitepaper "CloudBees Advantages: A Guide for Java Developers". In it there is a sentence that reads: The database is simply available as a JNDI resource as soon as it is deployed – there is no need to chase down JDBC…
IAmYourFaja
  • 55,468
  • 181
  • 466
  • 756
4
votes
1 answer

JDBC resource name being modified by container ('_pm' being appended to it)

I'm trying to get a very simple web application deployed to a JavaEE Web Profile stack on CloudBees. I've created a database which will be used. I've created my WAR file, and deployed it into a Glassfish3 profile, but it errors out. I've also tried…
EdH
  • 4,918
  • 4
  • 24
  • 34
4
votes
1 answer

Enterprise Jenkins HA plugin not working as it should

I've been trying to setup Enterprise Jenkins with the High Availabilty setup. The current setup consists of two jenkins masters sharing the same jenkins home, say master1 and master2, an installation of the jenkins-ha-monitor-1.1-1.1 rpm on both…
yash.vyas
  • 163
  • 2
  • 7
4
votes
1 answer

Change hosts file on Jenkins executor node

We are planning to migrate our java web application build environment to Cloudbees but one aspect is currently blocking us. We are developing a multi-tenant application. It uses host subdomain to identify tenants and we use wildcard dns entries to…
4
votes
1 answer

When/can I use JDK 7 with CloudBees Run@cloud?

Would like to be able to use JDK 7 with CloudBees Run@cloud. JDK 7 already is supported on CloudBees Jenkins. Don't think it's possible now, would like an ETA...?
Will Iverson
  • 2,009
  • 12
  • 22
3
votes
1 answer

String interpolation in a shared library's global variable

Cloudbees 2.289.1.2 I am changing the code as per the Jenkinsfile string interpolation guidelines. Note: I am aware that Groovy String interpolation expects double-quotes for variables to be included. There are several sh in several global…
3
votes
2 answers

How do I define a global variable in a scripted jenkins pipeline

I would like to define a global variable in a Jenkins Scripted Pipeline that can be accessed anywhere in the pipeline. i.e. any stage, and any method. If I define the var at the top of the pipeline, it is works in the node declration, and in the…
AG6HQ
  • 514
  • 2
  • 5
  • 16
3
votes
2 answers

Bitbucket branch source plugin fails to scan if jenkinsfile doesnt exist

i have Bitbucket team project set up to scan the organization folder and create the pipelines, but in absence of Jenkinsfile the job fails Checking branch master from UKCEP/amatch-acceptance ERROR: [Thu Jul 04 12:59:03 UTC 2019] Could not fetch…
3
votes
0 answers

MissingMethodException while using shared libraries

Cloudbees 2.121.3.1 Partial Jenkinsfile of the main component that is failing viz. Alfaclient: properties([parameters([string(defaultValue: "", description: "List of components", name: 'componentsToUpdate'), …
Kaliyug Antagonist
  • 3,512
  • 9
  • 51
  • 103
3
votes
0 answers

How to disable automatic SCM Trigger from jenkinsFile?

i am new to jenkinspipeline. Do you have an example of how i can use jenkinsfile to prevent automatic scm trigger in jenkinsfile? I was hoping for something like properties[autoSCMTrigger: false]. I have tried for now by allowing the build to fail…
Fishfish
  • 123
  • 1
  • 6
1 2
3
46 47