Page MenuHomeWildfire Games

Version the GCC Jenkins scripts
ClosedPublic

Authored by Itms on May 20 2019, 8:48 PM.

Details

Summary

Puts into version control the scripts used by Jenkins to test patches and commits with GCC for Phabricator. This will allow modifications and improvements.

Test Plan

This is currently working and should just be versioned.

Diff Detail

Repository
rP 0 A.D. Public Repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Itms created this revision.May 20 2019, 8:48 PM

Successful build - Chance fights ever on the side of the prudent.

Link to build: https://jenkins.wildfiregames.com/job/differential/1464/display/redirect

wraitii added a subscriber: wraitii.

Props for uploading the scripts 👍 . Don't have much in the way of comments.

wraitii accepted this revision.May 25 2019, 11:12 AM
This revision is now accepted and ready to land.May 25 2019, 11:12 AM
Angen added inline comments.May 30 2019, 8:39 PM
build/jenkins/differential.Jenkinsfile
20 ↗(On Diff #8090)

does this command work if there is no local copy of svn?

I tried this for windows autobuild
result is that it created invalid svn folder

Running on Jenkins in F:\Jenkins\workspace\0adtest
Checking out a fresh workspace because there's no workspace at F:\Jenkins\workspace\0adtest
Cleaning local Directory .
Checking out https://svn.wildfiregames.com/public/ps/trunk at revision '2019-05-30T19:57:02.427 +0200'
....
At revision 22321
F:\Jenkins\workspace\0adtest>svn cleanup 
svn: E155007: 'F:\Jenkins\workspace\0adtest' is not a working copy directory
Itms added inline comments.May 30 2019, 8:52 PM
build/jenkins/differential.Jenkinsfile
20 ↗(On Diff #8090)

Welcome to the wonderful world of CI where nothing works the first time :D This command is supposed to work yes.

What do you have at F:\Jenkins\workspace\0adtest when you go there with your file explorer?

Angen accepted this revision.May 30 2019, 9:35 PM
Itms planned changes to this revision.Sep 17 2019, 8:57 PM

This is completely outdated, now that the build uses Docker. I will upload the current version of scripts here.

Itms updated this revision to Diff 10515.Dec 7 2019, 5:35 PM

Updated version using Docker (in place since months now).

This revision is now accepted and ready to land.Dec 7 2019, 5:35 PM
Vulcan added a comment.Dec 7 2019, 5:38 PM

Successful build - Chance fights ever on the side of the prudent.

Link to build: https://jenkins.wildfiregames.com/job/vs2015-differential/707/display/redirect

Vulcan added a comment.Dec 7 2019, 5:43 PM

Successful build - Chance fights ever on the side of the prudent.

Link to build: https://jenkins.wildfiregames.com/job/docker-differential/1223/display/redirect

Itms added inline comments.Dec 7 2019, 7:02 PM
build/jenkins/pipelines/docker-differential.Jenkinsfile
61 ↗(On Diff #10515)

Angen found out this is not needed anymore!

74 ↗(On Diff #10515)

and here

build/jenkins/pipelines/docker-svn.Jenkinsfile
56 ↗(On Diff #10515)

and here

69 ↗(On Diff #10515)

and here

Krinkle removed a subscriber: Krinkle.Jan 6 2020, 4:54 AM