Issue Type: Bug Bug
Affects Versions: current
Assignee: Scott Tatum
Components: accurev
Created: 10/Nov/13 3:26 PM
Description:

I recently updated jenkins and the plugins.

I am facing a problem where builds are not using the latest code in accurev anymore. What's happening is that the older code is still being built.

I noticed that the earlier version purged the current workspace before using a populate command which would fetch the latest code. In the newer version I don't see the purge happening and the populate command fetches 0 files.

Reverting to the previous version fixed the problem for me.

The output from recent logs looks like this:

Started by user xyz
Building in workspace /var/lib/jenkins/jobs/myproj/workspace
Purging workspace...
Workspace purged.
Setting ACCUREV_HOME to "/var/lib/jenkins/jobs/myproj"
[workspace] $ accurev info -H in-accurev:5050
Currently authenticated with Accurev server as '(not', login required
Authenticating with Accurev server...
[workspace] $ accurev login -H in-accurev:5050 xyz ********
Authentication completed successfully.
Getting a list of streams...
[workspace] $ accurev show -H in-accurev:5050 -fx -p my_depot streams
Populating workspace...
[workspace] $ accurev pop -H in-accurev:5050 -v myproj -L /var/lib/jenkins/jobs/myproj/workspace -R .
Populated 151 elements in 11 directories.Populate completed successfully.
But newer logs look like this:

Started by user xyz
Building in workspace /var/lib/jenkins/jobs/myproj/workspace
Setting ACCUREV_HOME to "/var/lib/jenkins/jobs/myproj"
[workspace] $ accurev info -H in-accurev:5050
Currently authenticated with Accurev server as 'xyz', not logging in again.
Getting a list of streams...
[workspace] $ accurev show -H in-accurev:5050 -fx -p my_depot streams
Populating workspace...
[workspace] $ accurev pop -H in-accurev:5050 -v myproj -L /var/lib/jenkins/jobs/myproj/workspace -R .
Populated 0 elements in 0 directories.Populate completed successfully.

Project: Jenkins
Labels: plugin accurev
Priority: Major Major
Reporter: prasun prasun
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to