[JIRA] (JENKINS-50218) Conan init fails when using Artifactory plugin

2019-07-30 Thread jgs...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Javier G. Sogo commented on  JENKINS-50218  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Conan init fails when using Artifactory plugin   
 

  
 
 
 
 

 
 Hi! I've just submitted a PR that could fix this issue: https://github.com/jfrog/jenkins-artifactory-plugin/pull/178. Thanks for the feedback!  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.189242.152120704.3927.1564485600338%40Atlassian.JIRA.


[JIRA] (JENKINS-50218) Conan init fails when using Artifactory plugin

2018-03-28 Thread ovidiu....@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ovidiu-Florin Bogdan edited a comment on  JENKINS-50218  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Conan init fails when using Artifactory plugin   
 

  
 
 
 
 

 
 {{ I've found that this particular error is happening only when the  `  * CONAN_USER_HOME ` *   env variable is set, or when the home is set via the  `  * Artifactory.newConanClient() ` ` * _* userHome ` *_  argument. }} You  *  MUST *  leave the  `  * CONAN_USER_HOME ` *  unset, and let the Artifactory plugin set it. Otherwise it blows.  
 

  
 
 
 
 

 
 
 

 
 
 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 Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-50218) Conan init fails when using Artifactory plugin

2018-03-28 Thread ovidiu....@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ovidiu-Florin Bogdan commented on  JENKINS-50218  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Conan init fails when using Artifactory plugin   
 

  
 
 
 
 

 
 I've found that this particular error is happening only when the `CONAN_USER_HOME` env variable is set, or when the home is set via the `Artifactory.newConanClient()` `userHome` argument. You MUST leave the `CONAN_USER_HOME` unset, and let the Artifactory plugin set it. Otherwise it blows.  
 

  
 
 
 
 

 
 
 

 
 
 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 Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-50218) Conan init fails when using Artifactory plugin

2018-03-16 Thread ovidiu....@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ovidiu-Florin Bogdan created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-50218  
 
 
  Conan init fails when using Artifactory plugin   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Eyal Ben Moshe  
 
 
Components: 
 artifactory-plugin  
 
 
Created: 
 2018-03-16 13:30  
 
 
Environment: 
 Jenkins 2.89.4 (using Official jenkins/jenkins:2.89.4 docker image)  Artifactory plugin 2.15.0  
 
 
Labels: 
 plugin pipeline  
 
 
Priority: 
  Blocker  
 
 
Reporter: 
 Ovidiu-Florin Bogdan  
 

  
 
 
 
 

 
 When using the Artifactory plugin in a Jenkins pipeline, the job fails because the conan_log.log file is missing. I guess this is happening during the initialization of the conan client.   Pipeline: 

 

pipeline {
  agent none
  stages {
stage('Build') {
  parallel {
stage('Build Linux') {
  agent {
docker {
  image 'internalDockerImage'
  label 'linux'
}

  }
  environment {
CONAN_USER_HOME = "${env.WORKSPACE}/conan_home"
  }
  steps {
script {
  def client = Artifactory.newConanClient()
  def server_name = client.remote.add server: server, repo: artifactory_repo

  client.run(command: "config install https://git-repo/conan-settings/archive/master.zip")
  client.run(command: "create --profile Linux-Release . ourteam/unstable")
  client.run(command: "create --profile Linux-Debug . ourteam/unstable")