Re: Checkout will put the files on agent, I need it on master node Jenkins
Thank you Mark let me try this approach. Thanks, Nav -- 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/f86bbcb6-f9c6-4b92-9bff-8a2d1d429f4c%40googlegroups.com.
Re: Checkout will put the files on agent, I need it on master node Jenkins
Thank you. Master node executors 0 and we don't to provide executors to any numbers for good practices. I am not using any labels on the job too. Thanks, Nav -- 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/8c9564f6-62a2-4fde-8b62-c97b107bdb33%40googlegroups.com.
Checkout will put the files on agent, I need it on master node Jenkins
Hi Everyone, The checkout will put the files on the agent, I need it on the master node. Could anyone can help me. Is there anyway to setup another Jenkins job that can copy the code on the master? Currently, I am copy file.sh in manually on the master, and calling that file in Jenkins job using In job, I am using *execute groovy system script plugin* and passing the Master node local path /home/file.sh def sout = new StringBuilder(), serr = new StringBuilder() def proc = '/home/file.sh'.execute() proc.consumeProcessOutput(sout, serr) I am not sure if in *executed groovy system script *we can so pass svn path location. Thanks, Nav -- 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/d1dd39b2-4851-4784-a18b-3a6f0fe50e77%40googlegroups.com.
Jenkins to connect DB Protect
Hi All, We have Jenkins Job and we have label as a slave(DB ProtectSer ) , In DB ProtectSer slave (DB Protect is installed and configured ) and our Jenkins job could able to execute *manual *commands which will connect DB Protect server, but every time And then we need to login to the DB Protect Server and Get the Job name and Job Id in our case 355XX. So I am looking for a DB Protect API which will get the details using Jenkins. Example To connect to the DB F:\Trustwave\DbProtect\EnterpriseServicesHost\util\ExportAssets.bat -a -u username -p ENV:variable111 And then we need to login to the DB Protect Server and Get the Job name and Job Id in our case 355XX. To start the job manualy from jenkins F:\Trustwave\DbProtect\EnterpriseServicesHost\util\JobInstance.bat -start -j DBProject_sample_Job_ -o "/DSB Oracle" -u username -p ENV:variable1 JobInstance.bat -i 355XX -u username -p ENV:variable111-status Once we get Id we To start the job manually from Jenkins F: powershell F:\workspace\DBProtect_TEST\reportGather.ps1 355XX start the job manually from Jenkins cd F:\windows powershell F:\workspace\DBProtect_TEST\reportGather.ps1 381XX copy F:\Trustwave\DbProtect\Analytics\content\report_store\x.xxxd5d.pdf D:\workspace\jenkinsworkspacelcationxx Could any please help. I am not sure how to use* DB Protect API to Jenkins*? How Jenkins get the details from the DB Project Server by API? like Jobs, and the Job Id. Thanks, Nav -- 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/bc73faa8-d60e-40d0-9d3f-d970dc4cde77%40googlegroups.com.
Re: Upload jars or Bundle to Nexus using Jenkins Job and some repository are not uploading the jars or bundle to Nexus
Thank you Gunduzalp!! I was getting an error on Jenkins Build Return code is: 401, ReasonPhrase: Unauthorized. Thanks, Nav On Wednesday, November 13, 2019 at 4:32:06 PM UTC-5, Yilmaz Gunduzalp wrote: > > Do you get any errors? It could be a ssl certificate issue -- 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/268c1f5a-52ad-4b15-9e3f-8130ce2992ee%40googlegroups.com.
Upload jars or Bundle to Nexus using Jenkins Job and some repository are not uploading the jars or bundle to Nexus
Hi All, I have a Jenkins job which takes multiple parameters, one of the Parameter we have the Name: repository with choice (xxx_snapshots_xxx, xxx_releases_xxx, xxx_thirdParty_xxx ) which basically repository to upload. In Jenkins Job, we have Build Environment step with conditional steps(multiple) for (xxx_snapshots_xxx, xxx_releases_xxx, xxx_thirdParty_xxx ) -->conditional steps(multiple) in Jenkins Job steps we have Inject environment variable in that have 2 section Properties File Path Properties Content :- url=https://xxx.xxx.xxx/nexus//repositories_xxx/snapshots_xxx repoID=snapshots xxx_snapshots_xxx, xxx_releases_xxx, uploads work fine but not xxx_ thirdParty_xxx. In execute shell we have mvn -e deploy:deploy-file \ -Dfile=file \ -DgroupId=${groupid} \ -DartifactId=${artifactid} \ -Dversion=${version} \ -Dpackaging=${extension} \ -Durl=${url} \ ${optional_classifier} \ -DrepositoryId=${repoID} if the condition doesn't meet which will return ${classifier} If condition met which will return optional_classifier=-Dclassifier=${classifier} Jenkins Job is Not uploading xxx_thirdParty_xxx to nexus. Could anyone please let me know what might be the problem. Thanks, Nav -- 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/68cb767a-9b3f-4ba8-a1ad-f8603365c85f%40googlegroups.com.