Compare commits

...

9 Commits
master ... test

Author SHA1 Message Date
AdamOsiowy123 673c7b33e0 fix
s444452-training/pipeline/head This commit looks good Details
s444452-evaluation/pipeline/head This commit looks good Details
2022-05-04 23:17:25 +02:00
AdamOsiowy123 e2ce30dd02 final
s444452-training/pipeline/head This commit looks good Details
s444452-evaluation/pipeline/head This commit looks good Details
2022-05-04 23:01:40 +02:00
AdamOsiowy123 ff2213ebe2 fix
s444452-training/pipeline/head This commit looks good Details
s444452-evaluation/pipeline/head This commit looks good Details
2022-05-04 22:50:53 +02:00
AdamOsiowy123 3e7986c73a fix
s444452-training/pipeline/head This commit looks good Details
s444452-evaluation/pipeline/head There was a failure building this commit Details
2022-05-04 22:46:44 +02:00
AdamOsiowy123 0a1cfb067c fix
s444452-training/pipeline/head This commit looks good Details
s444452-evaluation/pipeline/head This commit looks good Details
2022-05-04 22:33:58 +02:00
AdamOsiowy123 889665bf34 fix
s444452-training/pipeline/head This commit looks good Details
s444452-evaluation/pipeline/head There was a failure building this commit Details
2022-05-04 22:30:16 +02:00
AdamOsiowy123 58ee419a1b Merge branch 'master' of https://git.wmi.amu.edu.pl/s444452/ium_444452 into test
s444452-evaluation/pipeline/head There was a failure building this commit Details
2022-05-04 22:23:36 +02:00
AdamOsiowy123 bbab9942c0 Merge branch 'master' of https://git.wmi.amu.edu.pl/s444452/ium_444452 into test
s444452-evaluation/pipeline/head There was a failure building this commit Details
s444452-training/pipeline/head This commit looks good Details
2022-05-04 22:05:49 +02:00
AdamOsiowy123 4e75ac4554 test
s444452-training/pipeline/head This commit looks good Details
2022-05-04 20:46:50 +02:00
2 changed files with 13 additions and 6 deletions

View File

@ -18,7 +18,7 @@ node {
name: 'BUILD_SELECTOR'
),
string(
defaultValue: ".,14000,1,50,100",
defaultValue: ".,14100,3,50,100",
description: 'Test params: data_path,num_words,epochs,batch_size,pad_length',
name: 'TEST_PARAMS'
),
@ -33,9 +33,8 @@ node {
stage('Copy artifacts') {
copyArtifacts filter: 'train_data.csv', fingerprintArtifacts: true, projectName: 's444452-create-dataset'
copyArtifacts filter: 'test_data.csv', fingerprintArtifacts: true, projectName: 's444452-create-dataset'
git branch: "${params.BRANCH}", url: 'https://git.wmi.amu.edu.pl/s444452/ium_444452.git'
copyArtifacts filter: 'neural_network_evaluation.csv', projectName: "s444452-evaluation/${BRANCH}/", optional: true
copyArtifacts filter: 'model/neural_net', projectName: "s444452-training/${BRANCH}/", selector: buildParameter('BUILD_SELECTOR')
copyArtifacts filter: 'neural_network_evaluation.csv', projectName: "s444452-evaluation/${params.BRANCH}", optional: true
copyArtifacts filter: 'model/neural_net', projectName: "s444452-training/${params.BRANCH}", selector: buildParameter('BUILD_SELECTOR')
}
stage('Run script') {
withEnv(["TEST_PARAMS=${params.TEST_PARAMS}", "BUILD_NR=${params.BUILD_NR}"]) {

View File

@ -7,7 +7,7 @@ node {
pipelineTriggers([upstream(threshold: hudson.model.Result.SUCCESS, upstreamProjects: "s444452-create-dataset")]),
parameters([
string(
defaultValue: ".,14000,1,50,100",
defaultValue: ".,14100,3,50,100",
description: 'Train params: data_path,num_words,epochs,batch_size,pad_length',
name: 'TRAIN_PARAMS'
)
@ -41,7 +41,15 @@ def notifyBuild(String buildStatus = 'STARTED') {
def details = "Build nr: ${env.BUILD_NUMBER}, status: ${buildStatus} \n url: ${env.BUILD_URL} \n build params: ${params.TRAIN_PARAMS}"
if (buildStatus == 'SUCCESS') {
build job: "s444452-evaluation/${env.BRANCH_NAME}", parameters: [string(name: "TEST_PARAMS", value: "${params.TRAIN_PARAMS}"), string(name: "BUILD_NR", value: "${env.BUILD_NUMBER}")], wait: false
build (
job: "s444452-evaluation/${env.BRANCH_NAME}",
parameters: [
gitParameter(name: "BRANCH", value: "${env.BRANCH_NAME}"),
string(name: "TEST_PARAMS", value: "${params.TRAIN_PARAMS}"),
string(name: "BUILD_NR", value: "${env.BUILD_NUMBER}")
],
wait: false
)
}
emailext (