-
Notifications
You must be signed in to change notification settings - Fork 19
/
Jenkinsfile
57 lines (55 loc) · 1.97 KB
/
Jenkinsfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
@Library('deploy-conf')_
pipeline {
environment {
sunbird_api_key = "${sunbird_api_keys}"
content_store_api_base_url = "https://dev.sunbirded.org/api"
content_store_api_key="${sunbird_api_keys}"
sunbird_cassandra_host = "10.10.4.4"
sunbird_cassandra_port = "9042"
sunbird_cassandra_username = "cassandra"
sunbird_cassandra_keyspace = "sunbird"
sunbird_sso_username = "shailesh-admin"
sunbird_sso_password = "${sunbird_sso_passwords}"
sunbird_sso_realm = "sunbird"
sunbird_sso_client_id = "admin-cli"
sunbird_es_host = "10.10.3.7"
sunbird_es_port = "9300"
sunbird_es_index = "searchindex"
sunbird_test_base_url = "https://dev.sunbirded.org"
sunbird_sso_url="https://dev.sunbirded.org/auth"
sunbird_username="[email protected]"
sunbird_password="password"
sunbird_default_channel="ft_channel_01"
sunbird_test_email_address_1 = "[email protected]"
sunbird_test_email_address_2 = "[email protected]"
sunbird_content_id = "do_112728688963133440110506"
sunbird_user_framework_board = "CBSE"
file_upload_max_size=2
sunbird_user_framework_grade_level = "KG"
sunbird_user_framework_medium = "English"
sunbird_user_framework_subject = "English"
content_reviewer_user="[email protected]"
content_reviewer_password="password"
sunbird_user_framework_id="NCF"
}
agent { label "build-slave" }
stages {
stage("build") {
steps {
script{
try{
sh '''
cd sunbird_service_api_test
ls
mvn -X clean verify
'''
}
finally {
archiveArtifacts 'sunbird_service_api_test/target/target/citrus-reports/citrus-test-results.html'
email_notify("${kp_team_email_group}")
}
}
}
}
}
}