Skip to content

Commit

Permalink
chg: dev: Preparing for 0.1.0 development preview release.
Browse files Browse the repository at this point in the history
  • Loading branch information
carlos-jenkins committed Feb 2, 2020
1 parent eb3f4ac commit 8c6ef99
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 14 deletions.
23 changes: 13 additions & 10 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,25 +1,26 @@
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/**/*'
}
}

stage('Publish') {
agent { label 'docs' }
when { branch 'master' }
when {
beforeAgent true
branch 'master'
}

steps {
unstash 'docs'
sh '''
Expand All @@ -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}>"
)
}
}
Expand Down
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,21 +34,21 @@ Install
Changelog
=========

1.0.0 (YYYY-MM-DD)
0.1.0 (2020-02-01)
------------------

New
~~~

- Initial version.
- Development preview.


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.
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -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.
Expand Down

0 comments on commit 8c6ef99

Please sign in to comment.