Introduces Regression for 32 and 64 bit threadx and smp kernel in Debug, MinSizeRel and Release configuration #4
11
Jenkinsfile
vendored
11
Jenkinsfile
vendored
@@ -25,15 +25,22 @@ def runOneRegression(String suite, String preset, String simulatorPath) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
def resolveImageCommit(String image) {
|
def resolveImageCommit(String image) {
|
||||||
sh(
|
|
||||||
|
withCredentials([usernamePassword(
|
||||||
|
credentialsId: gitea-jenkins,
|
||||||
|
usernameVariable: 'REGISTRY_USER',
|
||||||
|
passwordVariable: 'REGISTRY_PASS'
|
||||||
|
)]) {
|
||||||
|
return sh(
|
||||||
script: """
|
script: """
|
||||||
set -eu
|
set -eu
|
||||||
docker login
|
echo "\$REGISTRY_PASS" | docker login "git.minres.com" -u "\$REGISTRY_USER" --password-stdin >/dev/null
|
||||||
docker pull "${image}" >/dev/null
|
docker pull "${image}" >/dev/null
|
||||||
docker image inspect --format='{{ index .Config.Labels "git-commit" }}' "${image}"
|
docker image inspect --format='{{ index .Config.Labels "git-commit" }}' "${image}"
|
||||||
""",
|
""",
|
||||||
returnStdout: true
|
returnStdout: true
|
||||||
).trim()
|
).trim()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
def runRegressionLane(String image, String simulatorPath, boolean allowFailure) {
|
def runRegressionLane(String image, String simulatorPath, boolean allowFailure) {
|
||||||
|
|||||||
Reference in New Issue
Block a user