Jenkinsfile
pipeline {
agent any
stages {
stage('Test') {
steps {
sh './mvnw test'
}
}
}
post {
always {
junit 'target/surefire-reports/*.xml'
}
}
}
异常
./mvnw: Permission denied
解决方案
git update-index --chmod +x mvnw