Changeset 0a10dc8 for Jenkins/Promote
- Timestamp:
- Sep 11, 2025, 11:35:17 PM (2 weeks ago)
- Branches:
- master
- Children:
- 8730e57
- Parents:
- a307552
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Jenkins/Promote
ra307552 r0a10dc8 1 1 #!groovy 2 2 3 // Globals 4 @Field def BuildDir = pwd tmp: true 5 @Field def SrcDir = pwd tmp: false 6 @Field def RemoteRepo = 'git@github.com:cforall/cforall.git' 7 @Field def ArchiveUrl = 'https://cforall.uwaterloo.ca/jenkins/job/Cforall_Distribute_Ref/lastSuccessfulBuild/artifact/*zip*/archive.zip' 8 9 // Local variables 10 def err = null 11 def log_needed = false 12 3 13 node { 4 // Globals5 BuildDir = pwd tmp: true6 SrcDir = pwd tmp: false7 RemoteRepo = 'git@github.com:cforall/cforall.git'8 ArchiveUrl = 'https://cforall.uwaterloo.ca/jenkins/job/Cforall_Distribute_Ref/lastSuccessfulBuild/artifact/*zip*/archive.zip'9 10 // Local variables11 def err = null12 def log_needed = false13 14 14 currentBuild.result = "SUCCESS" 15 15 16 // Wrap build to add timestamp to command line16 // Wrap build to add timestamp to command line 17 17 wrap([$class: 'TimestamperBuildWrapper']) { 18 19 18 PrepRepo(); 20 21 19 def name = GetArchive(); 22 23 20 PushRepo(name); 24 21 } 25 26 22 } 27 23 … … 59 55 } 60 56 } 61 62 57 return tarball 63 58 }
Note:
See TracChangeset
for help on using the changeset viewer.