This test project connects to a running Jenkins instance and runs a number of feature level tests. You will need to set some environment variables before running the tests.
Go to http://your.jenkins.io/me/configure, in the API Token section click Show API Token
and take note of the user id a token values.
Then set the following environment variables:
export BDD_JENKINS_URL=http://your.jenkins.io
export BDD_JENKINS_TOKEN=abcd1234
export BDD_JENKINS_USERNAME=jrawlings
Now run:
go get github.com/DATA-DOG/godog/cmd/godog
go get github.com/fabric8-jenkins/godog-jenkins
cd $GOPATH/src/github.com/fabric8-jenkins/godog-jenkins/jenkins/
And trigger the tests:
godog