slave

how to programatically determine Bluetooth master/slave roles?

白昼怎懂夜的黑 提交于 2019-12-23 03:12:03
问题 So in a bluetooth piconet, there is one master with upto seven slaves. The master sets the clock and frequency hop that the slaves sync with. But is there a way to determine which device is the master and which is the slave? I'm mainly interested in portable devices (Android,iPhone) but beggars can't be choosers, if anybody has info in this field I would be interested. Thanks 回答1: I don't think it's possible to do it programatically.The master/slave roles which a device assumes is invisible

I have an issue running a jenkins job in slave using maven (Maven home doesn´t exist)

我与影子孤独终老i 提交于 2019-12-22 10:33:20
问题 I am experiencing an issue running Jenkins job using slaves. The job is a Maven job, that updates code from svn and then build and run tests, this project runs well in both master and slave as an standalone project. The issue is when Master launch this project in the slave, in that case I see: ... Svn Update OK Error: Maven Home c:\maven doesn´t exist Both servers have maven on that dir, and both servers are able to run the build without master/slave setup. Can you see what is happening? Any

List all jobs, which were running on a specific slave node

♀尐吖头ヾ 提交于 2019-12-13 12:28:37
问题 On our Jenkins master a Multi-configuration project is used to spread a highly parallel task on many slaves which actually do the work. Now I would like to list all jobs, which were running on a specific slave node. Is there a way to achieve this? I see only all matrix sub jobs for one matrix parent job in a big table. Or I can list the history of a single sub job. But if I want to get the connection to the node, where the job was running on, I always have to check the logs. 回答1: You can use

Block a job from running if given node(s) with a given label(s) is/are running another job(s)

只愿长相守 提交于 2019-12-11 14:35:51
问题 In Jenkins, we can block a job A if job B is running using Build blocker plugin . Similarly or in some fashion , I would like a job, for ex: another_dumb_job to NOT run / (wait and let it sit in queue) if there are any in-progress jobs running on any user selected slave(s) until those slaves are free again. For ex: I don't want to run a Job (which will delete bunch of slaves either offline/online -- using a downstream job or via calling some groovy/scriptler script) until any of those slave(s

Restore snapshot before build in jenkins using virtualbox plugin

こ雲淡風輕ζ 提交于 2019-12-11 11:17:31
问题 I'm using VirtualBox plugin on jenkins, to launch different builds retrieving sources from Git. I would like the environment on each VM to be clean by restoring a snapshot before starting them for a build. I tried several things as https://wiki.jenkins-ci.org/display/JENKINS/Slave+Setup+Plugin. Finally I don't think it it's a good solution as it is called after the git repository being clone... But I also tried to launch the slave "via the execution of a command on master", that takes as

What is the password for jenkins user during first installation?

自作多情 提交于 2019-12-11 09:43:54
问题 I want to put one Jenkins server (Ubuntu 12.04) to slave mode. But master machine must know a password for "jenkins" user on a slave machine. How do I specify the password when it has been auto-created during Jenkins installation? 来源: https://stackoverflow.com/questions/12372992/what-is-the-password-for-jenkins-user-during-first-installation

Retrieving Jenkins node variables from master

社会主义新天地 提交于 2019-12-11 09:17:58
问题 So my google-fu has failed me and the Jenkins O'Reilly book isn't helping either. I have a Jenkins setup with a master and 20-odd nodes. I make heavy use of custom environment variables on the nodes, as many of them perform similar tasks, only slightly different platforms. I'm now in a position that I have a job that runs on the master (by necessity), which needs to know certain node properties for any given node, including some of the environment variables that I've set up. Is there any way

Jenkins Slave Node setup

社会主义新天地 提交于 2019-12-11 08:02:46
问题 I have setup a Jenkins master and I want to add a slave node in the same network. Do I need to install Jenkins on the slave machine? Or can I use any arbitrary machine without having to install Jenkins on it first? 回答1: No, you don't need to install Jenkins in any slave machine at all. You will need, if it is a Linux slave, just SSH access enabled. If it is a Windows machine, then Java and connect with the jar provided by Jenkins or through Java Web client. On Linux and for Java, Jenkins will

Use SSH Key from Jenkins Git Plugin to Run Git Commands During Build

半腔热情 提交于 2019-12-10 13:17:46
问题 Our build job on Jenkins runs as part of a release build some git commands like git push and git pull, therefore requires a way to run authenticated git commands from the shell during the build. Our jenkins slaves don't hold any credentials as they are disposable docker containers that are created per build. The git plugin manages this with the Jenkins credentials and "somehow" sets GIT_SSH to pick up a private key that is configured via the credentials. I checked the source code and tried to

How to write data to multiple Bluetooth LE slaves simultaneously on CoreBluetooth?

試著忘記壹切 提交于 2019-12-10 12:15:26
问题 I am new to this. I am trying to work on an iOS application where i can to exchange data to multiple Bluetooth LE slaves. I am able to connect and read from the multiple slaves. But the problem is i can only write (sound buzzer) to only one of them (the latest slave to be connected). I am using the code provided in http://processors.wiki.ti.com/index.php/Category:IPhone4SBLEDemo How is it possible to sound buzzer for all connected devices? ViewController.m - (IBAction)TIBLEUISoundBuzzerButton