Merge lp:~didrocks/cupstream2distro-config/skip-version-check into lp:cupstream2distro-config

Proposed by Didier Roche-Tolomelli
Status: Merged
Approved by: Łukasz Zemczak
Approved revision: 528
Merged at revision: 525
Proposed branch: lp:~didrocks/cupstream2distro-config/skip-version-check
Merge into: lp:cupstream2distro-config
Prerequisite: lp:~didrocks/cupstream2distro-config/support-manual-rebuild-and-mir
Diff against target: 32 lines (+10/-1)
2 files modified
daily-release/jenkins-templates/master-config.xml.tmpl (+6/-1)
daily-release/jenkins-templates/prepare-project-config.xml.tmpl (+4/-0)
To merge this branch: bzr merge lp:~didrocks/cupstream2distro-config/skip-version-check
Reviewer Review Type Date Requested Status
Łukasz Zemczak Approve
PS Jenkins bot continuous-integration Approve
Review via email: mp+175253@code.launchpad.net

Commit message

add skip dest check runtime parameter for forcing uploading even the Vcs doesn't have the destination changelog version.

Description of the change

add skip dest check runtime parameter for forcing uploading even the Vcs doesn't have the destination changelog version.

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

A risky addition... but if there is rationale from distro to have that in, then it's ok I guess.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'daily-release/jenkins-templates/master-config.xml.tmpl'
2--- daily-release/jenkins-templates/master-config.xml.tmpl 2013-07-17 11:17:27 +0000
3+++ daily-release/jenkins-templates/master-config.xml.tmpl 2013-07-17 11:17:27 +0000
4@@ -23,8 +23,13 @@
5 <defaultValue>false</defaultValue>
6 </hudson.model.BooleanParameterDefinition>
7 <hudson.model.BooleanParameterDefinition>
8+ <name>SKIP_DEST_CHECK</name>
9+ <description>Skip destination version check. This will then triggers FORCE_REBUILD as well and force an upload even if the latest changes in dest is not in the Vcs (note that debian/changelog will probably relist commits that are already in dest).</description>
10+ <defaultValue>false</defaultValue>
11+ </hudson.model.BooleanParameterDefinition>
12+ <hudson.model.BooleanParameterDefinition>
13 <name>FORCE_REBUILD</name>
14- <description>Force rebuilding above selected components (matching eventually REBUILD_ONLY), even if they have nothing to release.</description>
15+ <description>Force rebuilding above selected components (matching eventually REBUILD_ONLY), even if they have nothing to release. Note that if destination has a version that is not in the Vcs and that SKIP_DEST_CHECK is not enabled, this will still warn and block the rebuild.</description>
16 <defaultValue>false</defaultValue>
17 </hudson.model.BooleanParameterDefinition>
18 </parameterDefinitions>
19
20=== modified file 'daily-release/jenkins-templates/prepare-project-config.xml.tmpl'
21--- daily-release/jenkins-templates/prepare-project-config.xml.tmpl 2013-07-17 11:17:27 +0000
22+++ daily-release/jenkins-templates/prepare-project-config.xml.tmpl 2013-07-17 11:17:27 +0000
23@@ -47,6 +47,10 @@
24 OPTS="$OPTS -f"
25 fi
26
27+if [ "$SKIP_DEST_CHECK" = "true" ]; then
28+ OPTS="$OPTS --skip-dest-check"
29+fi
30+
31 # WS Clean-up
32 rm -f *xml
33

Subscribers

People subscribed via source and target branches

to all changes: