Chroot: base image as matrix axis

2018-09-13 Thread Simon Richter
Hi, I'd like to build a project against different Linux distributions. Using the chroot plugin, I can easily set up a chroot for each, but I need to specify the name of the base image in the project config. Can I somehow select the chroot base image by a label, so a matrix build with

How can I find the plugin name to use with install-plugins.sh?

2018-09-13 Thread Thomas Sundberg
Hi! I am creating a Jenkins installation from a Dockerfile. I want to specify all plugins so they are available when the image is built. This typically looks like many lines like this: RUN /usr/local/bin/install-plugins.sh greenballs Is there a way to find the proper name for each plugin? I am

java.lang.NoClassDefFoundError: Could not initialize class sun.util.calendar.ZoneInfoFile

2018-09-13 Thread Víctor Puertas
Console Output shows the following issue java.lang.NoClassDefFoundError: Could not initialize class > sun.util.calendar.ZoneInfoFile > This is are the traces Required context class hudson.FilePath is missing Perhaps you forgot to surround the code with a step that provides this, such as:

Re: Jenkins class sun.util.calendar.ZoneInfoFile issue

2018-09-13 Thread Víctor Puertas
I am having the same issue. Did you find the solution? On Wednesday, December 24, 2014 at 12:28:26 PM UTC+1, nidhi singh wrote: > > Hi All, > > While running sonar analysis in jenkins, m facing few issues > > Failed to instantiate [ch.qos.logback.classic.LoggerContext]*16:47:42* > Reported

Update upstream job in case of downstream job is rerun

2018-09-13 Thread Mahima Mishra
*I have a RELEASE pipeline which triggers a parameterized job: TEST (which can be triggered standalone too). If the TEST job fails I can rerun it rather than triggering the complete RELEASE job. Is there a way I can list the rerun of the TEST job to the upstream release job? So that the

Re: How can I find the plugin name to use with install-plugins.sh?

2018-09-13 Thread Thomas Sundberg
Hi! This is partly answering my own question: Install the plugin you want to try. Run the script Jenkins.instance.pluginManager.plugins.each{ plugin -> println ("${plugin.getDisplayName()} (${plugin.getShortName()}): ${plugin.getVersion()}") } Locate the short name of the plugin you

Re: How to abort a job during it's execution by itself

2018-09-13 Thread Viacheslav Dubrovskyi
Hi You can use this function for pipeline @NonCPS def killthis_job() {   def jobname = env.JOB_NAME   def buildnum = env.BUILD_NUMBER.toInteger()   def job = Jenkins.instance.getItemByFullName(jobname)   for (build in job.builds) {     if (!build.isBuilding()) { continue; }     if (buildnum ==

Jenkinsfile syntax to change pipeline default docker run command

2018-09-13 Thread hce h
Hi, I successfully run following docker command locally: docker run -it -v /usr/bin/qemu-arm-static:/usr/bin/qemu-arm-static arm32v7/debian:jessie /bin/bash But Jenkins has a default docker run command in the pipleline: docker run -t -d -u 1000:1000 -w

Re: Relationship between GitHub credentials and Jenkins Service account (running as Windows Service)

2018-09-13 Thread 'Björn Pedersen' via Jenkins Users
Hi, Am Donnerstag, 13. September 2018 17:07:28 UTC+2 schrieb Christopher List: > > We are running Jenkins as a windows service on win2012 machine, and it's > working fine. > > The problem we have is that we're trying to change the service account > that it is running under. > The old and new

Relationship between GitHub credentials and Jenkins Service account (running as Windows Service)

2018-09-13 Thread Christopher List
We are running Jenkins as a windows service on win2012 machine, and it's working fine. The problem we have is that we're trying to change the service account that it is running under. The old and new service accounts are both local admins on the machine. When we change the service account,

Cannot open TCP port for JNLP agents

2018-09-13 Thread Fábio Cabrita
Hello, I am trying to connect one windows agent with a jenkins server, where both are in the same network, and that windows is at reach of jenkins server, but still I am getting this error: [image: Screenshot_3.jpg] This windows can ping to jenkins.XXX.local without problem, but seems like

Still Have Login Problem.

2018-09-13 Thread Steve Burrus
*This is Steve Burrus again and even though it's been several edays si nce I last posted I STILL have that problem with getting that login page when I go to "http://localhost:[port num.]", which is attached. Is there any "fresh ideas" from anyone as to how to FINALLY resolve this problem?* --

Managed scripts are missing after upgrade to 2.131.3

2018-09-13 Thread Steve K
Just upgraded from 2.89.2 to 2.131.3 I copied over the org.jenkinsci.plugins.configfiles.GlobalConfigFiles.xml and reloaded the configuration from disk, but that didn't help. Any clues? -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To

Re: Relationship between GitHub credentials and Jenkins Service account (running as Windows Service)

2018-09-13 Thread Mark Waite
The message "Host key verification failed" is only reported by git when it is using a private key for authentication. A personal access token is a type of username/password, not a type of private key. You may want to double check that the GitHub URL that you are using is an https URL, not an ssh