[JIRA] (JENKINS-54281) Test Result Trend is broken

2018-10-26 Thread kostya.ri...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Konstantin Ripak created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-54281  
 
 
  Test Result Trend is broken   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Nikolas Falco  
 
 
Attachments: 
 installed_plugins.log, Screenshot from 2018-10-26 21-44-02.png, test_project.tar.gz  
 
 
Components: 
 xunit-plugin  
 
 
Created: 
 2018-10-26 18:52  
 
 
Environment: 
 Jenkins Version: 2.138.2  
 
 
Priority: 
  Major  
 
 
Reporter: 
 Konstantin Ripak  
 

  
 
 
 
 

 
 The image that should show test results is broken. Howewer, test results are accessible and seem to be ok. Installed plugins and versions: installed_plugins.log Test project attached. test_project.tar.gz Sample pipeline: 

 

pipeline {
agent {
node {
label 'ubuntu14.04'   
}
}

stages {
stage("checkout") {
steps {
checkout scm
}
}
stage("build") {
steps {
sh "cmake ."
sh '/usr/bin/cmake --build . -- test ARGS="--no-compress-output -T Test"'
sh "ls -la  Testing/*"
xunit([CTest(deleteOutputFiles: true, failIfNotNew: true, pattern: 'Testing/*/Test.xml', skipNoTestFiles: false, stopProcessingIfError: true)])
}
}
}
}
 

  
 

[JIRA] (JENKINS-43050) SSH Agent plugin doesn't work well with docker pipelines

2018-02-22 Thread kostya.ri...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Konstantin Ripak commented on  JENKINS-43050  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: SSH Agent plugin doesn't work well with docker pipelines   
 

  
 
 
 
 

 
 Well, I think I found how to reproduce the issue. The following code works as expected if running on non-docker agent and does not work inside docker:   

 

agent {
    docker {
    label 'bsp'
    image 'my-registry/my-image'
    reuseNode true
}
}
stage("Some stage") {
steps {
    sshagent(['some-id']) {
script {
   sh "# some code that uses ssh"
    }
    }
    }
} 

   However, if I put sshagent() inside script {...} block it works: 

 

agent {
    docker {
    label 'bsp'
    image 'my-registry/my-image'
    reuseNode true
}
}
stage("Some stage") {
steps {
script {
sshagent(['some-id']) {
   sh "# some code that uses ssh"
    }
    }
    }
} 

    
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins