Commit Graph

214 Commits

Author SHA1 Message Date
Gabor Apati-Nagy
fa7548129b CA-176169: Copyright statement: Added comma at all places where it was still missing (all extensions now)
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-01-18 17:13:09 +00:00
Gabor Apati-Nagy
f30daff3b6 CA-176169: Fixed copyright statements in the shell scripts
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-01-16 20:15:39 +00:00
Gabor Apati-Nagy
9422ce51d1 CA-176169: Added script to fail on source files with missing copyright statements
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-01-16 19:42:11 +00:00
Callum McIntyre
a6e628b640 [CP-19888] Changes to service stop/start
Always stop any running ncover service before starting (instead of ignoring the error and using the currently running one), and ignore the error if it's already been stopped at the end. The logic for the latter is that we stop the service right after the commands that require it, so if it stopped too early they'll error anyway. If they don't error because of the stopped service then we shouldn't error right at the end.
2017-01-09 15:58:29 +00:00
Callum McIntyre
7fc58882d8 Merge remote-tracking branch 'upstream/master' into CP-19888-copy
# Conflicts:
#	mk/build.sh (used master)
#	mk/tests-checks-cover.sh
2016-12-19 17:19:04 +00:00
Callum McIntyre
29f97eda24 [CP-19888] Resetting the branch to before the merge 2016-12-19 17:11:14 +00:00
Konstantina Chremmou
c2f66b0e81 Switch off treating unset variables as errors to check if branding is set.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-12-16 12:04:12 +00:00
Konstantina Chremmou
44fb5a11a3 Corrected comparison.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-12-15 15:26:44 +00:00
Konstantina Chremmou
0b74802e4f Do not retrieve dynamically, but rather specify explicitly, the version of .NET
to use. Use trunk as XS_BRANCH only where needed (some places will be obsoleted).

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-12-15 14:33:52 +00:00
Konstantina Chremmou
31c87eff7e The file xcversion is no longer necessary.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-12-15 14:31:25 +00:00
Konstantina Chremmou
771383f9b2 Create the manifest *after* the output directory is cleaned.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-12-14 10:05:35 +00:00
Konstantina Chremmou
bedd0f7b44 Moved the code printing out the tip of the branding repo to the branding script
so it can be overriden.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-12-13 12:50:54 +00:00
Konstantina Chremmou
1bc79d3ce7 No need to store the location of the latest successful build anymore.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-12-13 12:37:37 +00:00
Konstantina Chremmou
84a349fc07 Removed branded ref repo and obsolete scripts.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-12-05 13:29:06 +00:00
Callum McIntyre
603e58ac49 [CP-19888] Add support for code coverage in build jobs
Add support for a new environment variable REPORT_COVERAGE, which causes the tests phase to use the new script tests-checks-cover instead of tests-checks.This new script wraps the tests-checks script, by instrumenting NCover to monitor before it runs, and writing a summary log and generating a HTML report of coverage in the workspace output directory.
2016-12-02 14:36:59 +00:00
Konstantina Chremmou
f9997cc663 Removed references to the old build system. Alos, for the time being retrieve the
OVF fix up iso from a fixed location as this component has not changed in a while.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-12-02 11:52:12 +00:00
Konstantina Chremmou
d33832dea6 Change location where the product versions are to be found. Retrieve it from the
source repo instead of the latest build (where it is output within an rpm which
XenCenter does not really need to consume).

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-12-02 11:51:51 +00:00
Konstantina Chremmou
ea3c8be435 Do not retrieve the SDK from the latest main build output. Instead, use source
code found locally in this repo.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-12-02 11:46:57 +00:00
Konstantina Chremmou
b3c558d246 Stop creating the isos. Restructured output.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-11-30 01:35:52 +00:00
Konstantina Chremmou
3a4191bc34 Removed ref repo.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-11-29 16:04:06 +00:00
Konstantina Chremmou
57b2a6e7ec Package the VNCControl.msi as a tar.bz2.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-11-29 14:34:45 +00:00
Konstantina Chremmou
039c052e32 Remove loose pdb files from the output as they are now packaged.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-11-29 14:31:43 +00:00
Konstantina Chremmou
0f7df22f4d Changed the location of the branding repo.
Corrected code reverting to trunk if this is not an official branch.
2016-11-28 10:57:12 +00:00
Konstantina Chremmou
c0e4babed7 Refactored duplicate check for the SKIP_TESTS variable.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-11-25 18:22:49 +00:00
Mihaela Stoica
2ef6bb245c CA-233286: Error while running the package-and-sign script
Use executables from WIX_BIN instead of the default Wix candle/lit/light exes

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-11-23 16:24:18 +00:00
Konstantina Chremmou
37a45934e2 Output the installers unpacked alongside the packed versions.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-11-22 11:29:40 +00:00
Konstantina Chremmou
571ebf9cce Restored falling back to trunk for xenadmin until we switch the branding repos to a different internal location.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-11-18 11:29:06 +00:00
Konstantina Chremmou
dfad3217dc Get the git branch from the environment variable and do not fall back to trunk
if it can't be found.Use GIT_LOCAL_BRANCH instead of GIT_BRANCH to retrieve the
branch name without the remote.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-11-18 00:15:47 +00:00
Konstantina Chremmou
518f542e06 Tidy up the pdb files in an archive (todo: remove them once the main build system
has started consuming the tar). Leave spell check only in the production build.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-11-15 15:41:11 +00:00
Mihaela Stoica
d76c450c41 CP-19664: Update RPU hotfixes in XenCenter
Added the RPU hotfix for Dundee

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-11-10 14:59:39 +00:00
Konstantina Chremmou
fae16a9c92 CP-18097: package the english and l10n installer in a tar.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-11-02 21:09:27 +00:00
Konstantina Chremmou
864386daa1 We don't push automatically to xenadmin-ref.hg any longer, hence remove the relevant bits.
Also remove config.xml as completely out of sync with the confiuration on the build machine.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-11-02 21:09:10 +00:00
Callum McIntyre
5cb4cc8ba1 Add the branding for 6.0 to branding.sh and re-branding.sh 2016-10-21 10:58:32 +01:00
Callum McIntyre
239c2e8b9d [DotNet Upgrade] Revert the temporary change to use the local .net installer, get .net 4.6 from dotnetpackages again
Signed-off-by: Callum McIntyre <callumiandavid.mcintyre@citrix.com>
2016-10-19 09:38:18 +01:00
Callum McIntyre
fd14e4205c [DotNet Upgrade] Use REPO_CITRITE_HOST in WEB_HOTFIXES_ROOT
Signed-off-by: Callum McIntyre <callumiandavid.mcintyre@citrix.com>
2016-10-18 10:14:51 +01:00
Callum McIntyre
8d9007205f (TEMPORARY) Swap .net installer for a local copy of the 4.6 one, for
testing

