aboutsummaryrefslogtreecommitdiff
path: root/Jenkinsfile
diff options
context:
space:
mode:
Diffstat (limited to 'Jenkinsfile')
-rw-r--r--Jenkinsfile22
1 files changed, 22 insertions, 0 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
new file mode 100644
index 0000000..4cb5211
--- /dev/null
+++ b/Jenkinsfile
@@ -0,0 +1,22 @@
+pipeline {
+ agent any
+ options { ansiColor('xterm') }
+ stages {
+ stage('Publish') {
+ agent {
+ docker {
+ image 'peterevans/dockerhub-description:3'
+ args '--entrypoint ""'
+ }
+ }
+ environment {
+ DOCKERHUB_USERNAME = 'chn2guevara'
+ DOCKERHUB_PASSWORD = credentials('DOCKERHUB_TOKEN')
+ DOCKERHUB_REPOSITORY = 'chn2guevara/jenkins-agent-docker-cli'
+ SHORT_DESCRIPTION = 'jenkins/agent:latest with docker-cli'
+ README_FILEPATH = './README.md'
+ }
+ steps { sh '/entrypoint.sh' }
+ }
+ }
+}