Hello, I am trying to configure Jenkins to build and archive an artifact when I promote a build. This artifact is not built until the project is promoted. So my promotion actions are:
1. Execute shell scripts that build package-name-[whatever].tar.gz 2. Archive the artifacts with path package-name-*.tar.gz 3. Execute shell: ls -la package-name-*.tar.gz My promotion succeeds, but I cannot find the archived artifacts. The end of my promotion log reads: build hudson.tasks.Shell@4d770d16 SUCCESS Archiving artifacts build hudson.tasks.ArtifactArchiver@29b836e9 SUCCESS [package-name] $ /bin/sh -xe /tmp/hudson1077645600041923657.sh + ls -la package-name-[whatever].tar.gz -rw-r--r-- 1 jenkins jenkins 80913057 2012-02-23 12:59 package-name- [whatever].tar.gz build hudson.tasks.Shell@6b9b1775 SUCCESS Finished: SUCCESS The archive does not show up on any of the pages I can think of to look in (/job/package-name, /job/package-name/number, /job/package- name/number/artifact, /job/package-name/number/promotion...). I also have no idea how my action ls -la package-name-*.tar.gz got translated into a command that actually put in the [whatever] part. I added it to verify that the artifact I was trying to archive was present, which it looks to me like it is. I am working with Jenkins v1.444, Promoted Builds 1.9. Thanks for any help you can give me finding my artifacts, Alan
