I have a bamboo job that pulls a git repo and successfully builds an RPM. However I can't figure out how to get the bamboo job to recognize the RPM artifact correctly.
Here is the successful RPM creation via script:
| 09-Apr-2015 19:09:59 | Wrote: /home/jira/rpmbuild/RPMS/noarch/project-1.3.3-1.noarch.rpm |
| 09-Apr-2015 19:09:59 | Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.mzy1wM |
| 09-Apr-2015 19:09:59 | + umask 022 |
| 09-Apr-2015 19:09:59 | + cd /home/jira/rpmbuild/BUILD |
| 09-Apr-2015 19:09:59 | + cd project-1.3.3 |
| 09-Apr-2015 19:09:59 | + /usr/bin/rm -rf /home/jira/rpmbuild/BUILDROOT/project-1.3.3-1.x86_64 |
| 09-Apr-2015 19:09:59 | + exit 0 |
| 09-Apr-2015 19:09:59 | Unable to publish artifact [project RPM]: null |
Here is the job artifact settings:
- Location: /home/jira/rpmbuild/RPMS/noarch/
Any idea what I'm doing wrong?