summaryrefslogtreecommitdiff
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* Bump versions on 2.11.9 releaseAdriaan Moors2017-03-281-1/+1
|
* update stale commentLukas Rytz2017-03-161-2/+1
|
* [backport] new repo, version numbers for integration buildsLukas Rytz2017-03-091-57/+79
| | | | | | | Integration builds now have version number like `2.12.2-bin-sha7` or `2.13.0-pre-sha7` and are published to scala-integration (no longer scala-release-temp). scala-release-temp is still used in the bootstrap script for publishing locker.
* More reusable path for windows jobAdriaan Moors2017-02-151-3/+2
|
* don't mass-delete old nightlies at release timeSeth Tisue2016-11-081-1/+1
| | | | | | | as happened with 2.12.0, for gory details see https://github.com/scala/scala-dev/issues/257 fix suggested by Stefan Zeiger
* [backport] Bump sbt.version to 0.13.12, without breakingDale Wijnand2016-10-191-1/+1
|
* Use sbt for PR validationStefan Zeiger2016-06-142-10/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Support directories in `-doc-external-doc`: It is documented as accepting a “classpath_entry_path” for the keys but this only worked for JARs and not for individual class files. When checking for external-doc mappings for a Symbol, we now find the root directory relative to a class file instead of using the full class file path. The corresponding tests for SI-191 and SI8557 are also fixed to support individual class files instead of JARs in partest. This is required for the sbt build which runs partest on “quick” instead of “pack”. - Fix version and repository handling for bootstrapping. The bootstrap `scalaInstance` can now be resolved from any repository added to the project (not just the bootstrap repositories) by using a different workaround for https://github.com/sbt/sbt/issues/1872. - Workaround for https://github.com/sbt/sbt/issues/2640 (putting the wrong `scalaInstance` on partest’s classpath). The required `ScalaInstance` constructor is deprecated, so we have to disable deprecation warnings and fatal warnings until there is a better fix. - Add MiMa to the sbt build (port of the old `test.bc` ant task). The sbt-mima plugin doesn’t have all the features we need, so we do it manually in a similar way to what the plugin does. Checks are done in both directions for the `library` and `compiler` projects. The base version has to be set in `build.sbt`. When set to `None`, MiMa checks are skipped. MiMa checks are run sequentially to avoid spurious errors (see https://github.com/typesafehub/migration-manager/issues/115). - Port the OSGi tests to the sbt build. The set of JARs that gets copied into build/osgi as bundles is a bit different from the ant build. We omit the source JARs but add additional modules that are part of the Scala distribution, which seems more correct. - Get rid up `pull-binary-libs.sh` for the sbt build. Add artifacts are resolved from the special bootstrap repository through Ivy. The special `code.jar` and `instrumented.jar` artifacts are copied to the location where partest expects them (because these paths are hardcoded in partest). Other extra JARs for partest in `test/files/lib` are referenced directly from the Ivy cache. - Move common settings that should be available with unqualified names in local `.sbt` files and on the command line into an auto-plugin. - Add an `antStyle` setting to sbt to allow users to easily enable ant-style incremental compilation instead of sbt’s standard name hashing with `set antStyle := true`. - Disable verbose `info`-level logging during sbt startup for both, `validate/test` and `validate/publish-core` jobs. Update logging is no longer disabled when running locally (where it is useful and doesn’t generate excessive output). - Pass optimization flags for scalac down to partest, using the new partest version 1.0.15\6. - Call the new sbt-based PR validation from `scripts/jobs/validate/test`. - Disable the tests `run/t7843-jsr223-service` and `run/t7933` from https://github.com/scala/scala/pull/4959 for now. We need to set up a new test project (either partest or junit) that can run them on a packaged version of Scala, or possibly move them into a separate project that would naturally run from a packaged Scala as part of the community build.
* Merge pull request #5139 from SethTisue/disable-integrate-ideAdriaan Moors2016-04-281-0/+4
|\ | | | | disable integrate/ide script on 2.11.x
| * disable integrate/ide script on 2.11.xSeth Tisue2016-04-281-0/+4
| |
* | CI: hardcode java path in integrate/windows scriptAdriaan Moors2016-04-211-5/+6
| |
* | CI: use java 6 for windows integrationAdriaan Moors2016-04-211-0/+3
|/
* bump versions after 2.11.8 releaseSeth Tisue2016-03-081-1/+1
|
* Merge pull request #4993 from SethTisue/sbt-0.13.11Seth Tisue2016-02-261-1/+1
|\ | | | | upgrade to sbt 0.13.11
| * upgrade to sbt 0.13.11Seth Tisue2016-02-221-1/+1
| | | | | | | | yum! delicious dogfood!
* | Update to partest 1.0.13Jason Zaugg2016-02-171-14/+0
|/ | | | | | | | Which lets us remove the dependency on sbt-partest-interface, as this has been incorporated into scala-partest itself. Conflicts: scripts/jobs/integrate/bootstrap
* Use sbt for PR validation builds.Stefan Zeiger2016-01-123-23/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Improve version handling in the sbt build: The new settings `baseVersion` and `baseVersionSuffix` make it easier to set version numbers for different kinds of builds in a consistent way without e.g. having to first get a git SHA outside of sbt. The new task `generateBuildCharacterPropertiesFile` writes the file `buildcharacter.properties` to the root dir. The format is compatible with the same file produced by the ANT build but it only contains a subset of the properties, in particular the Maven version, which is needed in publishing scripts and passed around between different Jenkins jobs as `jenkins.properties`. SHAs in version numbers are consistently shortened to 7 digits (as used by git and github). Previously we used 7 digits in Maven snapshot version numbers but 10 digits in canonical and OSGi version numbers. # Add Jenkins script support to the sbt build: The new command `setupPublishCore` takes the PR validation snapshot repository as an argument and changes the required settings for the `publish-core` build (use SHA-SNAPSHOT versioning, compile with optimization enabled, do not publish scaladoc sets) For example, the following command can be used to generate `buildcharacter.properties` with the version numbers needed for PR validation builds: sbt setupPublishCore dummy generateBuildCharacterPropertiesFile The sbt build will now automatically detect and use a “~/.credentials” file with the credentials for publishing to a remote repository. # Call sbt from `publish-core`: The correct`$SBT_CMD` is set directly in `bootstrap` and used by `publish-core` to first generate `buildcharacter.properties` and then build and publish. Parsing the git revision, computing a version number and getting binary dependencies are no longer required in the script. This is all done in the sbt build.
* Windows CI: don't hardcode Ant path quite so hardSeth Tisue2015-10-091-1/+5
|
* add experimental Windows script for testingSeth Tisue2015-10-081-0/+11
| | | | experimental for now. destined to be automated via scala-jenkins-infra
* fix assorted typosSeth Tisue2015-08-281-3/+3
|
* Subst repo.typesafe -> dl.bintray, use jcenter cacheAdriaan Moors2015-05-081-3/+4
| | | | | | | Switch to https while we're at it, and remove duplicate entry for sbt-plugin-releases (NOTE: 'organization' <-> 'organisation', see http://ant.apache.org/ivy/history/latest-milestone/concept.html#patterns)
* [backport] Fixes a comment in the bootstrap script.Lukas Rytz2015-05-061-9/+11
| | | | Backport of 48328cc2a2ae26cf6d6cec5da30605b1be6f0990
* [backport] Remove existing builds from private-repo before building a release.Lukas Rytz2015-05-061-0/+25
| | | | Backport of 1a292c3d0fe10699837a02ffd8adc3ea4d3a6d22
* [backport] Revert back to Scalacheck 1.11.x, fixes to bootstrap scriptAdriaan Moors2015-05-061-14/+18
| | | | | | | | | | | Scalacheck 1.12.x cross-compiles to JS and will take more work to integrate. Make sure we never attempt to publish scalacheck to sonatype. Force checkout module refs in case of dirty workspace. Backport of f238586d1b9d93533ee9507b56a26a97c2b2501c
* [backport] remove references to private-repo.typesafe.comLukas Rytz2015-05-061-19/+6
| | | | Backport of 9cd3e6505aa4285750e63263e2551ab71f36ff8d
* [backport] Documentation and some updates for the release build scriptLukas Rytz2015-05-061-107/+150
| | | | Backport of 7b54922b77fe1cf40177fc4a5ee9707bb5d854d2
* [backport] Remove starr.use.released property (not in use anymore)Lukas Rytz2015-05-061-1/+1
| | | | Backport of 3b2abdf6af87debdfb01f22f185d2a35852218fc
* PR validation publishes zinc to $prRepoUrlAdriaan Moors2015-05-011-1/+1
| | | | Companion to https://github.com/scala-ide/uber-build/pull/73
* Derive repository info from (jenkins) env varsAdriaan Moors2015-04-162-16/+23
| | | | | | | | | Since we're moving to bintray, first centralizing the config of the repositories we use while bootstrapping a release. This should not be hardcoded in scala/scala anyway, it's an implementation detail of our infrastructure, which is defined by scala/scala-jenkins-infra.
* Set scala.full.version during bootstrap,Adriaan Moors2015-03-021-1/+3
| | | | | so that scala-dist depends on the correctly cross-versioned scala-continuations-plugin.
* IDE validation: run on last commitAdriaan Moors2015-01-271-0/+32
|
* New PR validationAdriaan Moors2015-01-214-71/+217
|
* TODO notes for release scriptAdriaan Moors2015-01-041-0/+5
|
* Towards travis-style CIAdriaan Moors2014-12-292-290/+87
| | | | | | | | | | Move script to the repo it acts on, out of scala/jenkins-scripts Had to make some changes: - scala checkout is now in root ($WORKSPACE) - credentials are actually in homedir (sonatype/private-repo) - inline pr-scala-common - don't run tests for actors-migration due to timeout (TODO: revert?)
* Import scripts verbatim from jenkin-scriptsAdriaan Moors2014-12-294-0/+875