File tree Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,11 @@ pipeline {
88 }
99 }
1010
11+ triggers {
12+ // timer trigger for "nightly build" on master branch
13+ cron( env. BRANCH_NAME . equals(' master' ) ? ' H H(0-3) * * 1-5' : ' ' )
14+ }
15+
1116 stages {
1217 stage (' Environment' ) {
1318 steps {
@@ -38,7 +43,11 @@ pipeline {
3843 }
3944 stage (' Verify' ) {
4045 when {
41- changeRequest()
46+ anyOf {
47+ changeRequest()
48+ triggeredBy ' TimerTrigger'
49+ tag " release-*"
50+ }
4251 }
4352 steps {
4453 sh ' mvn -P system-test -Dmw_home=${ORACLE_HOME} test-compile failsafe:integration-test'
@@ -49,5 +58,19 @@ pipeline {
4958 }
5059 }
5160 }
61+ stage (' Save Nightly Installer' ){
62+ when {
63+ allOf {
64+ triggeredBy ' TimerTrigger'
65+ branch " master"
66+ }
67+ }
68+ steps {
69+ sh '''
70+ oci os object put --namespace=weblogick8s --bucket-name=wko-system-test-files --config-file=/dev/null --auth=instance_principal --force --file=installer/target/weblogic-deploy.zip --name=weblogic-deploy-master.zip
71+ '''
72+ }
73+ }
74+
5275 }
5376}
You can’t perform that action at this time.
0 commit comments