0

I'm new with jenkins, My scenario is the next task:

1 make a pull master from Github Repository, every 1 hour.

2 run a custom code for test code (executed by Jenkinsfile), if fail, not execute step 3.

3 make a push image to registry "DockerHub".

I have installed Plugin Github with credentials and check it with log and this is OK, and created Jenkinsfile for same repo with a "simple bash command", and i have Pipeline Model Definition with "DockerHub" credentials (dockerTag, dockerhub name repo and user:password ) rights. how to create trigger when Plugin Github pull master run Jenkinsfile rutine ?

when i run task (incomplete) i got error console log output

Still waiting to schedule taskJenkins doesn’t have label dockerTag

many thanks for any help

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.