Jenkins build
Some checks failed
test/timeline-frontend/pipeline/head There was a failure building this commit
Some checks failed
test/timeline-frontend/pipeline/head There was a failure building this commit
This commit is contained in:
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
@@ -59,12 +59,20 @@ pipeline {
|
|||||||
echo \"package.json found, proceeding with build\"
|
echo \"package.json found, proceeding with build\"
|
||||||
npm install
|
npm install
|
||||||
npm run build
|
npm run build
|
||||||
|
echo \"Build completed, checking for dist directory:\"
|
||||||
|
ls -la
|
||||||
|
if [ -d \"dist\" ]; then
|
||||||
|
echo \"dist directory exists\"
|
||||||
|
else
|
||||||
|
echo \"ERROR: dist directory does not exist\"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
echo \"package.json not found\"
|
echo \"package.json not found\"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
"'''
|
"'''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user