continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Venisse" <emmanuel.veni...@gmail.com>
Subject Re: Syntax to include build output & list of changed files in notifications
Date Thu, 10 Apr 2008 09:35:35 GMT
I have few questions:

Is it the first checkout or do you have no scm changes in each build?
What are your build definitions options? always build? clean build?

With your logs, I see that Continuum run a svn checkout instead of an
update, so I think you choose to run a clean build, right?
With a checkout, we don't check scm changes, because it isn't "possible" on
projects with lot of files. We get scm changes only with scm updqte process.

Emmqnuel

On Thu, Apr 10, 2008 at 6:50 AM, Anoop kumar V <anoopkumarv@gmail.com>
wrote:

> Here are the logs after upping the log level to debug: - please let me
> know
> why the SCN changes come as null. - Thanks.
>
> 48943 [WrapperSimpleAppMain] INFO  org.codehaus.plexus.PlexusContainer  -
> Loading on start [role,roleHint]:
>
> [org.codehaus.plexus.taskqueue.execution.TaskQueueExecutor,check-out-project]
> 48956 [WrapperSimpleAppMain] INFO
>
> org.codehaus.plexus.taskqueue.execution.TaskQueueExecutor:check-out-project
> - Starting task executor, thread name 'check-out-project'.
> 49075 [WrapperSimpleAppMain] INFO  org.codehaus.plexus.PlexusContainer  -
> Loading on start [role,roleHint]:
>
> [org.codehaus.plexus.taskqueue.execution.TaskQueueExecutor,prepare-release]
> 55244 [WrapperSimpleAppMain] INFO
> org.codehaus.plexus.taskqueue.execution.TaskQueueExecutor:prepare-release
>  -
> Starting task executor, thread name 'prepare-release'.
> 55245 [WrapperSimpleAppMain] INFO  org.codehaus.plexus.PlexusContainer  -
> Loading on start [role,roleHint]:
>
> [org.codehaus.plexus.taskqueue.execution.TaskQueueExecutor,perform-release]
> 55258 [WrapperSimpleAppMain] INFO
> org.codehaus.plexus.taskqueue.execution.TaskQueueExecutor:perform-release
>  -
> Starting task executor, thread name 'perform-release'.
> 55259 [WrapperSimpleAppMain] INFO  org.codehaus.plexus.PlexusContainer  -
> Loading on start [role,roleHint]:
>
> [org.codehaus.plexus.taskqueue.execution.TaskQueueExecutor,rollback-release]
> 55266 [WrapperSimpleAppMain] INFO
> org.codehaus.plexus.taskqueue.execution.TaskQueueExecutor:rollback-release
> - Starting task executor, thread name 'rollback-release'.
> 56977 [WrapperSimpleAppMain] INFO
> com.opensymphony.webwork.config.DefaultConfiguration  - Loading global
> messages from org.codehaus.plexus.redback.xwork.default
> 56977 [WrapperSimpleAppMain] INFO
> com.opensymphony.webwork.config.DefaultConfiguration  - Loading global
> messages from org.apache.maven.continuum.redback.custom
> 65535 [SocketListener0-1] WARN  net.sf.ehcache.config.ConfigurationFactory
> - No configuration found. Configuring ehcache from ehcache-failsafe.xml
> found in the classpath:
>
> jar:file:/vas11apvd/app/oracle/continuum-1.1/apps/continuum/webapp/WEB-INF/lib/ehcache-1.3.0.jar!/ehcache-failsafe.xml
> 89218 [SocketListener0-1] INFO
>
> org.codehaus.plexus.redback.system.check.EnvironmentCheck:continuum-role-profile-check
> - Checking roles list.
> 89333 [SocketListener0-1] INFO
> org.codehaus.plexus.redback.system.check.EnvironmentCheck:required-roles
>  -
> Checking the existance of required roles.
> 90580 [SocketListener0-1] INFO
>
> com.opensymphony.xwork.interceptor.Interceptor:redbackSecureActionInterceptor
> - org.codehaus.plexus.redback.xwork.interceptor.SecureActionInterceptor
> initialized!
> 91493 [SocketListener0-1] INFO
>
> com.opensymphony.xwork.interceptor.Interceptor:redbackSecureActionInterceptor
> - org.codehaus.plexus.redback.xwork.interceptor.SecureActionInterceptor
> initialized!
> 91702 [SocketListener0-1] INFO
>
> com.opensymphony.xwork.interceptor.Interceptor:redbackSecureActionInterceptor
> - org.codehaus.plexus.redback.xwork.interceptor.SecureActionInterceptor
> initialized!
> 96032 [SocketListener0-1] INFO
>
> com.opensymphony.xwork.interceptor.Interceptor:redbackForceAdminUserInterceptor
> - Admin user found. No need to configure admin user.
> 143644 [SocketListener0-1] INFO
> com.opensymphony.webwork.views.freemarker.FreemarkerManager  -
> Instantiating
> Freemarker ConfigManager!,
> com.opensymphony.webwork.views.freemarker.FreemarkerManager
> 149966 [SocketListener0-1] INFO
>
> org.apache.maven.artifact.repository.metadata.RepositoryMetadataManager:default
> - artifact com.srwc:srwc: checking for updates from central
> 149966 [SocketListener0-0] INFO
>
> org.apache.maven.artifact.repository.metadata.RepositoryMetadataManager:default
> - artifact com.srwc:srwc: checking for updates from central
> 199920 [SocketListener0-0] INFO
> org.apache.maven.continuum.Continuum:default  - Enqueuing 'SIMS DEV' with
> build definition 'SIMS DEV' - id=6).
> 199948 [pool-1-thread-1] INFO
> org.apache.maven.continuum.buildcontroller.BuildController:default  -
> Initializing build
> 200030 [pool-1-thread-1] INFO
> org.apache.maven.continuum.buildcontroller.BuildController:default  -
> Starting build of SIMS DEV
> 200955 [pool-1-thread-1] INFO
> org.apache.maven.continuum.buildcontroller.BuildController:default  -
> Purging exiting working copy
> 200955 [pool-1-thread-1] INFO
> org.apache.maven.continuum.buildcontroller.BuildController:default  -
> Performing action clean-working-directory
> 245300 [pool-1-thread-1] INFO
> org.apache.maven.continuum.buildcontroller.BuildController:default  -
> Updating working dir
> 245302 [pool-1-thread-1] INFO
> org.apache.maven.continuum.buildcontroller.BuildController:default  -
> Performing action check-working-directory
> 245315 [pool-1-thread-1] INFO
> org.apache.maven.continuum.buildcontroller.BuildController:default  -
> Performing action checkout-project
> 245463 [pool-1-thread-1] INFO
> org.apache.maven.continuum.scm.ContinuumScm:default  - Checking out
> project:
> 'SIMS DEV', id: '1' to '/vas11apvd/app/oracle/fridge/work/1'.
> 245978 [pool-1-thread-1] INFO
> org.apache.maven.scm.manager.ScmManager:default  - Executing: /bin/sh -c
> "cd
> /vas11apvd/app/oracle/fridge/work && svn --non-interactive checkout svn://
> v1jlindsly.prod.srwc.com/SIMS/trunk 1"
> 245980 [pool-1-thread-1] INFO
> org.apache.maven.scm.manager.ScmManager:default  - Working directory:
> /vas11apvd/app/oracle/fridge/work
> 345553 [pool-1-thread-1] INFO
> org.apache.maven.continuum.scm.ContinuumScm:default  - Checked out 303
> files.
> 345795 [pool-1-thread-1] INFO
> org.apache.maven.continuum.buildcontroller.BuildController:default  -
> Merging SCM results
> 345807 [pool-1-thread-1] INFO
> org.apache.maven.continuum.buildcontroller.BuildController:default  -
> AlwaysBuild configured, building
> 345807 [pool-1-thread-1] INFO
> org.apache.maven.continuum.buildcontroller.BuildController:default  -
> Performing action update-project-from-working-directory
> 345825 [pool-1-thread-1] INFO
> org.codehaus.plexus.action.Action:update-project-from-working-directory  -
> Updating project 'SIMS DEV' from checkout.
> 345868 [pool-1-thread-1] INFO
> org.apache.maven.continuum.buildcontroller.BuildController:default  -
> Performing action execute-builder
> 347413 [pool-1-thread-1] INFO
> org.apache.maven.continuum.utils.shell.ShellCommandHelper:default  -
> Executing: /bin/sh -c 'cd /vas11apvd/app/oracle/fridge/work/1 &&
> /vas11apvd/app/oracle/product/middletier01d/10.1.3.1/ant/bin/ant -f
> tools/misc/continuum/SIMSdev_build.xml
> -Dcontinuum.project.lastBuild.state=2
> -Dcontinuum.project.nextBuild.number=5
> "-Dcontinuum.project.group.name=SIMS
> Project Group" -Dcontinuum.project.lastBuild.number=4'
> 347415 [pool-1-thread-1] INFO
> org.apache.maven.continuum.utils.shell.ShellCommandHelper:default  -
> Working
> directory: /vas11apvd/app/oracle/fridge/work/1
> 347577 [pool-1-thread-1] DEBUG
> org.apache.maven.continuum.utils.shell.ShellCommandHelper:default  -
> EnvironmentVariables [MAVEN_TERMINATE_CMD=on,
> TOOLS_JAR=/usr/java/lib/tools.jar, JAVA_HOME=/usr/java,
> PLEXUS_BASE=/vas11apvd/app/oracle/continuum-1.1,
> HOME=/vas11apvd/app/oracle,
> XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt, LOGNAME=oracled,
> NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat, WRAPPER_PATH_SEPARATOR=:,
> LC_MONETARY=en_US.ISO8859-15, SHELL=/bin/bash,
> ANT_HOME=/vas11apvd/app/oracle/product/middletier01d/10.1.3.1/ant,
> PWD=/vas11apvd/app/oracle/continuum-1.1, LC_MESSAGES=C,
> LC_CTYPE=en_US.ISO8859-15, LC_NUMERIC=en_US.ISO8859-15, HZ=, SHLVL=1,
> MAIL=/var/mail/oracled, TZ=US/Eastern, WRAPPER_BITS=32,
> PLEXUS_HOME=/vas11apvd/app/oracle/continuum-1.1,
> LC_COLLATE=en_US.ISO8859-15, WRAPPER_FILE_SEPARATOR=/,
> PATH=/vas11apvd/app/oracle/product/middletier01d/
> 10.1.3.1/ant/bin:/usr/bin::/usr/sbin:/vas11apvd/app/oracle/svn/bin,
> TERM=vt100,
>
> LD_LIBRARY_PATH=/usr/jdk/instances/jdk1.5.0/jre/lib/sparc/server:/usr/jdk/instances/jdk1.5.0/jre/lib/sparc:/usr/jdk/instances/jdk1.5.0/jre/../lib/sparc,
> _=/vas11apvd/app/oracle/continuum-1.1/bin/solaris-sparc-32/run.sh,
> OLDPWD=/vas11apvd/app/oracle/continuum-1.1/logs, WRAPPER_ARCH=x86,
> WRAPPER_OS=windows]
> 489350 [pool-1-thread-1] INFO
> org.apache.maven.continuum.execution.ContinuumBuildExecutor:ant  - Exit
> code: 0
> 489497 [pool-1-thread-1] INFO
> org.apache.maven.continuum.buildcontroller.BuildController:default  -
> Performing action deploy-artifact
> 492075 [pool-1-thread-1] INFO
> org.codehaus.plexus.notification.notifier.Notifier:mail  - Message
> Subject:
> '[continuum] SIMS BUILD SUCCESSFUL: SIMS DEV'.
> 492076 [pool-1-thread-1] INFO
> org.codehaus.plexus.notification.notifier.Notifier:mail  - Sending
> message:
> From '"Build Manager" <donotreply@srwc.com>'.
> 492076 [pool-1-thread-1] INFO
> org.codehaus.plexus.notification.notifier.Notifier:mail  - Recipient: To
> '<
> ankumar@srwc.com>'.
>
>
>
>
>
> On Tue, Apr 8, 2008 at 5:09 PM, Emmanuel Venisse <
> emmanuel.venisse@gmail.com>
> wrote:
>
> > change the log4j level to debug in the continuum webapp
> >
> > Emmanuel
> >
> > On Tue, Apr 8, 2008 at 10:18 PM, Anoop kumar V <anoopkumarv@gmail.com>
> > wrote:
> >
> > > How do I run continuum in debug mode? I am assuming I need to bring
> down
> > > and
> > > restart continuum.
> > >
> > > Thanks.
> > >
> > > On Tue, Apr 8, 2008 at 5:45 AM, Emmanuel Venisse <
> > > emmanuel.venisse@gmail.com>
> > > wrote:
> > >
> > > > Can you activate the debug logs, let Continuum run build with
> changes
> > in
> > > > scm
> > > > then send us your logs?
> > > >
> > > > Emmanuel
> > > >
> > > > On Mon, Apr 7, 2008 at 6:30 PM, Anoop kumar V <anoopkumarv@gmail.com
> >
> > > > wrote:
> > > >
> > > > > Yes - I checked - the dates are in sync. Our SVN server is on
> > windows
> > > > and
> > > > > the continuum server is on Solaris - but I just ran a script to
> > print
> > > > the
> > > > > dates on each machine continuously, and it seemed sync-ed up.
> > > > >
> > > > > On Mon, Apr 7, 2008 at 3:44 AM, Emmanuel Venisse <
> > > > > emmanuel.venisse@gmail.com>
> > > > > wrote:
> > > > >
> > > > > > Do you have the sync dates on svn and continuum machines?
> > > > > >
> > > > > > Emmanuel
> > > > > >
> > > > > > On Sat, Apr 5, 2008 at 7:04 PM, Anoop kumar V <
> > anoopkumarv@gmail.com
> > > >
> > > > > > wrote:
> > > > > >
> > > > > > > Still one issue though - Under SCN changes, it says no
files
> > > > changed,
> > > > > > > although I am sure there were several files changes and
> > committed
> > > -
> > > > we
> > > > > > use
> > > > > > > SVN by the way.
> > > > > > >
> > > > > > >
> > > > >
> > >
> ************************************************************************
> > > > > > > ****
> > > > > > > SCM Changes:
> > > > > > >
> > > > >
> > >
> ************************************************************************
> > > > > > > ****
> > > > > > > No files changed
> > > > > > >
> > > > > > >
> > > > > > > Is there anyway to fix this? Should I do some other setting
-
> I
> > > > could
> > > > > > not
> > > > > > > find a setting in the application.xml for this.
> > > > > > >
> > > > > > > Thanks,
> > > > > > > Anoop
> > > > > > >
> > > > > > >
> > > > > > > On Sat, Apr 5, 2008 at 12:50 PM, Anoop kumar V <
> > > > anoopkumarv@gmail.com>
> > > > > > > wrote:
> > > > > > >
> > > > > > > > Never mind - I figured this out - I was looking at
the wrong
> > > > > > > > application.xml. Are there just too many application.xml
> files
> > > out
> > > > > > > there??
> > > > > > > >
> > > > > > > > Thanks all.
> > > > > > > > Anoop
> > > > > > > >
> > > > > > > >
> > > > > > > > On Sat, Apr 5, 2008 at 12:40 PM, Anoop kumar V <
> > > > > anoopkumarv@gmail.com>
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > > > Can someone tell me what to include in the
> > > conf/application.xml
> > > > so
> > > > > > > that
> > > > > > > > > email notifications include the list of files
changed
> since
> > > last
> > > > > > time
> > > > > > > and
> > > > > > > > > also the entire ant build output?
> > > > > > > > >
> > > > > > > > > I used to use continuum 1.0.3 and I had set it
all up, but
> > now
> > > > all
> > > > > > the
> > > > > > > > > settings are lost and am redoing all of them
on 1.1. I
> think
> > > it
> > > > is
> > > > > > > <includebuildoutput>
> > > > > > > > > etc etc.. I am just not sure of the exact syntax
and where
> > > > exactly
> > > > > > to
> > > > > > > > > include it. Can someone please help?
> > > > > > > > >
> > > > > > > > > Thanks,
> > > > > > > > > Anoop
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message