Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-7504

'Deploy artifacts to maven repository' post-build action causes build to fail with 'No artifacts are recorded. Is this a Maven project?' message

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • maven-plugin
    • None
    • centos
      hudson version: 1.376
      maven version: 2.2.1

      I have create a maven2 job in hudson and pointed it at my parent pom file. The modules and parent build just fine if I use any maven goal. But, if I select the post-build option 'Deploy artifacts to maven repository', then the build will fail right away with the parent pom, even though all the modules proceed to build just fine. Here is the console output for the parent job:

      Started by user admin
      Using master perforce client: hudson-maven
      [workspace] $ /acc1/hudson/bin/p4 workspace -o hudson-maven
      Saving modified client hudson-maven
      [workspace] $ /acc1/hudson/bin/p4 -s client -i
      Last sync'd change: 47960
      [workspace] $ /acc1/hudson/bin/p4 counter change
      Sync'ing workspace to changelist 47960.
      [workspace] $ /acc1/hudson/bin/p4 sync //hudson-maven/...@47960
      Sync complete, took 159 ms
      Parsing POMs
      Triggering com.netbase:netbase
      No artifacts are recorded. Is this a Maven project?
      Finished: FAILURE
      

            Unassigned Unassigned
            swolk swolk
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: