Jenkins

Multibranch Pipeline job scan cannot remove files

不问归期 提交于 2020-07-07 20:54:55
问题 We are using Multibranch Pipeline job on Jenkins. It scans branches on master and if there are changes then build is triggered on one of the slaves. However, sometimes during the scan, we receive an exception: java.io.IOException: Unable to delete '/var/lib/jenkins/jobs/sample.job.build/branches/feature-P.of17kqq8ojl6.-PFT-repo'. Tried 3 times (of a maximum of 3) waiting 0.1 sec between attempts. at hudson.Util.deleteRecursive(Util.java:352) at hudson.model.AbstractItem.performDelete

Where does the jenkins shared library files get stored?

﹥>﹥吖頭↗ 提交于 2020-07-06 09:47:29
问题 The shared library files in jenkins are loaded at the beginning of the job, where does it get stored? I am trying to access the dockerfile stored in the shared library, I need the path to give in the docker build command. Is there a way I can find out the place where the shared library files are loaded in jenkins? 回答1: If the shared library is loaded from SCM and your workspace path is jenkins/workspaces/jobName , then a copy is checked out to jenkins/workspaces/jobName@libs or similar (might

This version of OSX is not able to perform the necessary dSYM transformations

↘锁芯ラ 提交于 2020-07-06 07:48:28
问题 [31merror: could not complete submission of dSYM at /Users/XXUSERXX/Library/Developer/Xcode/DerivedData/ProjectName-flcoueeibbfifebpxptgzctdsqel/Build/Intermediates.noindex/ArchiveIntermediates/ProjectNameAlpha/BuildProductsPath/ProjectNameAlpha-iphoneos/ProjectName.app.dSYM: Error Domain=com.crashlytics.mac.error-domain.process-dsym Code=4 "This version of OSX is not able to perform the necessary dSYM transformations." UserInfo={NSLocalizedFailureReason=This version of OSX is not able to

This version of OSX is not able to perform the necessary dSYM transformations

我的未来我决定 提交于 2020-07-06 07:48:03
问题 [31merror: could not complete submission of dSYM at /Users/XXUSERXX/Library/Developer/Xcode/DerivedData/ProjectName-flcoueeibbfifebpxptgzctdsqel/Build/Intermediates.noindex/ArchiveIntermediates/ProjectNameAlpha/BuildProductsPath/ProjectNameAlpha-iphoneos/ProjectName.app.dSYM: Error Domain=com.crashlytics.mac.error-domain.process-dsym Code=4 "This version of OSX is not able to perform the necessary dSYM transformations." UserInfo={NSLocalizedFailureReason=This version of OSX is not able to

WebDriverError: no such session error using ChromeDriver Chrome through Jenkins and Selenium

和自甴很熟 提交于 2020-07-06 05:53:13
问题 Often I am getting no such session error when I am running the scripts from Jenkins. What's the cause for it? Is there any connection failure or is it due to someother reason (I am running around 26 scripts and out of it atleast one script has no such session error) The scripts are different scripts and no such session error is not again repeated for the same scripts 回答1: I met this kind of case sometimes. I use ChromeDriver with Laravel Dusk, rather than Selenium. However, I believe the

WebDriverError: no such session error using ChromeDriver Chrome through Jenkins and Selenium

梦想与她 提交于 2020-07-06 05:51:28
问题 Often I am getting no such session error when I am running the scripts from Jenkins. What's the cause for it? Is there any connection failure or is it due to someother reason (I am running around 26 scripts and out of it atleast one script has no such session error) The scripts are different scripts and no such session error is not again repeated for the same scripts 回答1: I met this kind of case sometimes. I use ChromeDriver with Laravel Dusk, rather than Selenium. However, I believe the

Run docker command on host

▼魔方 西西 提交于 2020-07-04 01:49:26
问题 Can I run docker command on host? I installed aws inside my docker container, now can I somehow use aws command on host (that under the hood will use docker container's aws)? My situation is like that: I have database backups on production host. now I have Jenkins cron job that will take sql file from db container and take it into server folder. Now I also want jenkins to upload this backup file on AWS storage, but on host I have no aws installed, also I don't want to install anything except

Run docker command on host

人走茶凉 提交于 2020-07-04 01:49:20
问题 Can I run docker command on host? I installed aws inside my docker container, now can I somehow use aws command on host (that under the hood will use docker container's aws)? My situation is like that: I have database backups on production host. now I have Jenkins cron job that will take sql file from db container and take it into server folder. Now I also want jenkins to upload this backup file on AWS storage, but on host I have no aws installed, also I don't want to install anything except

Incomplete XSL transformation if using ErrorListener, ONLY on Jenkins

一个人想着一个人 提交于 2020-06-29 03:58:26
问题 I am trying to have an XSL transformation to run on a Jenkins pipeline. I need to catch XSL transformation's xsl:message . In order to achieve so, I added an ErrorListener : final ErrorListener errorListener = new ErrorListener() { final public List<TransformerException> errorList = new LinkedList<>() @Override void warning(final TransformerException e) throws TransformerException { errorList.add(e) } @Override void error(final TransformerException e) throws TransformerException { errorList

Incomplete XSL transformation if using ErrorListener, ONLY on Jenkins

故事扮演 提交于 2020-06-29 03:58:10
问题 I am trying to have an XSL transformation to run on a Jenkins pipeline. I need to catch XSL transformation's xsl:message . In order to achieve so, I added an ErrorListener : final ErrorListener errorListener = new ErrorListener() { final public List<TransformerException> errorList = new LinkedList<>() @Override void warning(final TransformerException e) throws TransformerException { errorList.add(e) } @Override void error(final TransformerException e) throws TransformerException { errorList