File tree Expand file tree Collapse file tree 1 file changed +19
-3
lines changed Expand file tree Collapse file tree 1 file changed +19
-3
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,12 @@ extends:
2929    stages :
3030    - stage : Stage 
3131      jobs :
32-       - job : HostJob 
32+       - job : Build 
33+         templateContext :
34+           outputs :
35+           - output : pipelineArtifact 
36+             path : $(Build.ArtifactStagingDirectory)/esrp-build 
37+             artifact : esrp-build 
3338        steps :
3439        - task : UsePythonVersion@0 
3540          inputs :
@@ -41,9 +46,20 @@ extends:
4146            pip install -r requirements.txt 
4247            pip install -e . 
4348            for wheel in $(python setup.py --list-wheels); do 
44-               PLAYWRIGHT_TARGET_WHEEL=$wheel python -m build --wheel 
49+               PLAYWRIGHT_TARGET_WHEEL=$wheel python -m build --wheel --outdir $(Build.ArtifactStagingDirectory)/esrp-build  
4550            done 
4651          displayName: 'Install & Build' 
52+ job : Publish 
53+       dependsOn : Build 
54+       templateContext :
55+         type : releaseJob 
56+         isProduction : true 
57+         inputs :
58+         - input : pipelineArtifact 
59+           artifactName : esrp-build 
60+           targetPath : $(Build.ArtifactStagingDirectory)/esrp-build 
61+       steps :
62+         - checkout : none 
4763        - task : EsrpRelease@7 
4864          inputs :
4965            connectedservicename : ' Playwright-ESRP-Azure' 
@@ -56,7 +72,7 @@ extends:
5672            #  Keeping it commented out as a workaround for:
5773            #  https://portal.microsofticm.com/imp/v3/incidents/incident/499972482/summary
5874            #  contentsource: 'folder'
59-             folderlocation : ' ./dist/ ' 
75+             folderlocation : ' $(Build.ArtifactStagingDirectory)/esrp-build ' 
6076            waitforreleasecompletion : true 
61776278
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments