Use fetch dep script in jenkins script
This commit is contained in:
parent
fac8906102
commit
94ac4bf490
2 changed files with 5 additions and 6 deletions
|
@ -17,6 +17,7 @@ function dodep() {
|
|||
git clone https://github.com/$org/$repo.git $repo
|
||||
pushd $repo
|
||||
git checkout $curbranch || git checkout develop
|
||||
npm install
|
||||
echo "$repo set to branch "`git rev-parse --abbrev-ref HEAD`
|
||||
popd
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue