diff options
author | Lars Wirzenius <liw@liw.fi> | 2012-08-11 19:40:08 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2012-08-11 19:40:08 +0100 |
commit | 86ae1d5c545f17c6802a384f3be8650ff00e0183 (patch) | |
tree | fe1343e2c014cace61fa8fbf42785907d9a0afe4 /jenkinstool | |
parent | 1574f60961a85fc64de74f89e71fc6f9e77ca79b (diff) | |
download | jenkinstool-86ae1d5c545f17c6802a384f3be8650ff00e0183.tar.gz |
Upload built source packages
Diffstat (limited to 'jenkinstool')
-rwxr-xr-x | jenkinstool | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/jenkinstool b/jenkinstool index 2b45fe6..e18a8b6 100755 --- a/jenkinstool +++ b/jenkinstool @@ -46,8 +46,10 @@ else fi commit_date=$(date --date="$commit_timestamp" +%%Y%%m%%dT%%H%%M%%S) +build_date=$(date +%%Y%%m%%dT%%H%%M%%S) + project="%(project.name)s" -version="${upstream_version}.vcs${commit_date}" +version="${upstream_version}.vcs${build_date}" artifacts="%(global.artifacts)s/${project}" tarball="${project}-${version}.tar.gz" ''' @@ -164,6 +166,7 @@ hostname dch -v "${version}-1" --distribution "%(host.debian-dist)s" "CI build" dch -r '' debuild -S -us -uc +dput -f "%(global.dput-host)s" "../${sourcepkg}_${version}-1_source.changes" ''') self.add_rsync_workspace_from_target(jc) @@ -177,6 +180,7 @@ debuild -S -us -uc jc.add_param_dict('global', { 'artifacts': '/var/www/jenkins', 'artifacts-url': 'http://192.168.122.218/jenkins', + 'dput-host': 'liw-jenkins', }) if 'bzr' in project: jc.set_bzr(project['bzr']) |