How to get logged in username of Jenkins in parameter's Groovy script?

2020-06-10 Thread Gajanan Mahajan
In Jenkins parameter, I'm writing Groovy script and in that script I need to pass Jenkins logged in username NOT user. User and username, could be different Ex - User, that is displayed left to 'log out', could be - Bob Gill and username, used to login - could be - bob User can be retrieved

Amazon EC2: Getting Access Denied trying to use Windows DPAPI

2020-06-10 Thread Carel Combrink
Hi, We are using an AWS EC2 Windows AMI to do our builds from a Jenkins job using the ec2-plugin. Our libraries use the Windows Cryptography API: Next Generation (NG) (DPAPI) to protect sensitive data from C# and C++ components. Our builds succeed without any issue, but our unit test trying to

set build name according to build status

2020-06-10 Thread maple.feng.w...@hotmail.com
Hi, I met a problem about set build name according to build status in Jenkins. My configuration is quite simple, - set build name "Deploying on xxx ..." in build environment - set build name "Deploy on xxx successfully" in conditional steps(current build status, worst: success, best: success)

Jira Trigger Issue with Jenkins plugin

2020-06-10 Thread Vignesh Sundar
We tried to trigger a job in jenkins using jira webhooks when we make changes on jira issue tickets. We are using the below jenkin plugins to configure with Jira. We can successfully configure it with jira using the below plugins separately. I created a job to trigger based on my jira issue

set build name according to build status

2020-06-10 Thread maple.feng.w...@hotmail.com
Hi, I met a problem when I tried to set build name according to build status in Jenkins. My requirement is quite simple, when build is in progress, the build name is "Depolying xxx on xxx ...", when the build succeed, then set build name as "Deploy xxx on xxx successfully", when the build

Vagrant Provision Error

2020-06-10 Thread kathir
> Hi >> >> I have kept my vagrant file and script file in git >> >> I have used vagrant & virtual box plugin >> >> but still I am not able to boot or provision VM >> >> Also I got following error >> >> [vagrantcentosubuntu] $ vagrant -v >> Vagrant 2.2.9 >> [ vagrant ]: Executing command :[vagrant,