Repository: hbase Updated Branches: refs/heads/HBASE-18467 752c5e59a -> f84c5693c
WIP switch to non-jenkins substituded string. Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/f84c5693 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/f84c5693 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/f84c5693 Branch: refs/heads/HBASE-18467 Commit: f84c5693ccaf28661dcf19cdd9f1a0cd6cc42c53 Parents: 752c5e5 Author: Sean Busbey <bus...@apache.org> Authored: Wed Aug 9 01:13:05 2017 -0500 Committer: Sean Busbey <bus...@apache.org> Committed: Wed Aug 9 01:13:05 2017 -0500 ---------------------------------------------------------------------- dev-support/Jenkinsfile | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/f84c5693/dev-support/Jenkinsfile ---------------------------------------------------------------------- diff --git a/dev-support/Jenkinsfile b/dev-support/Jenkinsfile index a2f3228..bed9bef 100644 --- a/dev-support/Jenkinsfile +++ b/dev-support/Jenkinsfile @@ -128,17 +128,17 @@ curl -L -o personality.sh "${env.PROJET_PERSONALITY}" steps { unstash 'yetus' // TODO should this be a download from master, similar to how the personality is? - sh """ + sh '''!#/usr/bin/env bash declare commentfile - if "${env.BASEDIR}/dev-support/hbase_nightly_yetus.sh" ; then - commentfile='${env.OUTPUTDIR}/success' + if "${BASEDIR}/dev-support/hbase_nightly_yetus.sh" ; then + commentfile='${OUTPUTDIR}/success' echo '(/) *{color:green}+1 general checks{color}*' >> "${commentfile}" else - commentfile='${env.OUTPUTDIR}/failure' + commentfile='${OUTPUTDIR}/failure' echo '(x) *{color:red}-1 general checks{color}*' >> "${commentfile}" fi - echo '-- For more information [see general report|${env.BUILD_URL}/General_Nightly_Build_Report/]' >> "${commentfile}" - """ + echo '-- For more information [see general report|${BUILD_URL}/General_Nightly_Build_Report/]' >> "${commentfile}" + ''' } post { always { @@ -169,21 +169,21 @@ curl -L -o personality.sh "${env.PROJET_PERSONALITY}" } steps { unstash 'yetus' - sh """#!/usr/bin/env bash + sh '''#!/usr/bin/env bash # for branch-1.1 we don't do jdk8 findbugs, so do it here - if [ "${env.BRANCH_NAME}" == "branch-1.1" ]; then + if [ "${BRANCH_NAME}" == "branch-1.1" ]; then TESTS+=",findbugs" fi declare commentfile - if "${env.BASEDIR}/dev-support/hbase_nightly_yetus.sh" ; then - commentfile='${env.OUTPUTDIR}/success' + if "${BASEDIR}/dev-support/hbase_nightly_yetus.sh" ; then + commentfile='${OUTPUTDIR}/success' echo '(/) *{color:green}+1 jdk7 checks{color}*' >> "${commentfile}" else - commentfile='${env.OUTPUTDIR}/failure' + commentfile='${OUTPUTDIR}/failure' echo '(x) *{color:red}-1 jdk7 checks{color}*' >> "${commentfile}" fi - echo '-- For more information [see jdk7 report|${env.BUILD_URL}/JDK7_Nightly_Build_Report/]' >> "${commentfile}" - """ + echo '-- For more information [see jdk7 report|${BUILD_URL}/JDK7_Nightly_Build_Report/]' >> "${commentfile}" + ''' } post { always { @@ -233,17 +233,17 @@ curl -L -o personality.sh "${env.PROJET_PERSONALITY}" } steps { unstash 'yetus' - sh """ + sh '''#!/usr/bin/env bash declare commentfile - if "${env.BASEDIR}/dev-support/hbase_nightly_yetus.sh" ; then - commentfile='${env.OUTPUTDIR}/success' + if "${BASEDIR}/dev-support/hbase_nightly_yetus.sh" ; then + commentfile='${OUTPUTDIR}/success' echo '(/) *{color:green}+1 jdk8 checks{color}*' >> "${commentfile}" else - commentfile='${env.OUTPUTDIR}/failure' + commentfile='${OUTPUTDIR}/failure' echo '(x) *{color:red}-1 jdk8 checks{color}*' >> "${commentfile}" fi - echo '-- For more information [see jdk8 report|${env.BUILD_URL}/JDK8_Nightly_Build_Report/]' >> "${commentfile}" - """ + echo '-- For more information [see jdk8 report|${BUILD_URL}/JDK8_Nightly_Build_Report/]' >> "${commentfile}" + ''' } post { always {