Quantcast

Maven + release plugin + Git

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Maven + release plugin + Git

Johannes Schneider
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I tried to release a maven project with Git as scm. Unfortuantely it
does not work.
Here is the log. Any ideas?
Maybe the problem is related to merge before build?


Started by user johannes
Checkout:workspace / /var/lib/hudson/jobs/com.cedarsoft.open/workspace -
hudson.remoting.LocalChannel@1cfc547
Using strategy: Default
Last Built Revision: Revision f741410fa2471368ce4f47cde82abeb03d8ecd82
(origin/pu)
Checkout:workspace / /var/lib/hudson/jobs/com.cedarsoft.open/workspace -
hudson.remoting.LocalChannel@1cfc547
GitAPI created
Fetching changes from the remote Git repository
Fetching upstream changes from
ssh://git.cedarsoft.com/git/com.cedarsoft.open
[workspace] $ git fetch -t
ssh://git.cedarsoft.com/git/com.cedarsoft.open
+refs/heads/*:refs/remotes/origin/*
[workspace] $ git ls-tree HEAD
[workspace] $ git rev-parse origin/pu
Commencing build of Revision f741410fa2471368ce4f47cde82abeb03d8ecd82
(origin/pu)
GitAPI created
Merging Revision f741410fa2471368ce4f47cde82abeb03d8ecd82 (origin/pu)
onto master
[workspace] $ git rev-parse origin/master
[workspace] $ git checkout -f f741410fa2471368ce4f47cde82abeb03d8ecd82
[workspace] $ git merge f741410fa2471368ce4f47cde82abeb03d8ecd82
[workspace] $ git tag -a -f -m "Hudson Build #31"
hudson-com.cedarsoft.open-31
Warning : There are multiple branch changesets here
[workspace] $ git whatchanged --no-abbrev -M --pretty=raw
f741410fa2471368ce4f47cde82abeb03d8ecd82..f741410fa2471368ce4f47cde82abeb03d8ecd82
Seen branch in repository origin/maint-2.0
Seen branch in repository origin/pu
Seen branch in repository origin/master
Parsing POMs
[workspace] $ java -Xmx512M -XX:MaxPermSize=512M -cp
/var/lib/hudson/plugins/maven-plugin/WEB-INF/lib/maven-agent-1.369.jar:/var/lib/hudson/tools/Default/boot/classworlds-1.1.jar
hudson.maven.agent.Main /var/lib/hudson/tools/Default
/var/run/hudson/war/WEB-INF/lib/remoting-1.369.jar
/var/lib/hudson/plugins/maven-plugin/WEB-INF/lib/maven-interceptor-1.369.jar
54869
/var/lib/hudson/plugins/maven-plugin/WEB-INF/lib/maven2.1-interceptor-1.2.jar
<===[HUDSON REMOTING CAPACITY]===>���channel started
Executing Maven:  -B -f
/var/lib/hudson/jobs/com.cedarsoft.open/workspace/pom.xml
-
-Dmaven.repo.local=/var/lib/hudson/jobs/com.cedarsoft.open/workspace/.repository
- -Dproject.rel.com.cedarsoft:open=3.0.6
- -Dproject.dev.com.cedarsoft:open=3.0.7-SNAPSHOT -Dresume=false
release:prepare release:perform
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'release'.
[INFO]
- ------------------------------------------------------------------------
[INFO] Building cedarsoft Open
[INFO]    task-segment: [release:prepare, release:perform]
(aggregator-style)
[INFO]
- ------------------------------------------------------------------------
[INFO] [release:prepare {execution: default-cli}]
[INFO] Verifying that there are no local modifications...
[INFO] Executing: /bin/sh -c cd
/var/lib/hudson/jobs/com.cedarsoft.open/workspace && git status
[INFO] Working directory: /var/lib/hudson/jobs/com.cedarsoft.open/workspace
[INFO] Checking dependencies and plugins for snapshots ...
[INFO] Transforming 'cedarsoft Open'...
[INFO] Not generating release POMs
[INFO] Executing goals 'clean install'...
[INFO] Warning: JAVA_HOME environment variable is not set.
[INFO] [INFO] Scanning for projects...
[INFO] [INFO]
- ------------------------------------------------------------------------
[INFO] [INFO] Building cedarsoft Open
[INFO] [INFO]    task-segment: [clean, install]
[INFO] [INFO]
- ------------------------------------------------------------------------
[INFO] [INFO] [clean:clean {execution: default-clean}]
[INFO] [INFO] Deleting
/var/lib/hudson/jobs/com.cedarsoft.open/workspace/target
[INFO] [INFO] [enforcer:enforce {execution: enforce-plugin-versions}]
[INFO] [INFO] [site:attach-descriptor {execution:
default-attach-descriptor}]
[INFO] [INFO] Preparing source:jar
[INFO] [WARNING] Removing: jar from forked lifecycle, to prevent
recursive invocation.
[INFO] [INFO] [enforcer:enforce {execution: enforce-plugin-versions}]
[INFO] [INFO] [source:jar {execution: default}]
[INFO] [INFO] [jar:test-jar {execution: default}]
[INFO] [WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] [INFO] Building jar:
/var/lib/hudson/jobs/com.cedarsoft.open/workspace/target/open-3.0.6-tests.jar
[INFO] [INFO] [license:check {execution: default}]
[INFO] [INFO] Checking licenses...
[INFO] [WARNING] Property 'strictChecking' is not enabled. Please
consider adding <strictChecking>true</strictChecking> in your pom.xml file.
[INFO] [WARNING] See
http://code.google.com/p/maven-license-plugin/wiki/Configuration for
more information.
[INFO] [WARNING] Unknown file extension:
/var/lib/hudson/jobs/com.cedarsoft.open/workspace/convertToJUnit
[INFO] [WARNING] Unknown file extension:
/var/lib/hudson/jobs/com.cedarsoft.open/workspace/pom.xml.releaseBackup
[INFO] [INFO] [install:install {execution: default-install}]
[INFO] [INFO] Installing
/var/lib/hudson/jobs/com.cedarsoft.open/workspace/pom.xml to
/var/lib/hudson/jobs/com.cedarsoft.open/workspace/.repository/com/cedarsoft/open/3.0.6/open-3.0.6.pom
[INFO] [INFO] Installing
/var/lib/hudson/jobs/com.cedarsoft.open/workspace/target/open-3.0.6-tests.jar
to
/var/lib/hudson/jobs/com.cedarsoft.open/workspace/.repository/com/cedarsoft/open/3.0.6/open-3.0.6-tests.jar
[INFO] [INFO]
- ------------------------------------------------------------------------
[INFO] [INFO] BUILD SUCCESSFUL
[INFO] [INFO]
- ------------------------------------------------------------------------
[INFO] [INFO] Total time: 3 seconds
[INFO] [INFO] Finished at: Sat Aug 07 14:18:33 CEST 2010
[INFO] [INFO] Final Memory: 21M/197M
[INFO] [INFO]
- ------------------------------------------------------------------------
[INFO] Checking in modified POMs...
[INFO] Executing: /bin/sh -c cd
/var/lib/hudson/jobs/com.cedarsoft.open/workspace && git add -- pom.xml
[INFO] Working directory: /var/lib/hudson/jobs/com.cedarsoft.open/workspace
[INFO] Executing: /bin/sh -c cd
/var/lib/hudson/jobs/com.cedarsoft.open/workspace && git status
[INFO] Working directory: /var/lib/hudson/jobs/com.cedarsoft.open/workspace
[INFO] Executing: /bin/sh -c cd
/var/lib/hudson/jobs/com.cedarsoft.open/workspace && git commit
- --verbose -F /tmp/maven-scm-1576484094.commit pom.xml
[INFO] Working directory: /var/lib/hudson/jobs/com.cedarsoft.open/workspace
[INFO] Executing: /bin/sh -c cd
/var/lib/hudson/jobs/com.cedarsoft.open/workspace && git symbolic-ref HEAD
[INFO] Working directory: /var/lib/hudson/jobs/com.cedarsoft.open/workspace
[HUDSON] Archiving
/var/lib/hudson/jobs/com.cedarsoft.open/workspace/pom.xml to
/var/lib/hudson/jobs/com.cedarsoft.open/modules/com.cedarsoft$open/builds/2010-08-07_14-18-24/archive/com.cedarsoft/open/3.0.6-SNAPSHOT/pom.xml
[INFO]
- ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
- ------------------------------------------------------------------------
[INFO] An error is occurred in the checkin process: Exception while
executing SCM command.

Detecting the current branch failed: fatal: ref HEAD is not a symbolic ref

[INFO]
- ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
- ------------------------------------------------------------------------
[INFO] Total time: 8 seconds
[INFO] Finished at: Sat Aug 07 14:18:34 CEST 2010
[INFO] Final Memory: 18M/202M
[INFO]
- ------------------------------------------------------------------------
channel stopped
GitAPI created
[workspace] $ git tag -d hudson-com.cedarsoft.open-31
[workspace] $ git tag -a -f -m "Hudson Build #31"
hudson-com.cedarsoft.open-31-FAILURE
Finished: FAILURE

- --
Johannes Schneider - blog.cedarsoft.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQEcBAEBAgAGBQJMXU96AAoJEAytD9R7Qv6dKP4H+wY1mr8oZiimq5GVPk/lJo/g
PdLpIOKytDEjorRzXq6WhovAIUOD7t60FnYUpuCtoQDRm6WVL+E7nAgLZR18jyCt
8RCE9QZjj8ZUihevxzINBUi5CLIJX/LR7eUeHa0eoq6qf3u5niD4+k+KlfscBfat
OgPD8ZmK9+Smobp1+n/cGRvrXDDNeLAsGhUD2Khff5FHRX1nhvQ71eFJDossT4+N
0Tjmcr8vFA0PLR77fdxu6wfrDExtdvjAE4QirBzOcqyngw3Krn4dyajVXYi73xAV
7GLl+PKAwqJRiOF12zNDWMTmgdebqLzcaDGxb1GbnWJA4XlMf3Mhsrt7vP7Wxtk=
=UN0e
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Maven + release plugin + Git

Andrew Bayer
Try with Git plugin 1.0, and make sure to configure it to checkout to a branch in the advanced options - I think that should help.

A.

On Sat, Aug 7, 2010 at 5:20 AM, Johannes Schneider <[hidden email]> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I tried to release a maven project with Git as scm. Unfortuantely it
does not work.
Here is the log. Any ideas?
Maybe the problem is related to merge before build?


Started by user johannes
Checkout:workspace / /var/lib/hudson/jobs/com.cedarsoft.open/workspace -
hudson.remoting.LocalChannel@1cfc547
Using strategy: Default
Last Built Revision: Revision f741410fa2471368ce4f47cde82abeb03d8ecd82
(origin/pu)
Checkout:workspace / /var/lib/hudson/jobs/com.cedarsoft.open/workspace -
hudson.remoting.LocalChannel@1cfc547
GitAPI created
Fetching changes from the remote Git repository
Fetching upstream changes from
ssh://git.cedarsoft.com/git/com.cedarsoft.open
[workspace] $ git fetch -t
ssh://git.cedarsoft.com/git/com.cedarsoft.open
+refs/heads/*:refs/remotes/origin/*
[workspace] $ git ls-tree HEAD
[workspace] $ git rev-parse origin/pu
Commencing build of Revision f741410fa2471368ce4f47cde82abeb03d8ecd82
(origin/pu)
GitAPI created
Merging Revision f741410fa2471368ce4f47cde82abeb03d8ecd82 (origin/pu)
onto master
[workspace] $ git rev-parse origin/master
[workspace] $ git checkout -f f741410fa2471368ce4f47cde82abeb03d8ecd82
[workspace] $ git merge f741410fa2471368ce4f47cde82abeb03d8ecd82
[workspace] $ git tag -a -f -m "Hudson Build #31"
hudson-com.cedarsoft.open-31
Warning : There are multiple branch changesets here
[workspace] $ git whatchanged --no-abbrev -M --pretty=raw
f741410fa2471368ce4f47cde82abeb03d8ecd82..f741410fa2471368ce4f47cde82abeb03d8ecd82
Seen branch in repository origin/maint-2.0
Seen branch in repository origin/pu
Seen branch in repository origin/master
Parsing POMs
[workspace] $ java -Xmx512M -XX:MaxPermSize=512M -cp
/var/lib/hudson/plugins/maven-plugin/WEB-INF/lib/maven-agent-1.369.jar:/var/lib/hudson/tools/Default/boot/classworlds-1.1.jar
hudson.maven.agent.Main /var/lib/hudson/tools/Default
/var/run/hudson/war/WEB-INF/lib/remoting-1.369.jar
/var/lib/hudson/plugins/maven-plugin/WEB-INF/lib/maven-interceptor-1.369.jar
54869
/var/lib/hudson/plugins/maven-plugin/WEB-INF/lib/maven2.1-interceptor-1.2.jar
<===[HUDSON REMOTING CAPACITY]===>���channel started
Executing Maven:  -B -f
/var/lib/hudson/jobs/com.cedarsoft.open/workspace/pom.xml
-
-Dmaven.repo.local=/var/lib/hudson/jobs/com.cedarsoft.open/workspace/.repository
- -Dproject.rel.com.cedarsoft:open=3.0.6
- -Dproject.dev.com.cedarsoft:open=3.0.7-SNAPSHOT -Dresume=false
release:prepare release:perform
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'release'.
[INFO]
- ------------------------------------------------------------------------
[INFO] Building cedarsoft Open
[INFO]    task-segment: [release:prepare, release:perform]
(aggregator-style)
[INFO]
- ------------------------------------------------------------------------
[INFO] [release:prepare {execution: default-cli}]
[INFO] Verifying that there are no local modifications...
[INFO] Executing: /bin/sh -c cd
/var/lib/hudson/jobs/com.cedarsoft.open/workspace && git status
[INFO] Working directory: /var/lib/hudson/jobs/com.cedarsoft.open/workspace
[INFO] Checking dependencies and plugins for snapshots ...
[INFO] Transforming 'cedarsoft Open'...
[INFO] Not generating release POMs
[INFO] Executing goals 'clean install'...
[INFO] Warning: JAVA_HOME environment variable is not set.
[INFO] [INFO] Scanning for projects...
[INFO] [INFO]
- ------------------------------------------------------------------------
[INFO] [INFO] Building cedarsoft Open
[INFO] [INFO]    task-segment: [clean, install]
[INFO] [INFO]
- ------------------------------------------------------------------------
[INFO] [INFO] [clean:clean {execution: default-clean}]
[INFO] [INFO] Deleting
/var/lib/hudson/jobs/com.cedarsoft.open/workspace/target
[INFO] [INFO] [enforcer:enforce {execution: enforce-plugin-versions}]
[INFO] [INFO] [site:attach-descriptor {execution:
default-attach-descriptor}]
[INFO] [INFO] Preparing source:jar
[INFO] [WARNING] Removing: jar from forked lifecycle, to prevent
recursive invocation.
[INFO] [INFO] [enforcer:enforce {execution: enforce-plugin-versions}]
[INFO] [INFO] [source:jar {execution: default}]
[INFO] [INFO] [jar:test-jar {execution: default}]
[INFO] [WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] [INFO] Building jar:
/var/lib/hudson/jobs/com.cedarsoft.open/workspace/target/open-3.0.6-tests.jar
[INFO] [INFO] [license:check {execution: default}]
[INFO] [INFO] Checking licenses...
[INFO] [WARNING] Property 'strictChecking' is not enabled. Please
consider adding <strictChecking>true</strictChecking> in your pom.xml file.
[INFO] [WARNING] See
http://code.google.com/p/maven-license-plugin/wiki/Configuration for
more information.
[INFO] [WARNING] Unknown file extension:
/var/lib/hudson/jobs/com.cedarsoft.open/workspace/convertToJUnit
[INFO] [WARNING] Unknown file extension:
/var/lib/hudson/jobs/com.cedarsoft.open/workspace/pom.xml.releaseBackup
[INFO] [INFO] [install:install {execution: default-install}]
[INFO] [INFO] Installing
/var/lib/hudson/jobs/com.cedarsoft.open/workspace/pom.xml to
/var/lib/hudson/jobs/com.cedarsoft.open/workspace/.repository/com/cedarsoft/open/3.0.6/open-3.0.6.pom
[INFO] [INFO] Installing
/var/lib/hudson/jobs/com.cedarsoft.open/workspace/target/open-3.0.6-tests.jar
to
/var/lib/hudson/jobs/com.cedarsoft.open/workspace/.repository/com/cedarsoft/open/3.0.6/open-3.0.6-tests.jar
[INFO] [INFO]
- ------------------------------------------------------------------------
[INFO] [INFO] BUILD SUCCESSFUL
[INFO] [INFO]
- ------------------------------------------------------------------------
[INFO] [INFO] Total time: 3 seconds
[INFO] [INFO] Finished at: Sat Aug 07 14:18:33 CEST 2010
[INFO] [INFO] Final Memory: 21M/197M
[INFO] [INFO]
- ------------------------------------------------------------------------
[INFO] Checking in modified POMs...
[INFO] Executing: /bin/sh -c cd
/var/lib/hudson/jobs/com.cedarsoft.open/workspace && git add -- pom.xml
[INFO] Working directory: /var/lib/hudson/jobs/com.cedarsoft.open/workspace
[INFO] Executing: /bin/sh -c cd
/var/lib/hudson/jobs/com.cedarsoft.open/workspace && git status
[INFO] Working directory: /var/lib/hudson/jobs/com.cedarsoft.open/workspace
[INFO] Executing: /bin/sh -c cd
/var/lib/hudson/jobs/com.cedarsoft.open/workspace && git commit
- --verbose -F /tmp/maven-scm-1576484094.commit pom.xml
[INFO] Working directory: /var/lib/hudson/jobs/com.cedarsoft.open/workspace
[INFO] Executing: /bin/sh -c cd
/var/lib/hudson/jobs/com.cedarsoft.open/workspace && git symbolic-ref HEAD
[INFO] Working directory: /var/lib/hudson/jobs/com.cedarsoft.open/workspace
[HUDSON] Archiving
/var/lib/hudson/jobs/com.cedarsoft.open/workspace/pom.xml to
/var/lib/hudson/jobs/com.cedarsoft.open/modules/com.cedarsoft$open/builds/2010-08-07_14-18-24/archive/com.cedarsoft/open/3.0.6-SNAPSHOT/pom.xml
[INFO]
- ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
- ------------------------------------------------------------------------
[INFO] An error is occurred in the checkin process: Exception while
executing SCM command.

Detecting the current branch failed: fatal: ref HEAD is not a symbolic ref

[INFO]
- ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
- ------------------------------------------------------------------------
[INFO] Total time: 8 seconds
[INFO] Finished at: Sat Aug 07 14:18:34 CEST 2010
[INFO] Final Memory: 18M/202M
[INFO]
- ------------------------------------------------------------------------
channel stopped
GitAPI created
[workspace] $ git tag -d hudson-com.cedarsoft.open-31
[workspace] $ git tag -a -f -m "Hudson Build #31"
hudson-com.cedarsoft.open-31-FAILURE
Finished: FAILURE

- --
Johannes Schneider - blog.cedarsoft.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQEcBAEBAgAGBQJMXU96AAoJEAytD9R7Qv6dKP4H+wY1mr8oZiimq5GVPk/lJo/g
PdLpIOKytDEjorRzXq6WhovAIUOD7t60FnYUpuCtoQDRm6WVL+E7nAgLZR18jyCt
8RCE9QZjj8ZUihevxzINBUi5CLIJX/LR7eUeHa0eoq6qf3u5niD4+k+KlfscBfat
OgPD8ZmK9+Smobp1+n/cGRvrXDDNeLAsGhUD2Khff5FHRX1nhvQ71eFJDossT4+N
0Tjmcr8vFA0PLR77fdxu6wfrDExtdvjAE4QirBzOcqyngw3Krn4dyajVXYi73xAV
7GLl+PKAwqJRiOF12zNDWMTmgdebqLzcaDGxb1GbnWJA4XlMf3Mhsrt7vP7Wxtk=
=UN0e
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Maven + release plugin + Git

Johannes Schneider
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I am using the latest plugin and that configuration:

Branch Specifier: */pu
Merge before build:
        origin
        master


