change in jenkins

This commit is contained in:
Jazze7 2024-11-05 16:48:01 +05:30
parent a2c01e70c7
commit 8f85f8c5d3

5
Jenkinsfile vendored
View File

@ -20,10 +20,7 @@ pipeline {
# Navigate to the workspace or create it if it doesn't exist
mkdir -p ${REMOTE_WORKSPACE}
cd ${REMOTE_WORKSPACE}
# Clone the repository if it does not exist
if [ ! -d "cicid" ]; then
git clone https://git.tech4biz.wiki/jassim/cicid.git
fi
git clone https://git.tech4biz.wiki/jassim/cicid.git
cd cicid
git checkout main
yarn install