I am unable to unzip the file using VSTS git.
I have tried using unzip, extract file, unzip file but none shows the unzipped file after the build is successfully run
Refer to these steps below to push unzipped files to git repository:
https://{account}.visualstudio.com/{project name}/_admin/_versioncontrol?repoGroup=true&_a=security
)Project Collection Build Service (xxx)
user and change Contribute permission to Allow$(System.DefaultWorkingDirectory)\cicdadf.zip
; Upzip to path:$(System.DefaultWorkingDirectory)
git
; Arguments: config --global user.email [email protected]
. Working folder: $(System.DefaultWorkingDirectory)
git
; Aeguments: config --global user.name "Your Name"
; Working folder: $(System.DefaultWorkingDirectory)
git
; Arguments: add cicdadf/**
; Working folder: $(System.DefaultWorkingDirectory)
git
; Aeguments: commit -m "add unzipped files"
; Working folder: $(System.DefaultWorkingDirectory)
git
; Aeguments: push https://test:$(System.AccessToken)@{account}.visualstudio.com/{team project}/_git/{respository} HEAD:master
; Working folder: $(System.DefaultWorkingDirectory)
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments