You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

build-java.sh 429 B

12345678910111213141516171819202122232425262728
  1. #!/bin/bash
  2. baseDir="/home/somuns/ci4s"
  3. buildDir=$baseDir
  4. #判断$1是否为all,如果是,则编译所有模块,否则只编译management-platform模块
  5. #if [ "$1" == "all" ]; then
  6. # buildDir=$baseDir
  7. #else
  8. # buildDir="$baseDir/ruoyi-modules/management-platform"
  9. #fi
  10. echo "Building $buildDir"
  11. cd $buildDir && mvn clean install
  12. if [ $? -ne 0 ]; then
  13. echo "Failed to build ruoyi-modules"
  14. exit 1
  15. fi