[Notes] [Git][BuildStream/buildstream][master] 2 commits: Prevent caching when Element.stage() fails



Title: GitLab

Jürg Billeter pushed to branch master at BuildStream / buildstream

Commits:

1 changed file:

Changes:

  • buildstream/element.py
    ... ... @@ -1620,12 +1620,12 @@ class Element(Plugin):
    1620 1620
                     self.__dynamic_public = _yaml.node_copy(self.__public)
    
    1621 1621
     
    
    1622 1622
                     # Call the abstract plugin methods
    
    1623
    -                try:
    
    1624
    -                    # Step 1 - Configure
    
    1625
    -                    self.__configure_sandbox(sandbox)
    
    1626
    -                    # Step 2 - Stage
    
    1627
    -                    self.stage(sandbox)
    
    1628 1623
     
    
    1624
    +                # Step 1 - Configure
    
    1625
    +                self.__configure_sandbox(sandbox)
    
    1626
    +                # Step 2 - Stage
    
    1627
    +                self.stage(sandbox)
    
    1628
    +                try:
    
    1629 1629
                         if self.__batch_prepare_assemble:
    
    1630 1630
                             cm = sandbox.batch(self.__batch_prepare_assemble_flags,
    
    1631 1631
                                                collect=self.__batch_prepare_assemble_collect)
    



  • [Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]