master
Fabio 2024-11-07 08:19:36 -03:00
parent 107e1f8732
commit 8b798d05c4
3 changed files with 18 additions and 7 deletions

View File

@ -12,7 +12,7 @@ import java.lang.annotation.Target;
*
*/
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
@Retention(RetentionPolicy.RUNTIME)
public @interface AuditarAtributo {
/**

View File

@ -9,7 +9,7 @@ public class FlyWayCustomDetail {
private Date datetimeExecute;
public FlyWayCustomDetail() {
super();
super();
}
public FlyWayCustomDetail(String version, String sql, String errorCode, Date datetimeExecute) {

View File

@ -2,6 +2,7 @@ def SETTINGS = "/var/jenkins_home/tools/apache-maven-3.6.0/settings.xml"
def ENCODE = "UTF-8"
def MODULO = "adm"
def TAG_SELECTOR = "UNINTIALIZED"
def changedLog = getChangedLog()
//======================================================================================================
def build(SETTINGS, ENCODE, jdk) {
@ -81,16 +82,16 @@ String getChangedFilesList() {
//======================================================================================================
@NonCPS
String getChangedLog() {
changedLog = ""
log = ""
for (changeLogSet in currentBuild.changeSets) {
for (entries in changeLogSet.getItems()) {
for (entry in entries) {
changedLog += "*Commit: ${entry.commitId}\n"
changedLog += "Message: ${entry.msg}\n"
log += "*Commit: ${entry.commitId}\n"
log += "Message: ${entry.msg}\n"
for (file in entry.getAffectedFiles()) {
changedLog += "${file.editType.name} - ${file.path}\n"
log += "${file.editType.name} - ${file.path}\n"
}
changedLog += "Author: ${entry.author} \n"
log += "Author: ${entry.author} \n"
}
}
}
@ -179,6 +180,15 @@ pipeline {
}
}
*/
stage('Build') {
steps {
script {
echo Auditador
echo changeset
}
}
}
stage('Build') {
steps {
script {
@ -189,6 +199,7 @@ pipeline {
}
}
}
stage('Test') {
steps {
echo "Em construção"