Rename JenkinsFile to Jenkinsfile
This commit is contained in:
26
JenkinsFile
26
JenkinsFile
@@ -1,26 +0,0 @@
|
|||||||
pipeline {
|
|
||||||
agent any
|
|
||||||
stages {
|
|
||||||
stage('Compile'){
|
|
||||||
steps {
|
|
||||||
sh "mkdir -p bin"
|
|
||||||
sh "/tool/jdk1.6.0_45/bin/javac -target 1.5 -cp ./Lib/lwjgl.jar:./Lib/jinput.jar:./Lib/lwjgl_util.jar -d bin \$(find ./src/* | grep .java)"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage('Package'){
|
|
||||||
steps {
|
|
||||||
sh "echo $MANIFEST"
|
|
||||||
sh "echo $MANIFEST > manifest.txt"
|
|
||||||
dir("bin")
|
|
||||||
{
|
|
||||||
sh "/tool/jdk1.6.0_45/bin/jar cvfm ../CrossJeeves.jar ../manifest.txt ."
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}ge('Archive Artifacts')
|
|
||||||
{
|
|
||||||
steps{
|
|
||||||
archiveArtifacts artifacts: 'CrossJeeves.jar'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user