Opened 2 years ago

Last modified 20 months ago

#5525 assigned defect

Make new SDK generation run on Jenkins

Reported by: aramle Owned by: aramle
Priority: major Milestone:
Component: Build Version: trunk
Keywords: Cc:

Description

Make it possible to build the new generation of JModelica with SDK-1.13 on Jenkins.

Change History (20)

comment:1 Changed 2 years ago by aramle

r10454 Adding Jenkinsfile for building with new SDK.

comment:2 Changed 2 years ago by aramle

r10457 Adding functions for getting svn revision and converting windows path to unix path.

comment:3 Changed 2 years ago by aramle

r10458 Fixing unixpath function missed in previous commit.

comment:4 Changed 2 years ago by aramle

r10460 Fixing stuff related to SDK path.

comment:5 Changed 2 years ago by aramle

r10466 Fixed missing '$'

comment:6 Changed 2 years ago by aramle

r10471 Moved groovy files to vars folder and created resources and src.

comment:7 Changed 2 years ago by aramle

r10474 Tried to escape '$'

comment:8 Changed 2 years ago by aramle

r10479 Last try with writing to shell script.

comment:9 Changed 2 years ago by aramle

r10480 Added missed change of directory.

comment:10 Changed 2 years ago by aramle

r10482 Fixed escaping for running jm_tests.

comment:11 Changed 2 years ago by aramle

r10485 Fixed typo in svnRevision.groovy.

comment:12 Changed 2 years ago by jsten

changeset:10489
Updated Jenkinsfile to upload install zip-archive to JModelica.org server.

comment:13 Changed 2 years ago by aramle

r10490 Fixed missing 'set' in svnRevision.groovy.

comment:14 Changed 2 years ago by jsten

changeset:10491
Fixes to Jenkinsfile and related files so that archive and upload works.

comment:15 Changed 23 months ago by jsten

changeset:10496
Some refactoring of Jenkinsfile:

  • Automatic resolution of branch name
  • Only upload install if we are trunk (cause we only support that right now)
  • Quiet checkout of SVN, avoid lengthy logs due to this.
  • General formatting cleanup and removal of redundant variables

comment:16 Changed 23 months ago by jsten

changeset:10515
Refactored Jenkinsfile and Shared Jenkins Library:

  • Created method for resolving SDK path and removed hardcoded definitions in various places.
  • Added support for returning stdout from runMSYSWithEnv.
  • Simplified svnRevision function.

comment:17 Changed 23 months ago by jsten

changeset:10521
Minor update to how resolveSDK works, it now looks as the environment for alternative SDK.

Last edited 23 months ago by jsten (previous) (diff)

comment:18 Changed 23 months ago by jsten

changeset:10522
Fixed bug in runMSYSWithEnv.groovy where it crashed if returnStdout was equal to true.

comment:19 Changed 23 months ago by jsten

changeset:10529
Fixed typo in runMSYSWithEnv.groovy.

comment:20 Changed 20 months ago by Christian Andersson

Milestone: 2.2.x

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.