Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-4263

Unable to get git number in maven-jgit-buildnumber-plugin, while build cloudstack from outside repository "cloudstack.git"

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.2.0
    • 4.3.0
    • Packaging
    • Security Level: Public (Anyone can view this level - this is the default.)
    • None

    Description

      We have plugin to get build number, its added as part of below commit

      https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=commit;h=96d29c7f3de5b6ad52aaecd633f9b0ef80aae7a0

      I am creating RPM build, by calling below command trough another script, which is outside "cloudstack.git"

      cd $CWD/cloudstack/packaging/centos63
      echo "Performing Campo Packaging"
      ./package.sh --pack nonoss

      [INFO] — maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ cloud-client-ui —
      [INFO] No sources to compile
      [INFO]
      [INFO] — maven-surefire-plugin:2.12:test (default-test) @ cloud-client-ui —
      [INFO] Skipping execution of surefire because it has already been run for this configuration
      [INFO]
      [INFO] — maven-jgit-buildnumber-plugin:1.2.6:extract-buildnumber (git-buildnumber) @ cloud-client-ui —
      [INFO] Cannot extract Git info, maybe custom build with 'pl' argument is running
      [INFO]
      [INFO] — maven-war-plugin:2.3:war (default-war) @ cloud-client-ui —

      Attachments

        Activity

          People

            rayeesn Rayees Namathponnan
            rayeesn Rayees Namathponnan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment