-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathJenkinsfile
More file actions
23 lines (21 loc) · 948 Bytes
/
Jenkinsfile
File metadata and controls
23 lines (21 loc) · 948 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
pipeline {
agent any
stages {
stage('Snapshot Build & Deploy for Java 21') {
steps {
echo 'Start Snapshot Build and Deployment of Agent.Workbench ...'
sh 'mvn --version'
sh 'mvn clean install -P p2Deploy,uploadProducts -f eclipseProjects/de.enflexit.awb -Dtycho.localArtifacts=ignore -Dtycho.p2.transport.min-cache-minutes=0'
echo 'Build & Deployment of Agent.Workbench Snapshot is done!'
}
}
stage('Extract Products') {
steps {
echo 'Start extracting AWB Products ...'
archiveArtifacts 'eclipseProjects/de.enflexit.awb/releng/de.enflexit.awb.product/target/products/de.enflexit.awb-*'
archiveArtifacts 'eclipseProjects/de.enflexit.awb/releng/de.enflexit.awb.ws.product/target/products/de.enflexit.awb.ws-*'
archiveArtifacts 'eclipseProjects/de.enflexit.awb/bundles/de.enflexit.awb.help/target/de.enflexit.awb.help-*javadoc.zip'
}
}
}
}