Signed-off-by: Callum McIntyre <callumiandavid.mcintyre@citrix.com>
2016-10-17 14:16:09 +01:00
Callum McIntyre
dfe627b5ee [DotNet upgrade] Use executables from WIX_BIN instead of the default Wix candle/lit/light exes (which may not be the WIX_BIN ones), to guarantee using the patched+built 3.10 exes
Signed-off-by: Callum McIntyre <callumiandavid.mcintyre@citrix.com>
2016-10-17 14:16:08 +01:00
Callum McIntyre
574c7ed221 [DotNet upgrade] Update wix patches for 3.10, to address changes in the source files
Signed-off-by: Callum McIntyre <callumiandavid.mcintyre@citrix.com>
2016-10-17 14:16:07 +01:00
Callum McIntyre
4b5e4ce11a [DotNet upgrade] Use Wix 3.10 binaries so that we can support .net 4.6 checks
Signed-off-by: Callum McIntyre <callumiandavid.mcintyre@citrix.com>
2016-10-17 14:12:41 +01:00
Callum McIntyre
168dbe4c13 [DotNet upgrade] Upgrade the XenCenter installer to use .net 4.6
In the dotnet installers we now compare the Release Dword against the lowest 4.6 version, accepting anything >=. Build number from https://msdn.microsoft.com/en-us/library/hh925568(v=vs.110).aspx

Also updated the wix check and xe project, as was done in the similar .net 4.5 upgrade

Signed-off-by: Callum McIntyre <callumiandavid.mcintyre@citrix.com>
2016-10-17 14:09:08 +01:00
Callum McIntyre
fb261afcf1 [DotNet Upgrade] Update the build scripts to use .net 4.6
Signed-off-by: Callum McIntyre <callumiandavid.mcintyre@citrix.com>
2016-09-29 11:02:46 +01:00
Cheng Zhang
76f7946ec4 CA-213045: Make server backup file name rebrandable
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2016-06-30 10:31:10 +08:00
Mihaela Stoica
16270af4d4 CA-210984: XenCenter build fails in the secure environment while getting RPU hotfixes from artifactory
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-05-13 12:31:55 +01:00
Mihaela Stoica
ed393b5800 Fix re-branding of the product version
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-05-13 00:40:35 +01:00
Mihaela Stoica
7409d99d06 CA-210193: Update build script to pick up the latest RPU hotfixes (#979)
* CA-210193: Update build script to pick up the latest RPU hotfixes

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>

* CA-210193: Update build script to pick up the latest RPU hotfixes

- fixed the parameters of the second WGET

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-05-06 14:21:29 +01:00
Mihaela Stoica
308faed52f CA-207758: New script for copying the build output
(moved from archive-push)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-04-14 11:41:47 +01:00
Mihaela Stoica
dc7bd55448 CA-205116: Remove keep-build call from push-latest-successful-build 2016-04-12 23:19:34 +01:00
Stephen Turner
b2ec3bf89d Merge pull request #936 from MihaelaStoica/CA-207296
CA-207296: Update Health Check service assembly info and sign the assembly
2016-04-12 14:39:43 +01:00
Mihaela Stoica
e20bff0cd9 CA-207296: Update Health Check service assembly info and sign the assembly
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-04-12 13:52:01 +01:00
Stephen Turner
961cf0c809 Merge pull request #925 from MihaelaStoica/CA-205116
CA-205116: Add scripts to push latest successful build to the ref rep…
2016-04-11 15:08:05 +01:00