Skip to content

Commit

Permalink
[releng] Udpate Jenkinsfile to deploy TP files
Browse files Browse the repository at this point in the history
Change-Id: I49ff263609f4f8250648ae06d973034cb9337662
Signed-off-by: Arnaud Dieumegard <[email protected]>
  • Loading branch information
arnauddieumegard committed Jun 11, 2020
1 parent 9d61991 commit 4d88373
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,13 @@ pipeline {
ssh [email protected] mkdir -p ${DEST_DIR}/component/${VERSION}
ssh [email protected] mkdir -p ${DEST_DIR}/runtime/${VERSION}
ssh [email protected] mkdir -p ${DEST_DIR}/runtimecore/${VERSION}
ssh [email protected] mkdir -p ${DEST_DIR}/runtimecore/${VERSION}/targets/
ssh [email protected] mkdir -p ${DEST_DIR}/sdk/${VERSION}
scp -r releng/plugins/org.polarsys.kitalpha.releng.samplecomponent.updatesite/target/repository/* [email protected]:${DEST_DIR}/component/${VERSION}
scp -r releng/plugins/org.polarsys.kitalpha.releng.runtime.updatesite/target/repository/* [email protected]:${DEST_DIR}/runtime/${VERSION}
scp -r releng/plugins/org.polarsys.kitalpha.releng.runtime.core.updatesite/target/repository/* [email protected]:${DEST_DIR}/runtimecore/${VERSION}
scp -r releng/plugins/org.polarsys.kitalpha.releng.targets/* [email protected]:${DEST_DIR}/runtimecore/${VERSION}/targets
scp -r releng/plugins/org.polarsys.kitalpha.releng.sdk.updatesite/target/repository/* [email protected]:${DEST_DIR}/sdk/${VERSION}
echo "deploy product"
Expand All @@ -53,7 +55,7 @@ pipeline {

post {
always {
archiveArtifacts artifacts: '**/*.log, **/*.layout, releng/plugins/org.polarsys.kitalpha.releng.samplecomponent.updatesite/target/repository/**, releng/plugins/org.polarsys.kitalpha.releng.runtime.core.updatesite/target/repository/**,releng/plugins/org.polarsys.kitalpha.releng.runtime.updatesite/target/repository/**,releng/plugins/org.polarsys.kitalpha.releng.sdk.updatesite/target/repository/**, releng/plugins/org.polarsys.kitalpha.releng.sdk.product/target/products/*.zip'
archiveArtifacts artifacts: '**/*.log, **/*.layout, releng/plugins/org.polarsys.kitalpha.releng.samplecomponent.updatesite/target/repository/**, releng/plugins/org.polarsys.kitalpha.releng.runtime.core.updatesite/target/repository/**,releng/plugins/org.polarsys.kitalpha.releng.runtime.updatesite/target/repository/**,releng/plugins/org.polarsys.kitalpha.releng.sdk.updatesite/target/repository/**, releng/plugins/org.polarsys.kitalpha.releng.sdk.product/target/products/*.zip, releng/plugins/org.polarsys.kitalpha.releng.targets'
junit '**/target/surefire-reports/*.xml'
}
}
Expand Down

0 comments on commit 4d88373

Please sign in to comment.