diff --git a/Jenkinsfile b/Jenkinsfile index 111800c..d7ad9a2 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,17 +1,14 @@ pipeline { - agent none + agent { label 'docker' } stages { stage('Build') { - agent { - docker { - image 'kuralabs/python3-dev:latest' - } - } + agent { docker { image 'python:3.6' } } steps { sh ''' - tox -r + pip3 install tox + tox --recreate ''' stash name: 'docs', includes: '.tox/doc/tmp/html/**/*' } @@ -19,7 +16,11 @@ pipeline { stage('Publish') { agent { label 'docs' } - when { branch 'master' } + when { + beforeAgent true + branch 'master' + } + steps { unstash 'docs' sh ''' @@ -35,14 +36,16 @@ pipeline { success { slackSend ( color: '#00FF00', - message: "SUCCESSFUL: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]' (${env.BUILD_URL})" + message: ":sunny: SUCCESSFUL: " + + "<${env.BUILD_URL}|[${env.BUILD_NUMBER}] ${env.JOB_NAME}>" ) } failure { slackSend ( color: '#FF0000', - message: "FAILED: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]' (${env.BUILD_URL})" + message: ":rain_cloud: FAILED: " + + "<${env.BUILD_URL}|[${env.BUILD_NUMBER}] ${env.JOB_NAME}>" ) } } diff --git a/README.rst b/README.rst index 2206101..5be9fd2 100644 --- a/README.rst +++ b/README.rst @@ -34,13 +34,13 @@ Install Changelog ========= -1.0.0 (YYYY-MM-DD) +0.1.0 (2020-02-01) ------------------ New ~~~ -- Initial version. +- Development preview. License @@ -48,7 +48,7 @@ License :: - Copyright (C) 2017-2019 KuraLabs S.R.L + Copyright (C) 2017-2020 KuraLabs S.R.L Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/setup.py b/setup.py index dbafe77..eb9984f 100755 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- # -# Copyright (C) 2017-2019 KuraLabs S.R.L +# Copyright (C) 2017-2020 KuraLabs S.R.L # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License.