Re: Do multibranch jobs lead to code duplication?

2020-07-22 Thread 'Dirk Heinrichs' via Jenkins Users
Am Dienstag, den 21.07.2020, 14:37 -0700 schrieb 'Martin Schmude' via Jenkins Users: > If a small change has to be made to the Jenkinsfile, it has to be > applied to all branches. That's true for all code changes which are needed in multiple branches, isn't it? That's called back-/forward

How to trigger a Slave Job

2020-07-22 Thread Salah Uddin Ahmed
Hello, Im new to jenkins, Anybody please help me on an "How to" question? Suppose I have one master node and one slave node, I have a maven project in the slave node. Now I want to trigger the build of the project from the master node pipeline. Is that a meaningful idea? I tried to run the

Jenkins file does not execute 'stage 2'

2020-07-22 Thread gene golub
Hello All, i am new user to Jenkins. for some reasons below Jenkins file does not execute 'Stage 2'. Any help would be apprecuated. pipeline { agent any stages { stage('Stage 1') { steps { bat "echo running batch file : %date% : %time%" bat "dir

Re: Do multibranch jobs lead to code duplication?

2020-07-22 Thread Nick Stolwijk
We use the Jenkins pipeline as a library so our Jenkinsfile is as short as: @Library('Jenkins-pipeline@master')_ def pipelineParams = [ agent: 'Linux', slackChannel: 'build-dev' ] mavenJavaPipeline pipelineParams And the real pipeline code is in a separate repository. If you want to

Robot Framework test run from Jenkins. - No module named robot

2020-07-22 Thread Robert Szabo
Hi, Jenkins cant run my Robot Framework test cases. I run this job in Execute Windows batch command cd C:\work\robot\Es1P\ set PYTHONPATH=C:\Users\robert.szabo\AppData\Roaming\Python\Python37\Scripts echo %PYTHONPATH% python.exe -m robot C:\work\robot\Es1P echo Completed Jenkins run of it

Re: Do multibranch jobs lead to code duplication?

2020-07-22 Thread jeremy mordkoff
How do you normally handle branches and merging? I use the same tools and branching and merging rules as the rest of the team, i.e. development and QA. In our case, the teams are required to merge from master to their project branches on a regular basis, so they will eventually get my changes

Re: Help required: jenkins SSH connectivity issue

2020-07-22 Thread jeremy mordkoff
ouch. I always keep one window open ssh'd in as root when I play with sshd_config. Hopefully you have console access and a username/password with sudo rights. On Monday, July 20, 2020 at 5:43:39 PM UTC-4, Sakshi Rathore wrote: > > 0I have a bash script which connects and exexutes programs from

Need help in displaying RDPs on the machines

2020-07-22 Thread 'Rajat Gupta' via Jenkins Users
Hello, I am trying to connect the RDP servers via jenkins and keep them in displayed mode , but i'm failing to do so. I've tried running the mstsc command from the cmd or even the batch file, the RDP is displayed but then either the job is stuck or the RDP exits after sometimes after the job is

Re: Get list of users who has access to a project role

2020-07-22 Thread Jose Diaz
This worked for me on python 3: from xml.dom import minidom xmldoc = minidom.parse('config.xml') roleList = xmldoc.getElementsByTagName('role') for role in roleList: roleName = role.attributes['name'].value print("Role:" + roleName) userList =

How to test jenkins upgrades for failures with plugins?

2020-07-22 Thread Guruprakash Srinivasamurthy
Hi, With every upgrade of jenkins master, some plugins seem to be fail. Is there an automated way to test the integrity of the plugins that are failing? Thanks -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group

Re: Help required: jenkins SSH connectivity issue

2020-07-22 Thread sakshira...@gmail.com
thanks, i tried in this way also by overrirding file but connection is not established. during more workaround i tried editing sshd config for parameter PermitRootLogin yes but after this change i am not able to login into server itself using ssh key. Is there any suggestion how can i revert