[JIRA] [copyartifact] (JENKINS-17702) CopyArtifact with parameter selection fails when parameters changed

2014-08-17 Thread de...@ikedam.jp (JIRA)















































ikedam
 resolved  JENKINS-17702 as Cannot Reproduce


CopyArtifact with parameter selection fails when parameters changed
















Could not reproduce even with the new information. I tested with Jenkins 1.480.3 + Copyartifact 1.26 + Subversion 1.39 (bundled with Jenkins 1.480.3):


	Create a free style project "ProjectX"
	
		Create a file "artifact.txt" with its content "without_parameter"
		Archive artifact.txt
	
	
	Run ProjectX
	Update ProjectX
	
		Add a List Subversion tags parameter:
		
			Name: MY_X_PARAM
			Repository URL: https://svn.jenkins-ci.org/branches/
		
		
		Change the name of the artifact to "artifact2.txt" (both copyartifact and archive) and its content to "parameter=${MY_X_PARAM}"
	
	
	Run ProjectX with MY_X_PARAM=HUDSON-1467
	Create a free style project "ProjectY"
	
		Add a string parameter "USE_X_PARAM"
		Add a Build selector for Copy Artifact parameter "PROJECT_X_BUILD"
		Add "Copy artifact from another project"
		
			Project name: "ProjectX"
			Which build: Specified by a build parameter
			Parameter Name: PROJECT_X_BUILD
			Artifacts to copy: artifact2.txt
			Target directory: packages
			Parameter filters: MY_X_PARAM=${USE_X_PARAM}
		
		
		Output the contents of packages/artifact2.txt
	
	
	Run ProjectY with USE_X_PARAM=HUDSON-1467 and PROJECT_X_BUILD=Latest successful build



Result:

	The build of ProjectY succeeded.
	The output was: parameter=HUDSON-1467







Change By:


ikedam
(17/Aug/14 10:23 AM)




Status:


Open
Resolved





Resolution:


Cannot Reproduce



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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] [copyartifact] (JENKINS-17702) CopyArtifact with parameter selection fails when parameters changed

2014-08-13 Thread tom.ghyseli...@excentis.com (JIRA)














































Tom Ghyselinck
 commented on  JENKINS-17702


CopyArtifact with parameter selection fails when parameters changed















Hi,

Thank you for the reply!

The procedure is correct as you tested it, but maybe two important differences with our setup:

	We use List Subversion tags (and more) parameter in ProjectX:

Name : MY_X_PARAM
Repository URL : svn+ssh://subversion.company.com/repo/branches
Tags filter :
Default value : test
Maximum tags to display :

Sort newest first : enabled
Sort Z to A : disabled
	In step 3, we also changed the artifacts: artifact.txt -> artifact2.txt
The ProjectY Copy artifacts from another project configuration:

Project name : ProjectX
Which build : Specified by a build parameter
Parameter Name : PROJECT_X_BUILD
Artifacts to copy : artifact2.txt
Target directory : packages
Parameter filters : MY_X_PARAM=${USE_X_PARAM}
where

PROJECT_X_BUILD: Build selector for Copy Artifact, defaulting to Last successful build
USE_X_PARAM: Choice parameter with choices test, ...



I hope this update helps to reproduce the issue!

Thank you very much in advance!

With best regards,
Tom.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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] [copyartifact] (JENKINS-17702) CopyArtifact with parameter selection fails when parameters changed

2014-08-13 Thread tom.ghyseli...@excentis.com (JIRA)














































Tom Ghyselinck
 updated  JENKINS-17702


CopyArtifact with parameter selection fails when parameters changed
















Change By:


Tom Ghyselinck
(13/Aug/14 7:14 AM)




Priority:


Blocker
Critical



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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] [copyartifact] (JENKINS-17702) CopyArtifact with parameter selection fails when parameters changed

2014-08-12 Thread de...@ikedam.jp (JIRA)














































ikedam
 commented on  JENKINS-17702


CopyArtifact with parameter selection fails when parameters changed















Could not reproduce. I tested with Jenkins 1.480.3 + Copyartifact 1.26:


	Create a free style project "ProjectX"
	
		Create a file "artifact.txt" with its content "without_parameter"
		Archive artifact.txt
	
	
	Run ProjectX
	Update ProjectX
	
		Add a choice parameter "MY_X_PARAM" with values only "test".
		Change the content of artifact.txt to "parameter=${MY_X_PARAM}"
	
	
	Run ProjectX (with MY_X_PARAM=test)
	Create a free style project "ProjectY"
	
		Add "Copy artifact from another project"
		
			Project name: "ProjectX"
			Which build: Latest successful build
			Parameter filters: MY_X_PARAM=test
		
		
		Output the contents of artifact.txt
	
	
	Run ProjectY



Result:

	The build of ProjectY succeeded.
	The output was: parameter=test



Please report the detailed step to reproduce.
I'll close this issue in a month.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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] [copyartifact] (JENKINS-17702) CopyArtifact with parameter selection fails when parameters changed

2013-04-22 Thread tom.ghyseli...@excentis.com (JIRA)














































Tom Ghyselinck
 created  JENKINS-17702


CopyArtifact with parameter selection fails when parameters changed















Issue Type:


Bug



Assignee:


Unassigned


Components:


copyartifact



Created:


22/Apr/13 2:10 PM



Description:


Copy Artifact fails from (source) projects when
their build parameters changed between different builds

e.g. When ProjectY copies artifacts from ProjectX with parameter MY_X_PARAM=test
ProjectY CopyArtifact fails when
build #1 for ProjectX used no parameters,
build #2 for ProjectX has (choice) parameter MY_X_PARAM=test




Environment:


Jenkins 1.480.3

CopyArtifact 1.26




Project:


Jenkins



Labels:


copyartifact
plugin
parameterized
parameter
build




Priority:


Blocker



Reporter:


Tom Ghyselinck

























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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/groups/opt_out.