Git publisher:
        Merge results:true


That's it...

So I think this problem might be related to the merge before build
configuration?
Maybe maven just don't know which branch it should commit to during release?


Thanks,

Johannes

On 08/07/2010 11:02 PM, Andrew Bayer wrote:

> Try with Git plugin 1.0, and make sure to configure it to checkout to a
> branch in the advanced options - I think that should help.
>
> A.
>
> On Sat, Aug 7, 2010 at 5:20 AM, Johannes Schneider
> <[hidden email] <mailto:[hidden email]>> wrote:
>
> Hi,
>
> I tried to release a maven project with Git as scm. Unfortuantely it
> does not work.
> Here is the log. Any ideas?
> Maybe the problem is related to merge before build?
>
>
> Started by user johannes
> Checkout:workspace / /var/lib/hudson/jobs/com.cedarsoft.open/workspace -
> hudson.remoting.LocalChannel@1cfc547
> Using strategy: Default
> Last Built Revision: Revision f741410fa2471368ce4f47cde82abeb03d8ecd82
> (origin/pu)
> Checkout:workspace / /var/lib/hudson/jobs/com.cedarsoft.open/workspace -
> hudson.remoting.LocalChannel@1cfc547
> GitAPI created
> Fetching changes from the remote Git repository
> Fetching upstream changes from
> ssh://git.cedarsoft.com/git/com.cedarsoft.open
> <http://git.cedarsoft.com/git/com.cedarsoft.open>
> [workspace] $ git fetch -t
> ssh://git.cedarsoft.com/git/com.cedarsoft.open
> <http://git.cedarsoft.com/git/com.cedarsoft.open>
> +refs/heads/*:refs/remotes/origin/*
> [workspace] $ git ls-tree HEAD
> [workspace] $ git rev-parse origin/pu
> Commencing build of Revision f741410fa2471368ce4f47cde82abeb03d8ecd82
> (origin/pu)
> GitAPI created
> Merging Revision f741410fa2471368ce4f47cde82abeb03d8ecd82 (origin/pu)
> onto master
> [workspace] $ git rev-parse origin/master
> [workspace] $ git checkout -f f741410fa2471368ce4f47cde82abeb03d8ecd82
> [workspace] $ git merge f741410fa2471368ce4f47cde82abeb03d8ecd82
> [workspace] $ git tag -a -f -m "Hudson Build #31"
> hudson-com.cedarsoft.open-31
> Warning : There are multiple branch changesets here
> [workspace] $ git whatchanged --no-abbrev -M --pretty=raw
> f741410fa2471368ce4f47cde82abeb03d8ecd82..f741410fa2471368ce4f47cde82abeb03d8ecd82
> Seen branch in repository origin/maint-2.0
> Seen branch in repository origin/pu
> Seen branch in repository origin/master
> Parsing POMs
> [workspace] $ java -Xmx512M -XX:MaxPermSize=512M -cp
> /var/lib/hudson/plugins/maven-plugin/WEB-INF/lib/maven-agent-1.369.jar:/var/lib/hudson/tools/Default/boot/classworlds-1.1.jar
> hudson.maven.agent.Main /var/lib/hudson/tools/Default
> /var/run/hudson/war/WEB-INF/lib/remoting-1.369.jar
> /var/lib/hudson/plugins/maven-plugin/WEB-INF/lib/maven-interceptor-1.369.jar
> 54869
> /var/lib/hudson/plugins/maven-plugin/WEB-INF/lib/maven2.1-interceptor-1.2.jar
> <===[HUDSON REMOTING CAPACITY]===>ýýýchannel started
> Executing Maven:  -B -f
> /var/lib/hudson/jobs/com.cedarsoft.open/workspace/pom.xml
> -
> -Dmaven.repo.local=/var/lib/hudson/jobs/com.cedarsoft.open/workspace/.repository
> -Dproject.rel.com.cedarsoft:open=3.0.6
> -Dproject.dev.com.cedarsoft:open=3.0.7-SNAPSHOT -Dresume=false
> release:prepare release:perform
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'release'.
> [INFO]
> -
> ------------------------------------------------------------------------
> [INFO] Building cedarsoft Open
> [INFO]    task-segment: [release:prepare, release:perform]
> (aggregator-style)
> [INFO]
> -
> ------------------------------------------------------------------------
> [INFO] [release:prepare {execution: default-cli}]
> [INFO] Verifying that there are no local modifications...
> [INFO] Executing: /bin/sh -c cd
> /var/lib/hudson/jobs/com.cedarsoft.open/workspace && git status
> [INFO] Working directory:
> /var/lib/hudson/jobs/com.cedarsoft.open/workspace
> [INFO] Checking dependencies and plugins for snapshots ...
> [INFO] Transforming 'cedarsoft Open'...
> [INFO] Not generating release POMs
> [INFO] Executing goals 'clean install'...
> [INFO] Warning: JAVA_HOME environment variable is not set.
> [INFO] [INFO] Scanning for projects...
> [INFO] [INFO]
> -
> ------------------------------------------------------------------------
> [INFO] [INFO] Building cedarsoft Open
> [INFO] [INFO]    task-segment: [clean, install]
> [INFO] [INFO]
> -
> ------------------------------------------------------------------------
> [INFO] [INFO] [clean:clean {execution: default-clean}]
> [INFO] [INFO] Deleting
> /var/lib/hudson/jobs/com.cedarsoft.open/workspace/target
> [INFO] [INFO] [enforcer:enforce {execution: enforce-plugin-versions}]
> [INFO] [INFO] [site:attach-descriptor {execution:
> default-attach-descriptor}]
> [INFO] [INFO] Preparing source:jar
> [INFO] [WARNING] Removing: jar from forked lifecycle, to prevent
> recursive invocation.
> [INFO] [INFO] [enforcer:enforce {execution: enforce-plugin-versions}]
> [INFO] [INFO] [source:jar {execution: default}]
> [INFO] [INFO] [jar:test-jar {execution: default}]
> [INFO] [WARNING] JAR will be empty - no content was marked for
> inclusion!
> [INFO] [INFO] Building jar:
> /var/lib/hudson/jobs/com.cedarsoft.open/workspace/target/open-3.0.6-tests.jar
> [INFO] [INFO] [license:check {execution: default}]
> [INFO] [INFO] Checking licenses...
> [INFO] [WARNING] Property 'strictChecking' is not enabled. Please
> consider adding <strictChecking>true</strictChecking> in your
> pom.xml file.
> [INFO] [WARNING] See
> http://code.google.com/p/maven-license-plugin/wiki/Configuration for
> more information.
> [INFO] [WARNING] Unknown file extension:
> /var/lib/hudson/jobs/com.cedarsoft.open/workspace/convertToJUnit
> [INFO] [WARNING] Unknown file extension:
> /var/lib/hudson/jobs/com.cedarsoft.open/workspace/pom.xml.releaseBackup
> [INFO] [INFO] [install:install {execution: default-install}]
> [INFO] [INFO] Installing
> /var/lib/hudson/jobs/com.cedarsoft.open/workspace/pom.xml to
> /var/lib/hudson/jobs/com.cedarsoft.open/workspace/.repository/com/cedarsoft/open/3.0.6/open-3.0.6.pom
> [INFO] [INFO] Installing
> /var/lib/hudson/jobs/com.cedarsoft.open/workspace/target/open-3.0.6-tests.jar
> to
> /var/lib/hudson/jobs/com.cedarsoft.open/workspace/.repository/com/cedarsoft/open/3.0.6/open-3.0.6-tests.jar
> [INFO] [INFO]
> -
> ------------------------------------------------------------------------
> [INFO] [INFO] BUILD SUCCESSFUL
> [INFO] [INFO]
> -
> ------------------------------------------------------------------------
> [INFO] [INFO] Total time: 3 seconds
> [INFO] [INFO] Finished at: Sat Aug 07 14:18:33 CEST 2010
> [INFO] [INFO] Final Memory: 21M/197M
> [INFO] [INFO]
> -
> ------------------------------------------------------------------------
> [INFO] Checking in modified POMs...
> [INFO] Executing: /bin/sh -c cd
> /var/lib/hudson/jobs/com.cedarsoft.open/workspace && git add -- pom.xml
> [INFO] Working directory:
> /var/lib/hudson/jobs/com.cedarsoft.open/workspace
> [INFO] Executing: /bin/sh -c cd
> /var/lib/hudson/jobs/com.cedarsoft.open/workspace && git status
> [INFO] Working directory:
> /var/lib/hudson/jobs/com.cedarsoft.open/workspace
> [INFO] Executing: /bin/sh -c cd
> /var/lib/hudson/jobs/com.cedarsoft.open/workspace && git commit
> --verbose -F /tmp/maven-scm-1576484094.commit pom.xml
> [INFO] Working directory:
> /var/lib/hudson/jobs/com.cedarsoft.open/workspace
> [INFO] Executing: /bin/sh -c cd
> /var/lib/hudson/jobs/com.cedarsoft.open/workspace && git
> symbolic-ref HEAD
> [INFO] Working directory:
> /var/lib/hudson/jobs/com.cedarsoft.open/workspace
> [HUDSON] Archiving
> /var/lib/hudson/jobs/com.cedarsoft.open/workspace/pom.xml to
> /var/lib/hudson/jobs/com.cedarsoft.open/modules/com.cedarsoft$open/builds/2010-08-07_14-18-24/archive/com.cedarsoft/open/3.0.6-SNAPSHOT/pom.xml
> [INFO]
> -
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> -
> ------------------------------------------------------------------------
> [INFO] An error is occurred in the checkin process: Exception while
> executing SCM command.
>
> Detecting the current branch failed: fatal: ref HEAD is not a
> symbolic ref
>
> [INFO]
> -
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> -
> ------------------------------------------------------------------------
> [INFO] Total time: 8 seconds
> [INFO] Finished at: Sat Aug 07 14:18:34 CEST 2010
> [INFO] Final Memory: 18M/202M
> [INFO]
> -
> ------------------------------------------------------------------------
> channel stopped
> GitAPI created
> [workspace] $ git tag -d hudson-com.cedarsoft.open-31
> [workspace] $ git tag -a -f -m "Hudson Build #31"
> hudson-com.cedarsoft.open-31-FAILURE
> Finished: FAILURE
>

- ---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
<mailto:[hidden email]>
For additional commands, e-mail: [hidden email]
<mailto:[hidden email]>



- --
Johannes Schneider - blog.cedarsoft.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQEcBAEBAgAGBQJMdTEcAAoJEAytD9R7Qv6dyi8H/iy7ACJgP7fKYyk93S4AOR1S
5i6fxqPwHiswcJ1tnJgOlTZ4YtcKjfgpj+qu0A7E9JUysp1JJZpfGdLG73OA8hQm
EdBRTDeTI1dEOtb62g+Wi+IDyaZG7bq8pCHMDtd7tFu7DIJXK7RpymAnAqUlXcDe
lHlsk6rUvUbXRUK3o8jLSwC+U9o2d4w7FHE8vPLMhJBYIbtv9sT5zF/wZ2njffAa
jOhEprtidibmcW5QSw6GBzaV3aKcB+aJWlFmEs4t8AVS3Xb1zS1sL+Wd3UZ5pGi3
2mhyHVQlH5ST4kpJPslT8rcgVnxWjoP4kSwqiMTLojkj98xGKOIRF5lF2bELuZc=
=7mvB
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Loading...