-
Notifications
You must be signed in to change notification settings - Fork 687
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3488 from Catrobat/release-0.9.69
Release 0.9.69
- Loading branch information
Showing
668 changed files
with
6,777 additions
and
4,300 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
#!groovy | ||
|
||
pipeline { | ||
agent { | ||
dockerfile { | ||
filename 'Dockerfile.jenkins' | ||
// 'docker build' would normally copy the whole build-dir to the container, changing the | ||
// docker build directory avoids that overhead | ||
dir 'docker' | ||
// Pass the uid and the gid of the current user (jenkins-user) to the Dockerfile, so a | ||
// corresponding user can be added. This is needed to provide the jenkins user inside | ||
// the container for the ssh-agent to work. | ||
// Another way would be to simply map the passwd file, but would spoil additional information | ||
// Also hand in the group id of kvm to allow using /dev/kvm. | ||
additionalBuildArgs '--build-arg USER_ID=$(id -u) --build-arg GROUP_ID=$(id -g) --build-arg KVM_GROUP_ID=$(getent group kvm | cut -d: -f3)' | ||
args '--device /dev/kvm:/dev/kvm -v /var/local/container_shared/gradle_cache/$EXECUTOR_NUMBER:/home/user/.gradle -m=6.5G' | ||
label 'LimitedEmulator' | ||
} | ||
} | ||
|
||
options { | ||
timeout(time: 2, unit: 'HOURS') | ||
timestamps() | ||
} | ||
|
||
stages { | ||
stage('End to end tests requiring share authentication') { | ||
steps { | ||
sh '''./gradlew -PenableCoverage -Pemulator=android28 \ | ||
startEmulator createCatroidDebugAndroidTestCoverageReport \ | ||
-Pandroid.testInstrumentationRunnerArguments.class=org.catrobat.catroid.testsuites.OutgoingNetworkCallsTestSuite''' | ||
} | ||
post { | ||
always { | ||
junit '**/*TEST*.xml' | ||
|
||
sh './gradlew stopEmulator clearAvdStore' | ||
archiveArtifacts 'logcat.txt' | ||
} | ||
} | ||
} | ||
} | ||
|
||
post { | ||
always { | ||
step([$class: 'LogParserPublisher', failBuildOnError: true, projectRulePath: 'buildScripts/log_parser_rules', unstableOnWarning: true, useProjectRule: true]) | ||
} | ||
unsuccessful { | ||
notifyChat(['#s2cc', '#catroweb-deployment']) | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+23.6 KB
catroid/src/androidTest/assets/catrobatTests/formula/testModuloFunction.catrobat
Binary file not shown.
Oops, something went wrong.