Navigation Menu

Skip to content

Commit

Permalink
[JENKINS-17230] Updating prepare view
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfgarnet committed Apr 11, 2013
1 parent d478bd5 commit bb78bdc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Expand Up @@ -71,8 +71,8 @@ public SnapshotView invoke( File workspace, VirtualChannel channel ) throws IOEx
out.println( ConfigurationRotator.LOGGERNAME + "View root: " + new File( workspace, "view" ) );
out.println( ConfigurationRotator.LOGGERNAME + "View tag : " + viewtag );
//view = ViewUtils.createView( devStream, "ALL", new File( workspace, "view" ), viewtag, true );
view = new GetView( new File( workspace, "view" ), viewtag ).validateView().get();
new UpdateView( view ).overwrite().update();
view = new GetView( new File( workspace, "view" ), viewtag ).get();
new UpdateView( view ).update();
} catch( ClearCaseException e ) {
throw new IOException( "Unable to create view", e );
}
Expand Down
Expand Up @@ -116,7 +116,7 @@ public void testView() throws IOException, ClearCaseException, InterruptedExcept
new Rebase( container ).addBaseline( model1 ).dropFromStream().rebase( true );

new UpdateView( view ).update();

new SystemValidator().addElementToPathCheck( filepath, new SystemValidator.Element( "Model", true ) ).
addElementToPathCheck( filepath, new SystemValidator.Element( "Clientapp", false ) ).
validatePath();
Expand Down

0 comments on commit bb78bdc

Please sign in to comment.