# Source: jenkins/templates/tests/test-config.yaml
apiVersion: v1
kind: ConfigMap
metadata:
  name: jenkins-tests
  namespace: jx-jenkins
  annotations:
    "helm.sh/hook": test
    meta.helm.sh/release-name: 'jenkins'
  labels:
    gitops.jenkins-x.io/pipeline: 'namespaces'
data:
  run.sh: |-
    @test "Testing Jenkins UI is accessible" {
      curl --retry 48 --retry-delay 10 jenkins:8080/login
    }
