Sha256: abf52287ddc223e41c4b60cd0fcad93fc5844ce056c3a93327ead2a2b4443bf4

Contents?: true

Size: 614 Bytes

Versions: 131

Compression:

Stored size: 614 Bytes

Contents

#!/bin/bash
set -e

VENV_PATH="${HOME}/venv/${JOB_NAME}"

[ -x ${VENV_PATH}/bin/pip ] || virtualenv ${VENV_PATH}
. ${VENV_PATH}/bin/activate

pip install -q ghtools

REPO="alphagov/govuk_content_models"
gh-status "$REPO" "$GIT_COMMIT" pending -d "\"Build #${BUILD_NUMBER} is running on Jenkins\"" -u "$BUILD_URL" >/dev/null

if ./jenkins.sh; then
  gh-status "$REPO" "$GIT_COMMIT" success -d "\"Build #${BUILD_NUMBER} succeeded on Jenkins\"" -u "$BUILD_URL" >/dev/null
  exit 0
else
  gh-status "$REPO" "$GIT_COMMIT" failure -d "\"Build #${BUILD_NUMBER} failed on Jenkins\"" -u "$BUILD_URL" >/dev/null
  exit 1
fi

Version data entries

131 entries across 131 versions & 1 rubygems

Version Path
govuk_content_models-43.0.0 jenkins_branches.sh
govuk_content_models-42.1.0 jenkins_branches.sh
govuk_content_models-42.0.1 jenkins_branches.sh
govuk_content_models-42.0.0 jenkins_branches.sh
govuk_content_models-41.1.1 jenkins_branches.sh
govuk_content_models-41.1.0 jenkins_branches.sh
govuk_content_models-41.0.0 jenkins_branches.sh
govuk_content_models-40.0.0 jenkins_branches.sh
govuk_content_models-39.0.0 jenkins_branches.sh
govuk_content_models-38.0.0 jenkins_branches.sh
govuk_content_models-37.0.0 jenkins_branches.sh
govuk_content_models-36.0.0 jenkins_branches.sh
govuk_content_models-35.0.1 jenkins_branches.sh
govuk_content_models-35.0.0 jenkins_branches.sh
govuk_content_models-34.0.0 jenkins_branches.sh
govuk_content_models-33.0.0 jenkins_branches.sh
govuk_content_models-32.3.1 jenkins_branches.sh
govuk_content_models-32.3.0 jenkins_branches.sh
govuk_content_models-32.2.0 jenkins_branches.sh
govuk_content_models-32.1.0 jenkins_branches.sh