У меня есть проект jenkinsfile для Android. Для сборки используется Gradle. Не удалось выполнить этап сонара.
Ошибка немного странная:
Код: Выделить всё
Task 'app:sonar' is not up-to-date because:
Task has not declared any outputs despite executing actions.
...
SonarQube server [] can not be reached
Код: Выделить всё
Task ':app:sonar' is not up-to-date because:
Task has not declared any outputs despite executing actions.
Код: Выделить всё
buildscript {
...
repositories { ... }
dependencies { ... }
allprojects {
repositories { ... }
}
}
task clean(type: Delete) { ... }
Код: Выделить всё
plugins {
id 'org.sonarqube' version '4.4.1.3373'
...
}
sonarqube {
properties {
property "sonar.host.url" "server"
property "sonar.projectKey" "key"
property "sonar.login" "token"
}
}
android {
buildTypes { ... }
productFlavors { ... }
}
dependencies { ... }
Any suggestions what could be missing?
Источник: https://stackoverflow.com/questions/781 ... tput-error