diff --git a/Jenkinsfile b/Jenkinsfile index cbc0145..bb05eb4 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,5 +1,5 @@ pipeline { - agent { label 'linux' } + agent any options { buildDiscarder(logRotator(numToKeepStr: '5')) } @@ -28,4 +28,4 @@ pipeline { sh './jenkins/logout.sh' } } -} \ No newline at end of file +} diff --git a/jenkins/build.sh b/jenkins/build.sh index 81e18dd..c84fd84 100755 --- a/jenkins/build.sh +++ b/jenkins/build.sh @@ -1,2 +1,2 @@ #!/bin/bash -docker build -t darinpope/dp-alpine:latest . \ No newline at end of file +docker build -t chlbutler/dp-alpine:latest . diff --git a/jenkins/push.sh b/jenkins/push.sh index 43c9fc0..4022eb8 100755 --- a/jenkins/push.sh +++ b/jenkins/push.sh @@ -1,2 +1,2 @@ #!/bin/bash -docker push darinpope/dp-alpine:latest \ No newline at end of file +docker push chlbutler/dp-alpine:latest