Skip to content

Commit

Permalink
Added comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Nancy Chauhan authored and Nancy Chauhan committed Aug 6, 2019
1 parent 67c51b0 commit 505aae4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ pipeline {
}
steps {
dockerrun()
tapReporting()
}
}
stage("testing 1") {
Expand Down Expand Up @@ -146,10 +145,12 @@ pipeline {
}
}

// data of test.sh is persisted in docker container librecores-ci-openrisc
void dockerrun() {
sh 'docker run --rm -v $(pwd):/src -e "JOB=$JOB" -e "SIM=$SIM" -e "PIPELINE=$PIPELINE" -e "EXPECTED_FAILURES=$EXPECTED_FAILURES" -e "EXTRA_CORE_ARGS=$EXTRA_CORE_ARGS" librecores/librecores-ci-openrisc /src/.travis/test.sh'
}

// TAP Plugin is used which adds the support to TAP test result files to Jenkins which can be seen at https://ci.librecores.org/job/Projects/job/OpenRISC/
void tapReporting() {
step([$class: "TapPublisher", testResults: "report.tap"])
}

0 comments on commit 505aae4

Please sign in to comment.