Re: Indicate changes since last build

2018-09-07 Thread Craig Rodrigues
I don't have a good answer for you. What I would do is: (1) Iterate over currentBuild.changeSets (2) let prevBuild = currentBuild.previousBuild (3) iterate over the changesets (4) keep going back to the previousBuild, depending on if currentBuild.resultIsWorseOrEqualTo("UNSTABLE") (5) gather

Re: Need Login Help

2018-09-07 Thread Slide
Ok, it looks like in current versions of Jenkins, you need to do a few more steps than just change useSecurity to false. Please take a look at this link ( https://jenkins.io/doc/book/system-administration/security/#disabling-security) and follow the steps there. I recommend stopping the Jenkins

Re: Need Login Help

2018-09-07 Thread Steve Burrus
*Boy Slide this problem is hanging on like a "tenacious bulldog". I did EVERYTHING you recommended that I do but I STILL got the login area. Do you feel like helping me some more?* *On Fri, Sep 7, 2018 at 11:50 AM Slide > wrote:* > *Ok, it looks like in current versions of Jenkins, you need to

Re: Need Login Help

2018-09-07 Thread Slide
Can you send a screenshot of the login area that you are seeing as well as attaching the config.xml file you found (after replacing any company or personal information) that you made the change to? On Fri, Sep 7, 2018 at 9:06 AM Steve Burrus wrote: > > > *NOPE it still didn't work. Even after

Re: Need Login Help

2018-09-07 Thread Steve Burrus
Sure. Is there anytjhing else I should take out of it? 2.121.3 NEW 2 NORMAL false true false ${JENKINS_HOME}/workspace/${ITEM_FULL_NAME} ${ITEM_ROOTDIR}/builds 0 all false false all -1

Re: Need Login Help

2018-09-07 Thread Steve Burrus
Okay "Slide" I have attached the Jenkins login area and below you will see this config.xml file : 2.121.3 NEW 2 NORMAL * false* true true false false ${JENKINS_HOME}/workspace/${ITEM_FULL_NAME} ${ITEM_ROOTDIR}/builds 0

Re: Need Login Help

2018-09-07 Thread Mark Waite
Your search tool may be refusing to index the location where the file is stored. Try a different search technique. Try the following from an Administrator Windows Command Prompt: C:\> FINDSTR /L useSecurity "%ProgramFiles(x86)%" If that doesn't work, you could try installing some other program

Re: Need Login Help

2018-09-07 Thread Slide
Can you resend your new config.xml? On Fri, Sep 7, 2018, 10:05 Steve Burrus wrote: > *Boy Slide this problem is hanging on like a "tenacious bulldog". I did > EVERYTHING you recommended that I do but I STILL got the login area. Do you > feel like helping me some more?* > > > > *On Fri, Sep 7,

Re: Need Login Help

2018-09-07 Thread Slide
I think you need , not (the slash should be at the end). On Fri, Sep 7, 2018 at 10:37 AM Steve Burrus wrote: > Sure. Is there anytjhing else I should take out of it? > > > > > 2.121.3 > NEW > 2 > NORMAL > false > true > > > false >

Re: Don't Use GitHub API For GitHub Organization Job

2018-09-07 Thread Jan Monterrubio
I would assume the use of the GitHub API at the org level is to find all repositories, and then the branches for each repository. That might be the nature of the GitHub Organization folder. Maybe it could be enhanced to use api v4 GraphQL which should get us all the info in one query. On Tue,

Re: How to list pipeline tools from Global Tool Configuration?

2018-09-07 Thread Mr. Laubrino
I have tried /directive-generator but it doesn't show tools version. Neither for example agents' labels. Dne pátek 7. září 2018 15:58:35 UTC+2 Björn Pedersen napsal(a): > > Hi, > > did you try the snippet generator (or the declarative directive > generator)? They both list available tools and

Re: Need Login Help

2018-09-07 Thread Steve Burrus
*Mark I absolutely CANNOT FIND the config.xml file after looking all over for it. Any solutions?* On Thu, Sep 6, 2018 at 9:55 PM Mark Waite wrote: > The file jenkins.exe.config controls the way Windows executes the program > "jenkins.exe". It does not store the global Jenkins configuration.

[ERROR] Failed to execute goal on project bouygues: Could not resolve dependencies for project A:war:1.0.0-SNAPSHOT: Could not find artifact B:jar:1.0.0-SNAPSHOT

2018-09-07 Thread 'Makkaoui Ahmed' via Jenkins Users
Hello please i need a help evry time i try to use mvn install -Diskeptest or mvn pmd:pmd pmd:cpd i get this error i try a many solutions but dosent work *Mekkaoui Ahmed* Tel : (+216) 27678489 E-mail : ahmed.makka...@esprit.tn Réseaux sociaux : https://www.linkedin.com/in/mekkaouiahmed/

jenkins groovy admin script to restart all slaves

2018-09-07 Thread treneva
Hey, Trying to create a script that restarts all slaves using Jenkins Administrative Script console. Script 1: import hudson.util.RemotingDiagnostics; createShellScriptCommand = "echo \"/usr/sbin/shutdown -r now" grantExecutionPrvilige = "chmod +x /home/nirdevadm/shutdown.sh"

Re: How to list pipeline tools from Global Tool Configuration?

2018-09-07 Thread 'Björn Pedersen' via Jenkins Users
Hi, did you try the snippet generator (or the declarative directive generator)? They both list available tools and generate the correct syntax. Björn Am Freitag, 7. September 2018 11:06:05 UTC+2 schrieb Mr. Laubrino: > > Yes, but what I found is that you would need Overall/Administer

Remove keys from multilevel map in Jenkins groovy

2018-09-07 Thread viraj
I have multilevel map like : def someMap = [gen:[type:all], build:[time:6, types:[ TypeA:[type1:[a:true, b:false, c:true, d:true, e:true], type2:[a:true, b:false, c:true, d:true, e:true]], TypeB:[type1:[a:true, b:false, c:true, d:true, e:true]

Re: Cluster not found: amazon-ecs-plugin bug or misconfiguration?

2018-09-07 Thread Ian Price
Actually run *$(**aws ecr get-login --no-include-email --region ) *and you won't have to cut and paste the reply On Thursday, 6 September 2018 20:04:09 UTC+1, Ian Price wrote: > > Check that you have logged in to ECR. From the AWS console go to the* > ECS* service and click on *Repositories*.

Re: How to list pipeline tools from Global Tool Configuration?

2018-09-07 Thread Mr. Laubrino
Yes, but what I found is that you would need Overall/Administer permission to see that. Is it common that a user who can create a pipeline job is also an administrator? Isn't it a drawback of Jenkins system? Dne čtvrtek 6. září 2018 19:29:07 UTC+2 Cuong Tran napsal(a): > > Yes, you must be

Re: Problems with ENV variables in jenkins 2.1.41?

2018-09-07 Thread 'Björn Pedersen' via Jenkins Users
Hi, Am Mittwoch, 5. September 2018 12:46:50 UTC+2 schrieb Gorgonz ola: > > Again, I'm new to jenkins. So maybe someone should validate, that it is > the jenkins version and not a different presumption ;-) > > Using jenkins 2.1.40 with opensuse leap 15.0: > What are the jenkins versions (as

Re: Problems with ENV variables in jenkins 2.1.41?

2018-09-07 Thread 'Björn Pedersen' via Jenkins Users
> And what global config are you referring to? > Manage jenkins -> global properties -> Environment variables ? > ==> works ok on 2.141 here > Node config -> Node properties -> Environment variables? > ==> A global vars are not overriden by node vars ==> If defined just as node

When does user-agent include signature "aws-sdk-java/1.11.341 Linux/3.10.0-693.5.2.el7.x86_64 OpenJDK_64-Bit_Server_VM/25.151-b12 java/1.8.0_151 groovy/2.4.11"

2018-09-07 Thread Surya
Can someone identify when does a request from Jenkins server have user agent set as ""aws-sdk-java/1.11.341 Linux/3.10.0-693.5.2.el7.x86_64 OpenJDK_64-Bit_Server_VM/25.151-b12 java/1.8.0_151 groovy/2.4.11"? We are investigating how our Jenkins server compromised where the hacker seems to have

How to use containerTemplates in declarative kubernetes agent definition

2018-09-07 Thread Matt Buckland
Hello list, I'm running jenkins inside k8s: jenkins/jenkins:lts jenkins/jnlp-slave:3.23-1 kubernetes-plugin: 1.12.4 I'm using the following to define my agent: agent { kubernetes { label "${JOB_NAME}" inheritFrom 'default' containerTemplate { name 'jnlp'

Reverse proxy setup is broken

2018-09-07 Thread tcp . siva
Hi , I'm getting this error reverse proxy setup is broken because of which jenkins is unable to update and in Manage plugins section, I'm unable to see any plugin and while trying to check for updates, I'm

Re: JClouds Plugin

2018-09-07 Thread Ali Bazlamit
A friendly nudge, anything on this? On Wed, Sep 5, 2018 at 3:37 PM, Ali Bazlamit wrote: > Hi Fritz, > > Its been a long time since posting my question and i wonder have things > changed in the jclouds-plugin, again it appears when installing the plugin > to jenkins i couldn't find the