Kubernetes plugin. Identical pod template in multiple kube clouds.
hey i have a question about the kuberentes plugin in Jenkins. I see that it offers to add multiple clouds and pod templates. If i have two clouds (pointing to different kube clusters) and offering same pod templates. How does the plugin choose which cloud (kube cluster) to go with? If a kube cluster fails does it fail-over to the other one? https://github.com/jenkinsci/kubernetes-plugin -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/98e7f2bd-97cf-406a-886b-c3f9d81c717en%40googlegroups.com.
Unable to send the mail to Developers and Requestors in the Jenkins pipeline script.
Hello Folks, My multibranch pipeline job should send mail to developers and requestors, whenever a build fails. I am using a pipeline script, where I am using the emailext. I have provided the recipientProviders too but failing to send. Below is my pipeline script snippet. emailext body: '''Hello, Host SW build for the ${JOB_BASE_NAME} is failed. Please find its URL at ${BUILD_URL}''', replyTo: '', subject: 'Host SW build for ${JOB_BASE_NAME} is failed', recipientProviders: [[$class: 'DevelopersRecipientProvider'], [$class: 'RequesterRecipientProvider']], I am getting below error. "An attempt to send an e-mail to empty list of recipients, ignored." Can someone help me on this. Thank you. Regards, Ravi Krishna D -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/e733f38c-fd2d-47f4-a39a-6f1ff5ea1659%40googlegroups.com.
Re: Problem running Jenkins as a system service on Ubuntu
Hello Gianaolo, Hope you logged in with root user or Jenkins user must have sudo permissions. On Fri, Nov 8, 2019 at 5:55 PM gianpaolo wrote: > Hello > I've installed and run Jenkins successfully, but at the first reboot I > coudnt get it up again. > I have the journal log: > > systemd[1]: Starting Jenkins - open source automation server... > jenkins[3540]: Correct java version found > jenkins[3540]: * Starting Jenkins Automation Server jenkins > jenkins[3540]: chown: changing ownership of '/var/run/jenkins':Operation > not permitted > su[3580]: PAM audit_log_acct_message() failed: Operation not permitted > su[3580]: pam_authenticate: System error > jenkins[3540]: su: System error > su[3580]: FAILED su for jenkins by root > su[3580]: - ??? root:jenkins > jenkins[3540]:...fail! > ci systemd[1]: jenkins.service: Main process exited, code=exited, > status=7/NOTRUNNING > systemd[1]: jenkins.service: Failed with result 'exit-code'. > systemd[1]: Failed to start Jenkins - open source automation server. > > I posted the question also on superuser > <https://superuser.com/questions/1500215/error-running-jenkins-as-a-unix-service-on-ubuntu> > > > > Can you help me? > > Thanks > Gianpaolo > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to jenkinsci-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/5f886501-5849-45d5-873e-650c5102ce9b%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/5f886501-5849-45d5-873e-650c5102ce9b%40googlegroups.com?utm_medium=email_source=footer> > . > -- Ravi Krishna D http://sahaaya4needy.org http://sahaaya.onsugar.com -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAKS7Qv0yTRHQU2Mb4f3%3DqH8p_qxtLeCVKLdB3TQHzvyLcUfw-w%40mail.gmail.com.
Re: p4 unshelve fails in a pipeline job
I found the following issue in Jenkins issue tracker that seems to be related to what i am seeing: https://issues.jenkins-ci.org/browse/JENKINS-34014 The workaround suggested helps. thanks, Ravi. On Saturday, March 25, 2017 at 5:34:40 PM UTC-7, Ravi Kondamuru wrote: > > Hi, > > I have a pipeline based job where I do an unshelve, if user provides it as > input. However, I see that it always indicates "no such files". If i run > the command on a regular system it succeeds. I am not able to figure out > what this error indicates. > > Any help will be appreciated. > > thanks, > Ravi. > > > > Console log: > > [vpx] P4 Task: unshelve review: 582305 > [vpx] (p4):cmd:... p4 unshelve -f -s582305 -cdefault > [vpx] p4 unshelve -f -s582305 -cdefault > [vpx] > [vpx] - no such file(s). > [vpx] > [vpx] (p4):stop:6 > [vpx] ... duration: (7ms) > > > > Jenkinsfile: > > > checkout([$class: 'PerforceScm', > credential:'42c7583c-d502-41d9-abac-d9ab9a9ea574', ...) > > if (Shelved_Changelist_No != "") { > > p4unshelve resolve: 'am', shelf:"${Shelved_Changelist_No}", > credential:'42c7583c-d502-41d9-abac-d9ab9a9ea574' > > } > > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/9cce2806-c5c5-4e96-98d9-bfe7f260adb5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
p4 unshelve fails in a pipeline job
Hi, I have a pipeline based job where I do an unshelve, if user provides it as input. However, I see that it always indicates "no such files". If i run the command on a regular system it succeeds. I am not able to figure out what this error indicates. Any help will be appreciated. thanks, Ravi. Console log: [vpx] P4 Task: unshelve review: 582305 [vpx] (p4):cmd:... p4 unshelve -f -s582305 -cdefault [vpx] p4 unshelve -f -s582305 -cdefault [vpx] [vpx] - no such file(s). [vpx] [vpx] (p4):stop:6 [vpx] ... duration: (7ms) Jenkinsfile: checkout([$class: 'PerforceScm', credential:'42c7583c-d502-41d9-abac-d9ab9a9ea574', ...) if (Shelved_Changelist_No != "") { p4unshelve resolve: 'am', shelf:"${Shelved_Changelist_No}", credential:'42c7583c-d502-41d9-abac-d9ab9a9ea574' } -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/2862b9ad-e873-4d6c-90ca-cfa7a4503ef1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
How can i trigger Job-B if Job-A is failed in jenkins build flow
Hi, In Jenkins build flow iam trying to trigger Job-B when Job-A is expected to be failed. In below script its entering into the if condition of Job-B and iam able to see the print message as well but Job-B is not triggering. How can i handle when Job-A is expected to fail and need to trigger the Job-B Below is my script using in buildflow: ignore(FAILURE) { build("Job-A") if (verify != success) { println "Job-B" build("Job-B") } } -- Thanks & Regards, Ravi Teja -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/92d79e07-2f54-4e42-ad25-685867a4a2bb%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: How to consolidate reports generated from child jobs and pulled into parent job???
Recently we had something similar requirement. So I configured/updated my child Jenkins jobs to copy their respective individual test reports to one network share directory and quit. Parent will be waiting till all child execution is completed and pick up all the reports from the same network share directory. If all child jobs and parent job run on the same host, we can consolidate all required reports together using another Jenkins job or using any other script assuming the job/script has sufficient access permissions/credentials. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/49728d64-31c7-4d15-ac74-a5ccc09d94ec%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Jenkins + Android: Two Problems. Please help.
Eric, I am using "Ubuntu 14.04.4 x64 LTS Desktop" host. So I already have working X-windows with my host. So I assumed using Xvfb or Xvnc is NOT required with Jenkins job. Is it mandatory to use Xvfb or Xvnc independent of whether I use a "UBuntu Desktop" host or "Ubuntu Server" host ?? Kindly advise. Thank you, Ravi On Monday, July 18, 2016 at 11:39:01 PM UTC+5:30, Eric Pyle wrote: > > I don't know anything about running the Android Emulator, but the error > seems to be "Unable to open display". You mention that you did not use any > Xvfb or Xvnc configuration. Maybe this is something that needs to be set up? > > Eric > > On 7/18/2016 2:05 PM, Ravi A wrote: > > Please neglect my Problem #1 as this problem is related to "Android". Let > me ask this question to "Android Google Group". > Request you to answer my Problem #2 with a solution. > > Thank you, > Ravi > > > On Monday, July 18, 2016 at 11:53:06 AM UTC+5:30, Ravi A wrote: >> >> >> I am new to Android related work and Jenkins. Currently I am facing two >> problems as explained below and need help about these two problems. Kindly >> do the needful. >> >> I am using one "Ubuntu v14.04.4 LTS x64 Desktop Edition" based physical >> host (VT enabled from BIOS, Intel(R) Core(TM) i5-3470 CPU) and following >> software also installed. >> >> Gradle v2.14 >> Ant v1.9.7 >> Maven 3.3.9 >> android-sdk_r24.4.1 >> java version "1.8.0_92" >> Android_Studio_v2.1.2.0 (android-studio-ide-143.2915827) >> KVM/Qemu >> Jenkins v2.7.1 CI server with following Android related "Jenkins Plugins" >> Android Emulator Plugin v2.15 >> Android Lint Plugin v2.3 >> Gradle Plugin v1.24 >> Xvnc Plugin v1.23 >> Xvfb Plugin v1.1.3 >> >> >> Problem #1 >> -- >> Created on "Android VD" with AVD name as "Nexus_6_API_23" using "Android >> Studio" and later I could start Emulator from "Shell Command Line", but >> "Segmentation Fault (core dumped)" when I exit the emulator. >> >> ravi@ravi-dev-box:~$ emulator -list-avds >> Nexus_6_API_23 >> ravi@ravi-dev-box:~$ >> ravi@ravi-dev-box:~$ emulator -avd Nexus_6_API_23 >> adb_server_notify: Failed to establish connection to ADB server >> console on port 5554, ADB on port >> Your emulator is out of date, please update by launching Android Studio: >> - Start Android Studio >> - Select menu "Tools > Android > SDK Manager" >> - Click "SDK Tools" tab >> - Check "Android SDK Tools" checkbox >> - Click "OK" >> >> Segmentation fault (core dumped) >> ravi@ravi-dev-box:~$ >> >> >> Problem #2 >> -- >> I tried to start "Android Emulator" about the same above mentioned >> "Nexus_6_API_23" AVD using a "Jenkins Job" which DOES NOT include any Xvfb >> and Xvnc related configuration. Build using this "Jenkins Job" fails as >> explained below (Console Output from the build). >> >> Started by user admin >> [EnvInject] - Loading node environment variables. >> Building in workspace >> /home/ravi/Downloads/Android/Spring/gs-gradle-android_3 >> [android] Using Android SDK: /opt/android-sdk-linux/ >> $ /opt/android-sdk-linux//platform-tools/adb start-server >> * daemon not running. starting it now on port 5835 * >> * daemon started successfully * >> $ /opt/android-sdk-linux//platform-tools/adb start-server >> [android] Starting Android emulator >> $ /opt/android-sdk-linux//tools/emulator -engine classic -ports 5772,5773 >> -report-console tcp:5839,max=60 -avd Nexus_6_API_23 -no-snapshot-load >> -no-snapshot-save >> Error: unable to open display >> Error: unable to open display >> QXcbConnection: Could not connect to display >> emulator: WARNING: Classic qemu does not support SMP. The hw.cpu.ncore >> option from your config file is ignored. >> [android] Emulator did not appear to start; giving up >> [android] Stopping Android emulator >> $ /opt/android-sdk-linux//platform-tools/adb kill-server >> [BFA] Scanning build for known causes... >> [BFA] No failure causes found >> [BFA] Done. 0s >> Finished: NOT_BUILT >> >> Thanks A Lot In Advance, >> Ravi >> >> -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group an
Re: Jenkins + Android: Two Problems. Please help.
Please neglect my Problem #1 as this problem is related to "Android". Let me ask this question to "Android Google Group". Request you to answer my Problem #2 with a solution. Thank you, Ravi On Monday, July 18, 2016 at 11:53:06 AM UTC+5:30, Ravi A wrote: > > > I am new to Android related work and Jenkins. Currently I am facing two > problems as explained below and need help about these two problems. Kindly > do the needful. > > I am using one "Ubuntu v14.04.4 LTS x64 Desktop Edition" based physical > host (VT enabled from BIOS, Intel(R) Core(TM) i5-3470 CPU) and following > software also installed. > > Gradle v2.14 > Ant v1.9.7 > Maven 3.3.9 > android-sdk_r24.4.1 > java version "1.8.0_92" > Android_Studio_v2.1.2.0 (android-studio-ide-143.2915827) > KVM/Qemu > Jenkins v2.7.1 CI server with following Android related "Jenkins Plugins" > Android Emulator Plugin v2.15 > Android Lint Plugin v2.3 > Gradle Plugin v1.24 > Xvnc Plugin v1.23 > Xvfb Plugin v1.1.3 > > > Problem #1 > -- > Created on "Android VD" with AVD name as "Nexus_6_API_23" using "Android > Studio" and later I could start Emulator from "Shell Command Line", but > "Segmentation Fault (core dumped)" when I exit the emulator. > > ravi@ravi-dev-box:~$ emulator -list-avds > Nexus_6_API_23 > ravi@ravi-dev-box:~$ > ravi@ravi-dev-box:~$ emulator -avd Nexus_6_API_23 > adb_server_notify: Failed to establish connection to ADB server > console on port 5554, ADB on port > Your emulator is out of date, please update by launching Android Studio: > - Start Android Studio > - Select menu "Tools > Android > SDK Manager" > - Click "SDK Tools" tab > - Check "Android SDK Tools" checkbox > - Click "OK" > > Segmentation fault (core dumped) > ravi@ravi-dev-box:~$ > > > Problem #2 > -- > I tried to start "Android Emulator" about the same above mentioned > "Nexus_6_API_23" AVD using a "Jenkins Job" which DOES NOT include any Xvfb > and Xvnc related configuration. Build using this "Jenkins Job" fails as > explained below (Console Output from the build). > > Started by user admin > [EnvInject] - Loading node environment variables. > Building in workspace > /home/ravi/Downloads/Android/Spring/gs-gradle-android_3 > [android] Using Android SDK: /opt/android-sdk-linux/ > $ /opt/android-sdk-linux//platform-tools/adb start-server > * daemon not running. starting it now on port 5835 * > * daemon started successfully * > $ /opt/android-sdk-linux//platform-tools/adb start-server > [android] Starting Android emulator > $ /opt/android-sdk-linux//tools/emulator -engine classic -ports 5772,5773 > -report-console tcp:5839,max=60 -avd Nexus_6_API_23 -no-snapshot-load > -no-snapshot-save > Error: unable to open display > Error: unable to open display > QXcbConnection: Could not connect to display > emulator: WARNING: Classic qemu does not support SMP. The hw.cpu.ncore > option from your config file is ignored. > [android] Emulator did not appear to start; giving up > [android] Stopping Android emulator > $ /opt/android-sdk-linux//platform-tools/adb kill-server > [BFA] Scanning build for known causes... > [BFA] No failure causes found > [BFA] Done. 0s > Finished: NOT_BUILT > > Thanks A Lot In Advance, > Ravi > > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/e43c465b-0849-4324-93c7-090cd1b6a276%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Jenkins + Android: Two Problems. Please help.
I am new to Android related work and Jenkins. Currently I am facing two problems as explained below and need help about these two problems. Kindly do the needful. I am using one "Ubuntu v14.04.4 LTS x64 Desktop Edition" based physical host (VT enabled from BIOS, Intel(R) Core(TM) i5-3470 CPU) and following software also installed. Gradle v2.14 Ant v1.9.7 Maven 3.3.9 android-sdk_r24.4.1 java version "1.8.0_92" Android_Studio_v2.1.2.0 (android-studio-ide-143.2915827) KVM/Qemu Jenkins v2.7.1 CI server with following Android related "Jenkins Plugins" Android Emulator Plugin v2.15 Android Lint Plugin v2.3 Gradle Plugin v1.24 Xvnc Plugin v1.23 Xvfb Plugin v1.1.3 Problem #1 -- Created on "Android VD" with AVD name as "Nexus_6_API_23" using "Android Studio" and later I could start Emulator from "Shell Command Line", but "Segmentation Fault (core dumped)" when I exit the emulator. ravi@ravi-dev-box:~$ emulator -list-avds Nexus_6_API_23 ravi@ravi-dev-box:~$ ravi@ravi-dev-box:~$ emulator -avd Nexus_6_API_23 adb_server_notify: Failed to establish connection to ADB server console on port 5554, ADB on port Your emulator is out of date, please update by launching Android Studio: - Start Android Studio - Select menu "Tools > Android > SDK Manager" - Click "SDK Tools" tab - Check "Android SDK Tools" checkbox - Click "OK" Segmentation fault (core dumped) ravi@ravi-dev-box:~$ Problem #2 -- I tried to start "Android Emulator" about the same above mentioned "Nexus_6_API_23" AVD using a "Jenkins Job" which DOES NOT include any Xvfb and Xvnc related configuration. Build using this "Jenkins Job" fails as explained below (Console Output from the build). Started by user admin [EnvInject] - Loading node environment variables. Building in workspace /home/ravi/Downloads/Android/Spring/gs-gradle-android_3 [android] Using Android SDK: /opt/android-sdk-linux/ $ /opt/android-sdk-linux//platform-tools/adb start-server * daemon not running. starting it now on port 5835 * * daemon started successfully * $ /opt/android-sdk-linux//platform-tools/adb start-server [android] Starting Android emulator $ /opt/android-sdk-linux//tools/emulator -engine classic -ports 5772,5773 -report-console tcp:5839,max=60 -avd Nexus_6_API_23 -no-snapshot-load -no-snapshot-save Error: unable to open display Error: unable to open display QXcbConnection: Could not connect to display emulator: WARNING: Classic qemu does not support SMP. The hw.cpu.ncore option from your config file is ignored. [android] Emulator did not appear to start; giving up [android] Stopping Android emulator $ /opt/android-sdk-linux//platform-tools/adb kill-server [BFA] Scanning build for known causes... [BFA] No failure causes found [BFA] Done. 0s Finished: NOT_BUILT Thanks A Lot In Advance, Ravi -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/6018730c-eb2c-44e6-b794-af3a40b2941d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Maven: Running TestSuite Tests run: 0
Hi Team, I am working on integration of Selenium webdriver with Jenkins using Maven. When I run mvn test I am getting Running TestSuite Tests run: 0. My POM file: http://maven.apache.org/POM/4.0.0; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd;> 4.0.0 project project 0.0.1-SNAPSHOT dev http://rmr.qa/repository/dev/ src ${base.dir}\src\ src **/*.java ${base.dir}\src\test\ **\*.java maven-compiler-plugin 3.3 1.6 1.6 org.apache.maven.plugins maven-surefire-plugin 2.4.3 org.seleniumhq.selenium selenium-java 2.48.0 org.seleniumhq.selenium selenium-server 2.33.0 org.junit junit 1.0 org.testng testng 6.9.9 log4j log4j 1.2.17 net.sourceforge.jexcelapi jxl 2.6.12 javax.mail javax.mail-api 1.5.5 -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/dab5a4ab-1545-44f2-af64-3cf01ec0ee0f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Jenkins failing to take update or CHeck out fresh copy of Code from SVN
Hi Folks, I am new to jenkins. I am working on a project but jenkins failing to take update from SVN every time I am seeing the old code. After restarting the Jenkins it takes out the fresh code. Thanks -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/7d6cd1ac-9bc1-4e80-b0a1-2bbab671af23%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
python code coverage using cobertura plugin in jenkins.
Hi I am new in Jenkins and want to generate my python project code coverage on Jenkins dashboard. I have used Cobertura plugin for doing code coverage. I have successfully display code coverage on dashboard. Now I want to generated package wise code coverage. For this I have generated component\package wise xml files. But Cobertura aggregate all the xml files and display only file wise code coverage. If some one have any idea on this Please reply on this. Thanks Ravi -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/4a3eea17-9046-415a-bb3b-3c363608c733%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.