Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

Commit

Permalink
Removing quickstart code and CI pipeline (#616)
Browse files Browse the repository at this point in the history
Removing quickstart folder and CI pipeline and parallel test in pipeline as there's only one test now
  • Loading branch information
NicolasMassart authored Jan 21, 2019
1 parent 73d712a commit 3198f80
Show file tree
Hide file tree
Showing 34 changed files with 40 additions and 9,894 deletions.
102 changes: 40 additions & 62 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,70 +19,48 @@ if (env.BRANCH_NAME == "master") {
}

try {
stage('Pantheon tests') {
parallel javaTests: {
node {
checkout scm
docker.image('docker:18.06.0-ce-dind').withRun('--privileged') { d ->
docker.image('pegasyseng/pantheon-build:0.0.3').inside("--link ${d.id}:docker") {
try {
stage('Compile') {
sh './gradlew --no-daemon --parallel clean compileJava'
}
stage('compile tests') {
sh './gradlew --no-daemon --parallel compileTestJava'
}
stage('assemble') {
sh './gradlew --no-daemon --parallel assemble'
}
stage('Build') {
sh './gradlew --no-daemon --parallel build'
}
stage('Reference tests') {
sh './gradlew --no-daemon --parallel referenceTest'
}
stage('Integration Tests') {
sh './gradlew --no-daemon --parallel integrationTest'
}
stage('Acceptance Tests') {
sh './gradlew --no-daemon --parallel acceptanceTest'
}
stage('Check Licenses') {
sh './gradlew --no-daemon --parallel checkLicenses'
}
stage('Check javadoc') {
sh './gradlew --no-daemon --parallel javadoc'
}
stage('Jacoco root report') {
sh './gradlew --no-daemon jacocoRootReport'
}
} finally {
archiveArtifacts '**/build/reports/**'
archiveArtifacts '**/build/test-results/**'
archiveArtifacts 'build/reports/**'
archiveArtifacts 'build/distributions/**'

junit '**/build/test-results/**/*.xml'
}
node {
checkout scm
docker.image('docker:18.06.0-ce-dind').withRun('--privileged') { d ->
docker.image('pegasyseng/pantheon-build:0.0.3').inside("--link ${d.id}:docker") {
try {
stage('Compile') {
sh './gradlew --no-daemon --parallel clean compileJava'
}
}
}
}, quickstartTests: {
node {
checkout scm
docker.image('docker:18.06.0-ce-dind').withRun('--privileged') { d ->
docker.image('pegasyseng/pantheon-build:0.0.3').inside("--link ${d.id}:docker") {
try {
stage('Docker quickstart Tests') {
sh 'DOCKER_HOST=tcp://docker:2375 ./gradlew --no-daemon --parallel clean dockerQuickstartTest'
}
} finally {
archiveArtifacts '**/build/test-results/**'
archiveArtifacts '**/build/reports/**'

junit '**/build/test-results/**/*.xml'
}
stage('compile tests') {
sh './gradlew --no-daemon --parallel compileTestJava'
}
stage('assemble') {
sh './gradlew --no-daemon --parallel assemble'
}
stage('Build') {
sh './gradlew --no-daemon --parallel build'
}
stage('Reference tests') {
sh './gradlew --no-daemon --parallel referenceTest'
}
stage('Integration Tests') {
sh './gradlew --no-daemon --parallel integrationTest'
}
stage('Acceptance Tests') {
sh './gradlew --no-daemon --parallel acceptanceTest'
}
stage('Check Licenses') {
sh './gradlew --no-daemon --parallel checkLicenses'
}
stage('Check javadoc') {
sh './gradlew --no-daemon --parallel javadoc'
}
stage('Jacoco root report') {
sh './gradlew --no-daemon jacocoRootReport'
}
} finally {
archiveArtifacts '**/build/reports/**'
archiveArtifacts '**/build/test-results/**'
archiveArtifacts 'build/reports/**'
archiveArtifacts 'build/distributions/**'

junit '**/build/test-results/**/*.xml'
}
}
}
Expand Down
1 change: 0 additions & 1 deletion quickstart/README.md

This file was deleted.

1 change: 0 additions & 1 deletion quickstart/block-explorer-light/.gitignore

This file was deleted.

4 changes: 0 additions & 4 deletions quickstart/block-explorer-light/Dockerfile

This file was deleted.

Loading

0 comments on commit 3198f80

Please sign in to comment.